gecko-dev/toolkit/mozapps/preferences
Masayuki Nakano 8565cf58ac Bug 1344990 part.4 FontBuilder.readFontSelection() should return empty string when saved font isn't available r=jaws
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
2017-03-29 23:55:37 +09:00
..
changemp.js Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs 2017-01-17 09:48:17 -06:00
changemp.xul
fontbuilder.js Bug 1344990 part.4 FontBuilder.readFontSelection() should return empty string when saved font isn't available r=jaws 2017-03-29 23:55:37 +09:00
jar.mn Bug 1204154 - Clean up jar manifests that needlessly specify the source file. r=dao 2015-09-15 18:33:57 -07:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
removemp.js Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8 2017-03-21 14:29:43 -04:00
removemp.xul