Closed
Bug 220278
Opened 22 years ago
Closed 3 years ago
Configure Mozilla GUI fonts with Mozilla-specific gtkrc file
Categories
(Core :: Widget: Gtk, enhancement)
Core
Widget: Gtk
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: hhoetzel, Unassigned)
Details
(Keywords: intl)
Attachments
(1 file)
|
724 bytes,
patch
|
bryner
:
review+
blizzard
:
superreview-
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; AIX 000770094C00; en-US; rv:1.4) Gecko/20030915
Build Identifier:
I would like to be able to customize the Mozilla GUI fonts on a system wide
level. I mean the fonts for the GUI like the browser menu bar, pulldowns and so
on and not the fonts to display documents in the browser which can be customized
through Preferences->Appearance->Fonts.
This is especially important for non English versions of Mozilla where the
system default fonts might not be the best choice.
I can use a user specific .gtkrc file or a system wide gtkrc file, but these
would affect other applications as well which might not be desirable.
My suggestion is to call the gtk_rc_add_default_file function before gtk_init is
called to add a Mozilla specific gtkrc file which can be specified in an
environment variable. This file will then be parsed by gtk_init in addition to
the default gtkrc files.
I will add an attachment that does this.
Reproducible: Always
Steps to Reproduce:
Comment 1•22 years ago
|
||
.
Assignee: general → blizzard
Component: Browser-General → GFX: Gtk
QA Contact: general → ian
| Reporter | ||
Comment 2•22 years ago
|
||
Added patch to call gtk_rc_add_default_file with environment variable
MOZILLA_GTKRC. The environment variable should be set to the location of the
gtkrc file, for example,
export MOZILLA_GTKRC="chrome/gtk/gtkrc
if the gtkrc file is located in the chrome/gtk subdirectory of a mozilla
installation.
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Reporter | ||
Updated•22 years ago
|
Attachment #132150 -
Flags: superreview?(blizzard)
Attachment #132150 -
Flags: review?(bryner)
Comment 3•22 years ago
|
||
Comment on attachment 132150 [details] [diff] [review]
Add Mozilla gtkrc file through MOZILLA_GTKRC environment variable
That's going to affect gtk2 as well.
Attachment #132150 -
Flags: superreview?(blizzard) → superreview-
| Reporter | ||
Comment 4•22 years ago
|
||
The gtkrc file still exists in gtk2 and the code change is within the
MOZ_WIDGET_GTK || MOZ_WIDGET_GTK2 ifdef so that should be fine.
The syntax in the gtkrc file changes between gtk1 and gtk2, but this code change
only adds the ability to have a Mozilla specific gtkrc file. It does not specify
the gtkrc file itself.
Comment 5•22 years ago
|
||
Comment on attachment 132150 [details] [diff] [review]
Add Mozilla gtkrc file through MOZILLA_GTKRC environment variable
Yeah, that seems fine to me, unless blizzard means that there's a preferred
mechanism for doing this in gtk2 (I couldn't find one).
Attachment #132150 -
Flags: review?(bryner) → review+
Comment 6•18 years ago
|
||
Mary, is that patch still up-to-date with trunk?
Assignee: blizzard → nobody
Component: GFX: Gtk → Widget: Gtk
OS: AIX → All
QA Contact: ian → gtk
Hardware: Other → All
Updated•3 years ago
|
Severity: normal → S3
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•