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 390523 - support relative font sizes in rc files
support relative font sizes in rc files
Status: RESOLVED DUPLICATE of bug 325767
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-12-29 01:07 UTC by Paul Pogonyshev
Modified: 2006-12-29 06:42 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Paul Pogonyshev 2006-12-29 01:07:22 UTC
Currently, font_name description says:

"Sets the font for a widget. font must be a Pango font name, e.g. "Sans Italic 10". For details about Pango font names, see pango_font_description_from_string()."

and that one says:

"...SIZE is an decimal number (size in points)."

It should be possible to specify size "larger than default" or "a little smaller than default."  Specifying absolute size will surely not work well with different themes and user preferences.  You can specify "<span size=\"x-large\">..." with Pango markup, but not in RC files.

(This is not filed against Pango, since there is [AFAIK] no default font size for Pango.)
Comment 1 Behdad Esfahbod 2006-12-29 06:42:34 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 325767 ***