Times, Courier and Helvetica are hardcoded in the preference(all.js). These fonts are not free and they are Type 1 fonts. On some platforms(like Solaris), TrueType fonts should be used instead. Replace the preferences with serif, sans-serif, monospace. The platforms will resolve the fonts to the corresponding ones.
Created attachment 244872 [details] [diff] [review] Patch v1
Comment on attachment 244872 [details] [diff] [review] Patch v1 I am not the right person to review this patch, please ask jshin. But isn't the whole point of these prefs to set the *default* font used for serif/sans-serif/monospace? I certainly don't have a font named "sans-serif" on my system.
This patch just sets the prefs to select the default font, not Times, Courier and Helvetica. XFT will handle the font selection by using this patch.
jshin, any suggestions for this patch?
roc, opinions for this patch?
Karl, didn't you just write a patch like this?
Thanks. Exact same patch from here was checked in: https://bugzilla.mozilla.org/show_bug.cgi?id=379886#c5
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Depends on: 379886
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.