Remove default preferences associated with freetype2 code, which was used only by the old gfx code, and with other previously-removed X11 font code. b=389697 r+a1.9=vlad

This commit is contained in:
dbaron@dbaron.org 2007-09-27 13:45:31 -07:00
Родитель 7e642cf6bb
Коммит ab2ba99db6
1 изменённых файлов: 0 добавлений и 114 удалений

Просмотреть файл

@ -2320,120 +2320,6 @@ pref("font.default.zh-HK", "sans-serif");
pref("font.size.variable.zh-HK", 16);
pref("font.size.fixed.zh-HK", 16);
// below a certian pixel size outline scaled fonts produce poor results
pref("font.scale.outline.min", 6);
// TrueType
pref("font.FreeType2.enable", false);
pref("font.freetype2.shared-library", "libfreetype.so.6");
// if libfreetype was built without hinting compiled in
// it is best to leave hinting off
pref("font.FreeType2.autohinted", false);
pref("font.FreeType2.unhinted", true);
// below a certian pixel size anti-aliased fonts produce poor results
pref("font.antialias.min", 10);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 64);
pref("font.scale.tt_bitmap.dark_text.gain", "0.8");
// sample prefs for TrueType font dirs
//pref("font.directory.truetype.1", "/u/sam/tt_font1");
//pref("font.directory.truetype.2", "/u/sam/tt_font2");
//pref("font.directory.truetype.3", "/u/sam/tt_font3");
pref("font.FreeType2.printing", true);
// below a certain pixel size anti-aliased bitmap scaled fonts
// produce poor results
pref("font.scale.aa_bitmap.enable", true);
pref("font.scale.aa_bitmap.always", false);
pref("font.scale.aa_bitmap.min", 6);
pref("font.scale.aa_bitmap.undersize", 80);
pref("font.scale.aa_bitmap.oversize", 120);
pref("font.scale.aa_bitmap.dark_text.min", 64);
pref("font.scale.aa_bitmap.dark_text.gain", "0.5");
pref("font.scale.aa_bitmap.light_text.min", 64);
pref("font.scale.aa_bitmap.light_text.gain", "1.3");
pref("font.scale.bitmap.min", 12);
pref("font.scale.bitmap.undersize", 80);
pref("font.scale.bitmap.oversize", 120);
pref("font.scale.outline.min.ja", 10);
pref("font.scale.aa_bitmap.min.ja", 12);
pref("font.scale.aa_bitmap.always.ja", false);
pref("font.scale.bitmap.min.ja", 16);
pref("font.scale.bitmap.undersize.ja", 80);
pref("font.scale.bitmap.oversize.ja", 120);
pref("font.scale.outline.min.ko", 10);
pref("font.scale.aa_bitmap.min.ko", 12);
pref("font.scale.aa_bitmap.always.ko", false);
pref("font.scale.bitmap.min.ko", 16);
pref("font.scale.bitmap.undersize.ko", 80);
pref("font.scale.bitmap.oversize.ko", 120);
pref("font.scale.outline.min.zh-CN", 10);
pref("font.scale.aa_bitmap.min.zh-CN", 12);
pref("font.scale.aa_bitmap.always.zh-CN", false);
pref("font.scale.bitmap.min.zh-CN", 16);
pref("font.scale.bitmap.undersize.zh-CN", 80);
pref("font.scale.bitmap.oversize.zh-CN", 120);
pref("font.scale.outline.min.zh-TW", 10);
pref("font.scale.aa_bitmap.min.zh-TW", 12);
pref("font.scale.aa_bitmap.always.zh-TW", false);
pref("font.scale.bitmap.min.zh-TW", 16);
pref("font.scale.bitmap.undersize.zh-TW", 80);
pref("font.scale.bitmap.oversize.zh-TW", 120);
pref("font.scale.outline.min.zh-HK", 10);
pref("font.scale.aa_bitmap.min.zh-HK", 12);
pref("font.scale.aa_bitmap.always.zh-HK", false);
pref("font.scale.bitmap.min.zh-HK", 16);
pref("font.scale.bitmap.undersize.zh-HK", 80);
pref("font.scale.bitmap.oversize.zh-HK", 120);
// minimum font sizes
pref("font.min-size.variable.ja", 10);
pref("font.min-size.fixed.ja", 10);
pref("font.min-size.variable.ko", 10);
pref("font.min-size.fixed.ko", 10);
pref("font.min-size.variable.zh-CN", 10);
pref("font.min-size.fixed.zh-CN", 10);
pref("font.min-size.variable.zh-TW", 10);
pref("font.min-size.fixed.zh-TW", 10);
pref("font.min-size.variable.zh-HK", 10);
pref("font.min-size.fixed.zh-HK", 10);
// X11 specific
/* X11 font accept/reject patterns:
* Patterns have to match against strings like this:
* (boolean values can only be "true" or "false")
* "fname=.*;scalable=.*;outline_scaled=.*;xdisplay=.*;xdpy=%d;ydpy=%d;xdevice=.*"
* - fname = X11 font name (string)
* - scalable = is font scalable ? (boolean)
* - outline_scaled = is font an outline scaled font ? (boolean)
* - xdisplay = X11 display name (like "host:0.0" (string)
* - xdpy = X DPI (X screen resolution) (integer)
* - ydpy = Y DPI (Y screen resolution) (integer)
* - xdevice = "display" or "printer" (Xprint - now obsolete)
* Patterns use the regular expressions described in the EXTENDED REGULAR
* EXPRESSIONS section of the regex(5) manual page.
* Note that prefs strings can always be concatenated via the '+'-operator,
* e.g. pref("font.x11.acceptfontpattern", "pattern1|" +
* "pattern2|" +
* "pattern3");
*/
/* reject font if accept pattern does not match it... */
//pref("font.x11.acceptfontpattern", ".*");
/* reject font if reject pattern matches it... */
//pref("font.x11.rejectfontpattern",
// "fname=-urw.*;scalable=false;outline_scaled=false;xdisplay=.*;xdpy=.*;ydpy=.*;xdevice=.*");
/* PostScript print module prefs */
// pref("print.postscript.enabled", true);
pref("print.postscript.paper_size", "letter");