After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344003 - Fixed width font size ignored
Fixed width font size ignored
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: General
git master
Other All
: Normal minor
: ---
Assigned To: Yelp maintainers
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-06 12:23 UTC by Jan Kluka
Modified: 2006-06-06 19:44 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Jan Kluka 2006-06-06 12:23:38 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.
Comment 1 Don Scorgie 2006-06-06 18:01:55 UTC
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 :(
Comment 2 Don Scorgie 2006-06-06 19:44:02 UTC
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)