Closed
Bug 222870
Opened 22 years ago
Closed 20 years ago
Does not use "style" font_name, only gtk-font-name
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 232492
People
(Reporter: petter.sundlof, Assigned: blizzard)
References
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031010 Debian/1.4-6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031010 Debian/1.4-6
Mozilla GTK2 doesn't listen to
{
font_name="tahoma 9"
(...) for UI font.
It only cares about gtk-font-name = "tahoma 9".
in ~/gtkrc-2.0
Reproducible: Always
Steps to Reproduce:
| Assignee | ||
Comment 1•22 years ago
|
||
I'm sorry, can you explain this a little better? I'm not sure what the problem is.
Blocks: gtk2
| Reporter | ||
Comment 2•22 years ago
|
||
Mozilla doesn't read font specification of this kind
style "user-font"
{
font_name="tahoma 9"
(STUFF)
}
widget_class "*" style "user-font"
in ~/.gtkrc-2.0.
It only respects gtk-font-name = "tahoma 9".
GTK2 applications listen to
style "user-font"
{
font_name="tahoma 9"
Comment 3•20 years ago
|
||
AFAIK, Mozilla doesn't listen for anything but 'style_set' (which is horrible,
it should use gtk-theme-change and friends, which - as opposed to style_set -
isn't fired 9 times in a row, forcing LookAndFeel to re-read all color and style
properties 9 times every time we get a style_set signal from GTK - or so it
appears).
Theme (as in colors) are applied, but font changes seem to be overridden or
discarded. This does not seem to be a problem with Gtk1 (in Mozilla 1.7.12).
~/.gtkrc-2.0 (font-related bits anyway):
style "user-font"
{
font_name="Impact 14"
}
widget_class "*" style "user-font"
~/.gtkrc:
style "user-font"
{
font="-monotype-impact-medium-r-condensed-*-*-140-*-*-p-*-microsoft-cp1251"
}
widget_class "*" style "user-font"
Severity: minor → normal
Status: UNCONFIRMED → NEW
Component: GFX: Gtk → Widget: Gtk
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Comment 5•20 years ago
|
||
(In reply to comment #4)
> Theme (as in colors) are applied, but font changes seem to be overridden or
> discarded. This does not seem to be a problem with Gtk1 (in Mozilla 1.7.12).
Isn't this the /exact/ same thing that was said in comment 0 and comment 2?
Please don't change the OS field to 'All' when this clearly is a GTK2-only bug.
Severity: normal → minor
OS: All → Linux
(In reply to comment #5)
> Isn't this the /exact/ same thing that was said in comment 0 and comment 2?
I didn't see anyone say anything about Gtk1.
> Please don't change the OS field to 'All' when this clearly is a GTK2-only bug.
Gtk2 doesn't only apply to Linux.
Comment 7•20 years ago
|
||
(In reply to comment #6)
> Gtk2 doesn't only apply to Linux.
I have yet to see any GTK2 Mozilla builds for Windows/Mac (it would be cool,
though).
*** This bug has been marked as a duplicate of 232492 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•