GNOME Bugzilla – Bug 344003
Fixed width font size ignored
Last modified: 2006-06-06 19:44:02 UTC
Please describe the problem: The size of the fixed width font (whether system or custom set in Yelp's preferences) is ignored. The size of the variable width font is respected. Steps to reproduce: 1. Edit > Preferences 2. Uncheck Use system fonts 3. Press Ctrl-L, and paste, e.g., file:///usr/share/gnome/help/user-guide/C/user-guide.xml#x-yelp-titlepage into Location 4. Note the size of the font used to display email adresses. 5. Change the size of the fixed width font in Preferences. Actual results: The size of the fixed width font does not change. Expected results: The size of the fixed width font changes. Does this happen every time? always Other information: Ubuntu 6.06 Dapper Drake. Yelp is linked against libgtkembedmoz.so from Firefox 1.5.0.3.
Confirming. More visible when trying to view info pages (which are all fixed-width). Changing the font type works, but the size stays the same no matter what. Works okay in epiphany, so it's something yelp is doing wrong. Had a look through the relevant code, but couldn't see anything obviously wrong :(
What yelp was doing wrong was changing the gecko font type 'monospace' (which doesn't exist) instead of 'fixed' (which does). Fixed in CVS. Closing. 2006-06-06 Don Scorgie <dscorgie@cvs.gnome.org> * src/yelp-gecko-utils.cpp: Make monospace fonts change size when asked (bug #344003)