Jin-Hwan Cho wrote:
On Aug 19, 2005, at 7:19 AM, Hans Hagen wrote:
ctxtools --dpxmapfiles --force texmf ctxtools --dpxmapfiles --force texmf-local ctxtools --dpxmapfiles --force texmf-fonts will generate them, don't forget to mktexlsr btw, (new)texexec will automatically run dvipdfmx
ctxtools does not make right font mapping files. Especially for slanted fonts, it ignores "-s" slant option. For example, in texnansi-urw-palatino.map,
texnansi-raw-uplr8a-slanted-167 URWPalladioL-Roma "0.167 SlantFont" 4 < uplr8a.pfb texnansi.enc
is converted to
texnansi-raw-uplr8a-slanted-167 texnansi uplr8a
But the right one is
texnansi-raw-uplr8a-slanted-167 texnansi uplr8a -s .167
Does ctxtool use the same technique as updmap? Or, my teTeX (fink version) is old?
i dunno about updmap, never used it; currently i load map files automatically in dvipdfmx (i could get the mapline special working) i didn't know the exact dvipdfmx mapfile syntax -) we can add a slant as follows: encoding = if line =~ /([a-z0-9\-]+)\.enc/io then $1 else '' end fontfile = if line =~ /([a-z0-9\-]+)\.(pfb|ttf)/io then $1 else nil end metrics = if line =~ /^([a-z0-9\-]+)[\s\<]+/io then $1 else nil end slant = if line =~ /\"([\d\.]+)\s+SlantFont\"/io then "-s "#{$1}" else '' end if metrics && encoding && fontfile then n += 1 "#{metrics} #{encoding} #{fontfile} #{slant}" else '' end 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 -----------------------------------------------------------------