X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["2398" "Thu" "23" "September" "1999" "17:14:07" "+0200" "Lars =?iso-8859-1?Q?Hellstr=F6m?=" "Lars.Hellstrom@MATH.UMU.SE" nil "48" "Left italic correction and fontdimens" "^Date:" nil nil "9" nil nil nil nil nil] nil) Received: from mail.listserv.gmd.de (mail.listserv.gmd.de [192.88.97.5]) by mail.Uni-Mainz.DE (8.8.8/8.8.8) with ESMTP id RAA18771 for ; Thu, 23 Sep 1999 17:14:20 +0200 (MET DST) Received: from mail.listserv.gmd.de (192.88.97.5) by mail.listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <10.879A1CDE@mail.listserv.gmd.de>; Thu, 23 Sep 1999 17:14:16 +0200 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 444884 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Thu, 23 Sep 1999 17:14:16 +0200 Received: from abel.math.umu.se (abel.math.umu.se [130.239.20.139]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id RAA03862 for ; Thu, 23 Sep 1999 17:14:15 +0200 (MET DST) Received: from [130.239.20.144] (mac144.math.umu.se [130.239.20.144]) by abel.math.umu.se (8.9.2/8.9.2) with ESMTP id RAA00345 for ; Thu, 23 Sep 1999 17:12:05 +0200 (CEST) X-Sender: lars@abel.math.umu.se Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by relay.urz.uni-heidelberg.de id RAA03863 Message-ID: Reply-To: Mailing list for the LaTeX3 project Date: Thu, 23 Sep 1999 17:14:07 +0200 From: Lars =?iso-8859-1?Q?Hellstr=F6m?= Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Left italic correction and fontdimens Status: R X-Status: X-Keywords: X-UID: 3333 A while back, on the fontinst mailing list, it was noticed that there are fonts (the concrete case was some italic fonts on the Bitstream 500 CD) which seem to have a built-in optical justification of the margin, i.e., if you were to unslant such a font while keeping the reference points of character boxes fixed then the left sidebrearings would become visibly smaller than in the corresponding upright font. The advantage with this would be to make the margins of italic paragraphs align optically with the margins of upright paragraphs; with most fonts they don't align. (Exercise 14.16 in The TeXbook is about achieving the same effect by fiddling with \leftskip and \rightskip, but having it built into the fonts makes life much simpler for LaTeX.) The problem with such fonts come when you change to it from upright inside a paragraph, e.g. ... either \emph{horizontally} or ... or even ... the superthings (\emph{maximal} gadgets with ... There should be some kern inserted---an italic correction to the left of the italic material. As TeX only has italic corrections to the right of characters, that mechanism will not suffice here. One thing which could be done is to have a fontdimen which is interpreted as an italic correction to the left, common to all characters in the font---then high-level font changing commands (like \textit) could insert a kern of this size, just like they currently make italic corrections to the right. But clearly, this is a suggestion for some (probably) distant future. I do not expect to see any implementations soon. BTW, thinking of the above also made me think about fontdimens in general. I noticed in the slides from TUG99 that LaTeX2e* will have symbolic names for at least some of these, and there is clearly a need for this. Another thing needed is the ability to test whether a font has a given fontdimen. It would be neat if one in FD files could set, for a font family and for fonts individually, something which would act as "the set of fontdimens available for this font", perhaps like one today can set the hyphenchar of the font. This would be friendly to extensions in this area. Finally, I'm eagerly avaiting template.dtx (or whatever you will call it). I think templates might provide an elegant solution to some problems with font selection in LaTeX2e, but it's hard to tell just judging from the slides. Lars Hellström