Tgif Home
----
About Tgif
Current Release & Download
FAQ
Copyright Info
A Screendump of Tgif
Release History
Tools That Tgif Uses
Tools That Work with Tgif
Author of Tgif
Miscellaneous Info
----
 
Return to Tgif's Home Page
William Chia-Wei Cheng
(bill.cheng@usc.edu)
 

Tgif FAQ - PostScript Glyphs

 
Is there a way to get curly quotes (PostScript glyphs such as quotedblleft, quotedblbase, quotedblright etc.) in text?
[from Johan Vromans <JVromans@squirrel.nl>]

Tgif treats texts and fonts by default according to ISO 8859.1 (Latin-1), not Adobe's Standard encoding vector.

To get the font in Standard encoding, it first must be made known to the X server as such, for example (in fonts.scale and fonts.dir):

    Garamond-Bold.pfb -adobe-garamond-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
    Garamond-BoldItalic.pfb -adobe-garamond-bold-r-normal--0-0-0-0-p-0-adobe-fontspecific
    Garamond-Light.pfb -adobe-garamond-light-r-normal--0-0-0-0-p-0-adobe-fontspecific
    Garamond-LightItalic.pfb -adobe-garamond-light-i-normal--0-0-0-0-p-0-adobe-fontspecific
Add these fonts to Tgif (in .Xdefaults):
    Tgif.AdditionalFonts: \n\
        garamond-light-r-normal,adobe-fontspecific,Garamond-Light\n\
        garamond-bold-r-normal,adobe-fontspecific,Garamond-Bold\n\
        garamond-light-i-normal,adobe-fontspecific,Garamond-LightItalic\n\
        garamond-bold-i-normal,adobe-fontspecific,Garamond-BoldItalic
Also, instruct Tgif to not re-encode (see below) this font (in .Xdefault):
    Tgif.DontReencode: Garamond
Normally, tgif re-encodes characters in the 0200-0377 (octal) range for a font automatically. Adding the font name to the Tgif.DontReencode list turns off re-encoding for that font.

With the above settings, <Esc>-8 will insert the desired curly quotes, and they should show and print correctly.