Can truetype fonts be used from within tgif? How do you tell tgif what
fonts to use?
I have a pdf file which uses the Tork font. I can display it fine with
xpdf. I created the file with open-office.
I have used the Tgif.AdditionalFonts X default to let tgif know about
this font, and that works as well (details below).
But the pdf file that tgif outputs doesn't show the Tork font.
The interesting part is that pdffonts(1) says about the file generated by
open-office:
DAAAAA+Tork TrueType yes yes yes 118 0
but the one generated by tgif is:
YHHGBJ+torkb___ Type 1C yes yes no 9 0
Presumably my .Xdfaults are wrong:
Tgif.AdditionalFonts: \n\
tork-medium-r-normal,iso10646-1,tork____\n\
tork-bold-r-normal,iso10646-1,torkb___\n\
tork-medium-i-normal,iso10646-1,torkbi__\n\
tork-bold-i-normal,iso10646-1,torki___
Because:
/usr/X11R6/lib/X11/fonts/truetype/tork____.ttf
/usr/X11R6/lib/X11/fonts/truetype/torkb___.ttf
/usr/X11R6/lib/X11/fonts/truetype/torkbi__.ttf
/usr/X11R6/lib/X11/fonts/truetype/torki___.ttf
which yields (somehow)(from xlsfonts(1)):
-larabiefonts-tork-bold-i-normal--0-0-0-0-p-0-iso10646-1
-larabiefonts-tork-bold-o-normal--0-0-0-0-p-0-iso10646-1
-larabiefonts-tork-bold-r-normal--0-0-0-0-p-0-iso10646-1
-larabiefonts-tork-medium-i-normal--0-0-0-0-p-0-iso10646-1
-larabiefonts-tork-medium-o-normal--0-0-0-0-p-0-iso10646-1
-larabiefonts-tork-medium-r-normal--0-0-0-0-p-0-iso10646-1
Is it obvious what I'm doing wrong?


|