Do not reply to this email. You can add comments to this bug at https://bugzilla.mozilla.org/show_bug.cgi?id=458169
--- Comment #25 from Karl Tomlinson (:karlt) <[EMAIL PROTECTED]> 2008-12-06 01:40:17 PST --- (In reply to comment #24) > (In reply to comment #22) > > I pushed this to m-c with one small change to the font used to find the > > FT_Library > > > > - new gfxPangoFontGroup(NS_LITERAL_STRING("\"sans-serif\""), > > + new gfxPangoFontGroup(NS_LITERAL_STRING("sans-serif"), > > > > so as to use mozilla default font (which is often the system default) > > instead > > of just the system default. I had intended to explain with an indefinite article here: "use _a_ mozilla default font", but managed to leave that out of the explanation. > Whether Mozilla's default is serif or sans-serif is controlled by the > font.default.[langGroup] preferences (and maybe also the font.default > preference). Yes. In this particular situation, the precise font is of little importantance, as all fonts will give us the same FT_Library. Using a default (generic) font is an attempt to avoid another font being opened through FreeType. You've made me aware that the default langGroup on the gfxFontStyle of "x-unicode" will cause the pref "font.name.sans-serif.x-unicode" to be used. The default value for this pref is "\"sans-serif\"", which would resolve to a font suitable for the language of the user's locale, but if the pref has been modified, it becomes more likely that it could be a font quite different from what would normally be used for their language from font.name.[generic].[langGroup from locale]. However, the issues here are not worth any extra code to look up preferences. -- Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Fedora-fonts-bugs-list mailing list Fedora-fonts-bugs-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list