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@acm.org)
 

Tgif FAQ - System-specific Problems

 
I just switched to Fedora 8. When I run tgif, it complained about Fatal Error in OpenFont(): Cannot open the RulerFont '-*-courier-medium-r-normal-*-10-*-*-*-*-*-iso8859-1'. Under xfontsel, Courier-10 is not available. What should I do?
Long time ago, standard Adobe fonts such as Courier, Helvetica, Times, etc. were available in all sizes (as scalable fonts) by default on Red Hat Linux (and probably early Fedora releases). Looks like newer Fedora releases do not make the standard Adobe fonts available in all sizes.

To get around the problem, you can use X resources to override the default settings. For example, you can try using the following X default:

Tgif.RulerFontSize: 11
If the only font sizes that are available are 11, 14, 17, 20, 25, and 34, you can use the following X default:
Tgif.FontSizes: 11 14 17 20 25 34
However, if you do this, when you need other font sizes, you will need to use SetSelectedFontSize under the Properties Menu to enter a new font size.

Under newer Fedora releases, I'm starting to use the scalable Utopia fonts. To add Utopia fonts to tgif, you can use the following X default:

Tgif.AdditionalFonts: \n\
utopia-medium-r-normal,iso8859-1,Utopia-Regular \n\
utopia-bold-r-normal,iso8859-1,Utopia-Bold \n\
utopia-medium-i-normal,iso8859-1,Utopia-Italic \n\
utopia-bold-i-normal,iso8859-1,Utopia-BoldItalic
 
I'm running SuSE Linux and when I try to use Times-20 font, I get a message saying that Times-20 font is not available. Can this be fixed?
On some Linux systems, scalable fonts from Adobe are not longer available. (It's probably due to some copyright issues.) However, you can use URW fonts instead of Adobe fonts. Please find urw-fonts-*.rpm from your installation CD and install it on your system. Also, please make sure that you either
a) do not have Tgif.FontNamePrefix specified in your X resource file; or
b) use the following X default:
Tgif.FontNamePrefix: -*
I'm running Red Hat 9.0 and tgif has trouble copying and pasting. What's going on?
This is a bug in tgif. Tgif implements copy and paste using a fairly old mechanism. One day, I'll figure out how to get it fixed!

For now, to get around this problem, please try the following.

  1. Run klipper
  2. Select Configure Klipper from the klipper menu
  3. Make sure the Prevent empty clipboard checkbox is not checked
  4. Make sure Separate clipboard and selection is chosen in Clipboard/Selection Behavior
  5. Click on OK