mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
8565cf58ac
FontBuilder adjusted font settings if reading font isn't available in the system. Now, we support empty string value of "font.name.*" which means default font in the system. If it's empty string, gfx checks default font from "font.name-list.*" at runtime. Therefore, resetting "font.name.*" to empty string is the best approach if specified font becomes not available (e.g., uninstalled from the system). Therefore, this patch replaces the code in FontBuilder.readFontSelection() with just returning empty string. MozReview-Commit-ID: HgR88Qw8Xwe --HG-- extra : rebase_source : 3878bf6a1c98ef7ba27c2cbdaaa9307061820f85 |
||
---|---|---|
.. | ||
changemp.js | ||
changemp.xul | ||
fontbuilder.js | ||
jar.mn | ||
moz.build | ||
removemp.js | ||
removemp.xul |