Closed
Bug 92925
Opened 24 years ago
Closed 23 years ago
Mozilla does not follow GTK prefs on fonts
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
People
(Reporter: david.hagood, Assigned: dbaron)
Details
Attachments
(1 file)
102.57 KB,
image/png
|
Details |
Mozilla stedfastly refuses to change what font it uses for menus outside of HTML
frame (such as the main menu).
I can change my GTK theme settings under Gnome, and all other GTK apps change
their menu fonts to track. Mozilla keeps its own font no matter what. This is
very annoying on my 1600x1200 display where I want Mozilla to use a slightly
larger scalable font so the menus look better.
I have tried telling both my X server and Mozilla about the larger display with
no effect.
There should be a menu option in Mozilla to track the current GTK theme.
Comment 1•24 years ago
|
||
over to xp apps. David, would this be at all similar to the "system colors"
thing we do?
Assignee: asa → blake
Status: UNCONFIRMED → NEW
Component: Browser-General → XP Apps: GUI Features
Ever confirmed: true
QA Contact: doronr → sairuh
Assignee | ||
Comment 2•24 years ago
|
||
This probably ought to work under the Classic skin, since the idea of classic is
to use system fonts and colors. I've tried to understand how we do system fonts
before (in particular, I've looked at sizes), and I just couldn't figure out
what the code was doing. I think some of it lives in nsDeviceContext rather
than nsLookAndFeel, though.
It would also be nice if we picked up the notifications instantaneously rather
than requiring a restart. To do that, I guess someone would need to poke into
GTK and figure out how the native widgets get notified.
So which problem exactly is this bug about?
Reporter | ||
Comment 3•24 years ago
|
||
This problem exists under both the Modern and Classic skins.
With respect to the "Use system colors" item in the prefs - that is controlled
by the Gnome control panel, however it does not take effect immediately. Mozilla
must be restarted.
However, no matter what the settings, Mozilla uses it's own font for:
The main menu (File Edit View Search ....)
The Mail screen "Mail Folders" and message list windows (but not the message
content window. (in other words, the panes at the left and top-right of the
window, but not at bottom-right).
All menus (Prefs, Bookmarks, Tasks, you name it.)
I could live with having to restart Mozilla to make a change "take", but
obviously it would be best if the changes happened "live".
Assignee | ||
Comment 4•24 years ago
|
||
Well, the first step would be to implement system fonts for the GTK port, since
they don't work right now. (Do they work on other ports?)
http://www.people.fas.harvard.edu/~dbaron/css/test/sec1803
Comment 5•23 years ago
|
||
I don't use Linux, so...
Assignee: blakeross → pchen
Component: XP Apps: GUI Features → XP Apps
Comment 6•23 years ago
|
||
Is this still a problem? David has checked in Linux system font support....
Comment 7•23 years ago
|
||
Assignee | ||
Comment 9•23 years ago
|
||
Is the default font that Mozilla isn't picking up a TrueType font, a PostScript
font, or a bitmap font? Any idea which font?
Assignee: jaggernaut → dbaron
Comment 10•23 years ago
|
||
In the case shown in the attachment, GTK is using
-Adobe-Helvetica-Medium-R-Normal--18-180-75-75-P-98-ISO8859-9
which is a Type 1 font.
However, it shouldn't matter much, as I'm using a TrueType aware XFS for my font
needs.
Comment 11•23 years ago
|
||
OK, this is weird. Without any changes in my system that I am aware of, Mozilla
has started tracking my GTK font settings. Perhaps I had a mozilla process
laying around that was preventing the new one from starting (though I though I'd
done a killall mozilla-bin).
I'm willing to call this one dead.
However, it would be nice if there was some form of debugging command wherein I
could point at a piece of text and ask Mozilla "What font ARE you using for
that?" I've had a few (so called) Web sites that insisted that the whole world
had the same MS fonts as they did, and as a result looked bad on my Linux
install. Asking Mozilla what font it was trying to get, and what font it
actually got would be a useful debugging aid.
Assignee | ||
Comment 12•23 years ago
|
||
The bug as originally reported was a duplicate, and the other issues seem to be
fixed.
*** This bug has been marked as a duplicate of 33313 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 14•23 years ago
|
||
please the environment variable NS_FONT_DEBUG=5, do a minimal run
(eg: ./mozilla http://some.website.com/some_content.html), capture the output,
and attach it to this bug
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•