Closed
Bug 51346
Opened 24 years ago
Closed 24 years ago
'Classic' theme doesn't use all system fonts
Categories
(SeaMonkey :: Themes, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.8
People
(Reporter: karl, Assigned: hewitt)
References
Details
I know 'Classic' tries to imitate ordinary Windows programs, but is it possible
to make it use 'Arial' instead of 'MS Sans Serif' as the font. These two fonts
are *very* similar (most users wouldn't notice a difference), but with one
important difference -- 'Arial' contains more characters.
The reason I ask for this, is that I'm localizing Mozilla into Norwegian, and
some characters don't display in 'Classic' (they do in 'Modern'). Examples are:
U+0152 ("OE ligature" -- Œ)
U+0153 ("oe ligature" -- œ (the same letter that is used in encyclopœdia))
U+2039 (quotation mark)
U+2026 (ellipsis)
U+2022 (bullet)
U+2013 (en-dash)
Actually, they're displayed as vertical bars (instead of being substituted with
a character from a different font).
My Classic skin uses Tahoma, not MS Sans Serif (and my Windows settings are
also Tahoma). Perhaps your system uses MS Sans Serif for its Windows font
settings?
Comment 2•24 years ago
|
||
Last I heard, Mozilla was using CSS2 system fonts. On Windows 95/98, that means
MS Sans Serif unless you specify otherwise; on Windows 2000, that means Tahoma
unless you specify otherwise. If your system is set to a font which doesn't have
these characters, isn't that a problem with your setup rather than with Mozilla?
Ben?
Reporter | ||
Comment 3•24 years ago
|
||
Well, that's the strange thing. I've set all my fonts in 'Properties'
| 'Appearance' to Verdana and Zurich, but I still get 'MS Sans Serif' (M17).
Comment 4•24 years ago
|
||
huftis@bigfoot.com - still seeing this problem? You really should have better
Bugzilla permissions... fixed.
Gerv
Reporter | ||
Comment 5•24 years ago
|
||
Reopening. I can still see this bug in M18 (I haven't tried any later builds).
But I've found what's causing it. Nowhere does it say what font to use for
menus. You'll have to chane this style rule in 'menu.css':
----------
menubar
{
background-color : threedface;
}
----------
to
----------
menubar
{
font : menu;
background-color : threedface;
}
----------
I've also found another similar bug that can be fixed at the same time (just a
simple one line fix). Change this style rule in 'toolbar.css':
----------
toolbar
{
background-color : threedface;
min-width : 1px; // DON'T DELETE. Removes disappearance of scrollbars in content
pane when window is made smaller.
// Talk to evaughan@netscape.com for details.
}
----------
to
----------
toolbar
{
font : icon;
background-color : threedface;
min-width : 1px; // DON'T DELETE. Removes disappearance of scrollbars in content
pane when window is made smaller.
// Talk to evaughan@netscape.com for details.
}
----------
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 6•24 years ago
|
||
Changing summary and adding mozilla0.9 keyword (as mentioned, this is really
easy to fix).
Keywords: mozilla0.9
Summary: 'Classic' theme should use Arial → 'Classic' theme doesn't use all system fonts
Comment 8•24 years ago
|
||
Current build WORKSFORME so far as menu text is concerned. The default font
for widgets is wrong however, it should be message-box so that all dialogs and
labels are at least legible in higher resolutions.
Reporter | ||
Comment 9•24 years ago
|
||
In my latest build, 2001-01-04 (04), the system menu font is used (for menus)
in the 'Modern' theme, but not in 'Classic'.
Comment 10•24 years ago
|
||
Yes, I saw this on Windows 98, build approx. December 28. Mozilla used MS Sans
Serif for its menus, when every other program was using Trebuchet.
-->Themes.
Assignee: ben → hewitt
Component: User Interface: Design Feedback → Themes
QA Contact: mpt → pmac
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P2
Comment 12•24 years ago
|
||
*** Bug 51748 has been marked as a duplicate of this bug. ***
Comment 13•24 years ago
|
||
*** Bug 62779 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla0.8
Assignee | ||
Comment 14•24 years ago
|
||
*** Bug 66509 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 15•24 years ago
|
||
*** Bug 66512 has been marked as a duplicate of this bug. ***
Comment 16•24 years ago
|
||
I think that to get the menu font to be correct one it's better make this
change:
in menu.css
----------
menu, menuitem
{
vertical-align : middle;
}
----------
to
----------
menu, menuitem
{
vertical-align : middle;
font : menu;
}
----------
and another things --
concerning tooltips
in menu.css
----------
.tooltip
{
background-color : infobackground;
border : 1px solid windowframe;
color : infotext;
padding : 2px;
max-width : 40em;
}
----------
to
----------
.tooltip
{
background-color : infobackground;
border : 1px solid windowframe;
color : infotext !important;
padding : 2px;
max-width : 40em;
font-weight : bold;
}
----------
I wonder why it doesn't work without !important, but it is!
And I wonder why adding "font: info" doesn't do what it supposed to, so I can't
managed to use the system font for the tooltip...
concerning taskbar font
in button.css
----------
.button-toolbar-4
{
background-color : transparent;
-moz-binding : url
("chrome://global/content/xulBindings.xml#buttonleft");
min-width : 0px;
margin : 0px;
border : 1px solid transparent;
-moz-user-focus : ignore;
}
----------
to
----------
.button-toolbar-4
{
background-color : transparent;
-moz-binding : url
("chrome://global/content/xulBindings.xml#buttonleft");
min-width : 0px;
margin : 0px;
border : 1px solid transparent;
-moz-user-focus : ignore;
font : icon;
}
----------
concerning status bar font
in global.css
----------
statusbarpanel
{
border-left : 1px solid threedhighlight;
border-top : 1px solid threedhighlight;
border-right : 1px solid threedshadow;
border-bottom : 1px solid threedshadow;
padding : 0px 4px 0px 4px;
}
----------
to
----------
statusbarpanel
{
border-left : 1px solid threedhighlight;
border-top : 1px solid threedhighlight;
border-right : 1px solid threedshadow;
border-bottom : 1px solid threedshadow;
padding : 0px 4px 0px 4px;
font : icon;
}
----------
concerning comboboxes font
in menulist.css
----------
menulist > menupopup > menuitem
{
padding : 0px 7px !important;
min-width : 0px; /* should be in content*/
max-width : none; /* should be in content*/
border : 1px solid window;
}
----------
to
----------
menulist > menupopup > menuitem
{
padding : 0px 7px !important;
min-width : 0px; /* should be in content*/
max-width : none; /* should be in content*/
border : 1px solid window;
font : pull-down-menu;
}
----------
Assignee | ||
Comment 17•24 years ago
|
||
The fix for this bug is lumped in with the patch in bug 57429. I apologize for
the lack of separation, but it was easiest for me to fix all my classic bugs in
one fell swoop.
Assignee | ||
Comment 18•24 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 19•24 years ago
|
||
Marking verified on windows (2001-02-02-10-Mtrunk).
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•