[NTG-pdftex] kerning

Hans Hagen pragma at wxs.nl
Wed Jun 1 10:12:01 CEST 2005


Hi,

Given those future font capabilities of pdftex (thanh: what happened with your 
construct fonts on the fly feature?), i wonder if it is possible to add something

\kernfont\somefont <char code 1> <charcode 2> <dimen>

Take for instance:

   http:\\www.pdftex.org

here the \\ may come out pretty spaced, and space can be saved by something:

   \def\url#1{\begingroup\kernfont\font `\ `\ -.2em\relax#1\endgroup}

(i soppose that something like this woudl be possible with thanhs new runtime 
font feature anyway)


Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-pdftex mailing list