mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 21:33:43 +00:00
Use a better looking font on the Mac
This commit is contained in:
parent
8ad023962d
commit
eef6abc8c4
@ -67,12 +67,21 @@ HandleImageButtonEvent(nsGUIEvent *aEvent)
|
||||
|
||||
//------------------------------------------------------------
|
||||
nsImageButton::nsImageButton() : ChildWindow(), nsIImageButton(),
|
||||
#ifdef XP_MAC //temporary: we should use CSS for platform-specific rendering
|
||||
mFont("geneva",
|
||||
NS_FONT_STYLE_NORMAL,
|
||||
NS_FONT_VARIANT_NORMAL,
|
||||
NS_FONT_WEIGHT_NORMAL,
|
||||
0,
|
||||
9)
|
||||
#else
|
||||
mFont("Sans",
|
||||
NS_FONT_STYLE_NORMAL,
|
||||
NS_FONT_VARIANT_NORMAL,
|
||||
NS_FONT_WEIGHT_NORMAL,
|
||||
0,
|
||||
13)
|
||||
#endif
|
||||
{
|
||||
NS_INIT_REFCNT();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user