зеркало из https://github.com/mozilla/gecko-dev.git
Bug 378105. Update default fonts for Indic scripts. r=pavlov, ui-review+approval1.9=beltzner
This commit is contained in:
Родитель
6979ef621b
Коммит
e0da0a8a1c
|
@ -89,31 +89,35 @@
|
|||
<menulist id="selectLangs" preference="font.language.group"
|
||||
onsyncfrompreference="return gFontsDialog.readFontLanguageGroup();">
|
||||
<menupopup>
|
||||
<menuitem value="x-western" label="&font.langGroup.latin1;"/>
|
||||
<menuitem value="x-central-euro" label="&font.langGroup.latin2;"/>
|
||||
<menuitem value="ja" label="&font.langGroup.japanese;"/>
|
||||
<menuitem value="zh-TW" label="&font.langGroup.trad-chinese;"/>
|
||||
<menuitem value="zh-CN" label="&font.langGroup.simpl-chinese;"/>
|
||||
<menuitem value="zh-HK" label="&font.langGroup.trad-chinese-hk;"/>
|
||||
<menuitem value="ko" label="&font.langGroup.korean;"/>
|
||||
<menuitem value="x-cyrillic" label="&font.langGroup.cyrillic;"/>
|
||||
<menuitem value="x-baltic" label="&font.langGroup.baltic;"/>
|
||||
<menuitem value="el" label="&font.langGroup.el;"/>
|
||||
<menuitem value="tr" label="&font.langGroup.turkish;"/>
|
||||
<menuitem value="th" label="&font.langGroup.thai;"/>
|
||||
<menuitem value="he" label="&font.langGroup.hebrew;"/>
|
||||
<menuitem value="ar" label="&font.langGroup.arabic;"/>
|
||||
<menuitem value="x-devanagari" label="&font.langGroup.devanagari;"/>
|
||||
<menuitem value="x-tamil" label="&font.langGroup.tamil;"/>
|
||||
<menuitem value="x-armn" label="&font.langGroup.armenian;"/>
|
||||
<menuitem value="x-beng" label="&font.langGroup.bengali;"/>
|
||||
<menuitem value="x-baltic" label="&font.langGroup.baltic;"/>
|
||||
<menuitem value="x-central-euro" label="&font.langGroup.latin2;"/>
|
||||
<menuitem value="zh-CN" label="&font.langGroup.simpl-chinese;"/>
|
||||
<menuitem value="zh-HK" label="&font.langGroup.trad-chinese-hk;"/>
|
||||
<menuitem value="zh-TW" label="&font.langGroup.trad-chinese;"/>
|
||||
<menuitem value="x-cyrillic" label="&font.langGroup.cyrillic;"/>
|
||||
<menuitem value="x-devanagari" label="&font.langGroup.devanagari;"/>
|
||||
<menuitem value="x-ethi" label="&font.langGroup.ethiopic;"/>
|
||||
<menuitem value="x-geor" label="&font.langGroup.georgian;"/>
|
||||
<menuitem value="el" label="&font.langGroup.el;"/>
|
||||
<menuitem value="x-gujr" label="&font.langGroup.gujarati;"/>
|
||||
<menuitem value="x-guru" label="&font.langGroup.gurmukhi;"/>
|
||||
<menuitem value="he" label="&font.langGroup.hebrew;"/>
|
||||
<menuitem value="ja" label="&font.langGroup.japanese;"/>
|
||||
<menuitem value="x-knda" label="&font.langGroup.kannada;"/>
|
||||
<menuitem value="x-khmr" label="&font.langGroup.khmer;"/>
|
||||
<menuitem value="ko" label="&font.langGroup.korean;"/>
|
||||
<menuitem value="x-mlym" label="&font.langGroup.malayalam;"/>
|
||||
<menuitem value="x-orya" label="&font.langGroup.oriya;"/>
|
||||
<menuitem value="x-sinh" label="&font.langGroup.sinhala;"/>
|
||||
<menuitem value="x-tamil" label="&font.langGroup.tamil;"/>
|
||||
<menuitem value="x-telu" label="&font.langGroup.telugu;"/>
|
||||
<menuitem value="th" label="&font.langGroup.thai;"/>
|
||||
<menuitem value="tr" label="&font.langGroup.turkish;"/>
|
||||
<menuitem value="x-cans" label="&font.langGroup.canadian;"/>
|
||||
<menuitem value="x-western" label="&font.langGroup.latin1;"/>
|
||||
<menuitem value="x-unicode" label="&font.langGroup.unicode;"/>
|
||||
<menuitem value="x-user-def" label="&font.langGroup.user-def;"/>
|
||||
</menupopup>
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
<!ENTITY font.langGroup.gurmukhi "Gurmukhi">
|
||||
<!ENTITY font.langGroup.khmer "Khmer">
|
||||
<!ENTITY font.langGroup.malayalam "Malayalam">
|
||||
<!ENTITY font.langGroup.oriya "Oriya">
|
||||
<!ENTITY font.langGroup.telugu "Telugu">
|
||||
<!ENTITY font.langGroup.kannada "Kannada">
|
||||
<!ENTITY font.langGroup.sinhala "Sinhala">
|
||||
<!-- Minimum font size -->
|
||||
<!ENTITY minSize.label "Minimum font size:">
|
||||
<!ENTITY minSize.accesskey "o">
|
||||
|
|
|
@ -85,18 +85,22 @@ enum eFontPrefLang {
|
|||
eFontPrefLang_Gurmukhi = 22,
|
||||
eFontPrefLang_Khmer = 23,
|
||||
eFontPrefLang_Malayalam = 24,
|
||||
eFontPrefLang_Oriya = 25,
|
||||
eFontPrefLang_Telugu = 26,
|
||||
eFontPrefLang_Kannada = 27,
|
||||
eFontPrefLang_Sinhala = 28,
|
||||
|
||||
eFontPrefLang_LangCount = 25, // except Others and UserDefined.
|
||||
eFontPrefLang_LangCount = 29, // except Others and UserDefined.
|
||||
|
||||
eFontPrefLang_Others = 25, // x-unicode
|
||||
eFontPrefLang_UserDefined = 26,
|
||||
eFontPrefLang_Others = 29, // x-unicode
|
||||
eFontPrefLang_UserDefined = 30,
|
||||
|
||||
eFontPrefLang_CJKSet = 27, // special code for CJK set
|
||||
eFontPrefLang_AllCount = 28
|
||||
eFontPrefLang_CJKSet = 31, // special code for CJK set
|
||||
eFontPrefLang_AllCount = 32
|
||||
};
|
||||
|
||||
// when searching through pref langs, max number of pref langs
|
||||
const PRUint32 kMaxLenPrefLangList = 30;
|
||||
const PRUint32 kMaxLenPrefLangList = 32;
|
||||
|
||||
class THEBES_API gfxPlatform {
|
||||
public:
|
||||
|
|
|
@ -450,6 +450,7 @@ gfxAtsuiFontGroup::gfxAtsuiFontGroup(const nsAString& families,
|
|||
// default fonts for on the mac; we should fix this!
|
||||
// Known:
|
||||
// ja x-beng x-devanagari x-tamil x-geor x-ethi x-gujr x-mlym x-armn
|
||||
// x-orya x-telu x-knda x-sinh
|
||||
|
||||
//fprintf (stderr, "gfxAtsuiFontGroup: %s [%s] -> %d fonts found\n", NS_ConvertUTF16toUTF8(families).get(), aStyle->langGroup.get(), mFonts.Length());
|
||||
|
||||
|
|
|
@ -132,6 +132,10 @@ const MozGtkLangGroup MozGtkLangGroups[] = {
|
|||
{ "x-guru", (const FcChar8 *)"pa" },
|
||||
{ "x-khmr", (const FcChar8 *)"km" },
|
||||
{ "x-mlym", (const FcChar8 *)"ml" },
|
||||
{ "x-orya", (const FcChar8 *)"or" },
|
||||
{ "x-telu", (const FcChar8 *)"te" },
|
||||
{ "x-knda", (const FcChar8 *)"kn" },
|
||||
{ "x-sinh", (const FcChar8 *)"si" },
|
||||
{ "x-unicode", 0 },
|
||||
{ "x-user-def", 0 }
|
||||
};
|
||||
|
|
|
@ -104,6 +104,10 @@ static const char *gPrefLangNames[] = {
|
|||
"x-guru",
|
||||
"x-khmr",
|
||||
"x-mlym",
|
||||
"x-orya",
|
||||
"x-telu",
|
||||
"x-knda",
|
||||
"x-sinh",
|
||||
"x-unicode",
|
||||
"x-user-def"
|
||||
};
|
||||
|
|
|
@ -1085,14 +1085,14 @@ static const struct ScriptPropertyEntry gScriptToText[] =
|
|||
{ "LANG_BENGALI", "x-beng" }, // ben
|
||||
{ "LANG_PUNJABI", "x-guru" }, // pan -- XXX x-guru is for Gurmukhi which isn't just Punjabi
|
||||
{ "LANG_GUJARATI", "x-gujr" }, // guj
|
||||
{ "LANG_ORIYA", "ori" },
|
||||
{ "LANG_ORIYA", "x-orya" }, // ori
|
||||
{ "LANG_TAMIL", "x-tamil" }, // tam
|
||||
{ "LANG_TELUGU", "tel" },
|
||||
{ "LANG_KANNADA", "kan" },
|
||||
{ "LANG_TELUGU", "x-telu" }, //tel
|
||||
{ "LANG_KANNADA", "x-knda" }, // kan
|
||||
{ "LANG_MALAYALAM", "x-mlym" }, // mal
|
||||
{ "LANG_ASSAMESE", "asm" },
|
||||
{ "LANG_MARATHI", "mar" },
|
||||
{ "LANG_SANSKRIT", "san" },
|
||||
{ "LANG_ASSAMESE", "x-beng" }, // asm
|
||||
{ "LANG_MARATHI", "x-devanagari" }, // mar
|
||||
{ "LANG_SANSKRIT", "x-devanagari" }, // san
|
||||
{ "LANG_MONGOLIAN", "mon" },
|
||||
{ "TIBETAN", "tib" }, // tib/bod
|
||||
{ nsnull, nsnull },
|
||||
|
@ -1102,14 +1102,14 @@ static const struct ScriptPropertyEntry gScriptToText[] =
|
|||
{ "LANG_GALICIAN", "glg" },
|
||||
{ "LANG_KONKANI", "kok" },
|
||||
{ "LANG_MANIPURI", "mni" },
|
||||
{ "LANG_SINDHI", "x-devanagari" }, // snd
|
||||
{ "LANG_SINDHI", "snd" },
|
||||
{ "LANG_SYRIAC", "syr" },
|
||||
{ "SINHALESE", "sin" },
|
||||
{ "SINHALESE", "x-sinh" }, // sin
|
||||
{ "CHEROKEE", "chr" },
|
||||
{ "INUKTITUT", "x-cans" }, // iku
|
||||
{ "ETHIOPIC", "x-ethi" }, // amh -- this is both Amharic and Tigrinya
|
||||
{ nsnull, nsnull },
|
||||
{ "LANG_KASHMIRI", "x-devanagari" }, // kas
|
||||
{ "LANG_KASHMIRI", "kas" },
|
||||
{ "LANG_NEPALI", "x-devanagari" }, // nep
|
||||
{ nsnull, nsnull },
|
||||
{ nsnull, nsnull },
|
||||
|
|
|
@ -63,7 +63,11 @@ static const char *gUnicodeRangeToLangGroupTable[] =
|
|||
"x-gujr",
|
||||
"x-guru",
|
||||
"x-khmr",
|
||||
"x-mlym"
|
||||
"x-mlym",
|
||||
"x-orya",
|
||||
"x-telu",
|
||||
"x-knda",
|
||||
"x-sinh"
|
||||
};
|
||||
|
||||
/**********************************************************************
|
||||
|
|
|
@ -66,10 +66,14 @@ const PRUint8 kRangeGujarati = 18;
|
|||
const PRUint8 kRangeGurmukhi = 19;
|
||||
const PRUint8 kRangeKhmer = 20;
|
||||
const PRUint8 kRangeMalayalam = 21;
|
||||
const PRUint8 kRangeOriya = 22;
|
||||
const PRUint8 kRangeTelugu = 23;
|
||||
const PRUint8 kRangeKannada = 24;
|
||||
const PRUint8 kRangeSinhala = 25;
|
||||
|
||||
const PRUint8 kRangeSpecificItemNum = 22;
|
||||
const PRUint8 kRangeSpecificItemNum = 26;
|
||||
|
||||
//range/rangeSet grow to this place 22-29
|
||||
//range/rangeSet grow to this place 26-29
|
||||
|
||||
const PRUint8 kRangeSetStart = 30; // range set definition starts from here
|
||||
const PRUint8 kRangeSetLatin = 30;
|
||||
|
@ -83,26 +87,22 @@ const PRUint8 kRangeMisc = 34;
|
|||
const PRUint8 kRangeUnassigned = 35;
|
||||
const PRUint8 kRangeSyriac = 36;
|
||||
const PRUint8 kRangeThaana = 37;
|
||||
const PRUint8 kRangeOriya = 38;
|
||||
const PRUint8 kRangeTelugu = 39;
|
||||
const PRUint8 kRangeKannada = 40;
|
||||
const PRUint8 kRangeSinhala = 41;
|
||||
const PRUint8 kRangeLao = 42;
|
||||
const PRUint8 kRangeTibetan = 43;
|
||||
const PRUint8 kRangeMyanmar = 44;
|
||||
const PRUint8 kRangeCherokee = 45;
|
||||
const PRUint8 kRangeOghamRunic = 46;
|
||||
const PRUint8 kRangeMongolian = 47;
|
||||
const PRUint8 kRangeMathOperators = 48;
|
||||
const PRUint8 kRangeMiscTechnical = 49;
|
||||
const PRUint8 kRangeControlOpticalEnclose = 50;
|
||||
const PRUint8 kRangeBoxBlockGeometrics = 51;
|
||||
const PRUint8 kRangeMiscSymbols = 52;
|
||||
const PRUint8 kRangeDingbats = 53;
|
||||
const PRUint8 kRangeBraillePattern = 54;
|
||||
const PRUint8 kRangeYi = 55;
|
||||
const PRUint8 kRangeCombiningDiacriticalMarks = 56;
|
||||
const PRUint8 kRangeSpecials = 57;
|
||||
const PRUint8 kRangeLao = 38;
|
||||
const PRUint8 kRangeTibetan = 39;
|
||||
const PRUint8 kRangeMyanmar = 40;
|
||||
const PRUint8 kRangeCherokee = 41;
|
||||
const PRUint8 kRangeOghamRunic = 42;
|
||||
const PRUint8 kRangeMongolian = 43;
|
||||
const PRUint8 kRangeMathOperators = 44;
|
||||
const PRUint8 kRangeMiscTechnical = 45;
|
||||
const PRUint8 kRangeControlOpticalEnclose = 46;
|
||||
const PRUint8 kRangeBoxBlockGeometrics = 47;
|
||||
const PRUint8 kRangeMiscSymbols = 48;
|
||||
const PRUint8 kRangeDingbats = 49;
|
||||
const PRUint8 kRangeBraillePattern = 50;
|
||||
const PRUint8 kRangeYi = 51;
|
||||
const PRUint8 kRangeCombiningDiacriticalMarks = 52;
|
||||
const PRUint8 kRangeSpecials = 53;
|
||||
|
||||
const PRUint8 kRangeTableBase = 128; //values over 127 are reserved for internal use only
|
||||
const PRUint8 kRangeTertiaryTable = 145; // leave room for 16 subtable
|
||||
|
|
|
@ -117,6 +117,7 @@ iu=x-cans
|
|||
ja=ja
|
||||
ka=x-geor
|
||||
km=x-khmr
|
||||
kn=x-knda
|
||||
ko=ko
|
||||
ks=ar
|
||||
#ku=ar
|
||||
|
@ -147,7 +148,7 @@ nv=x-western
|
|||
oc=x-western
|
||||
oj=x-cans
|
||||
om=x-ethi
|
||||
#or=Oriya
|
||||
or=x-orya
|
||||
os=x-cyrillic
|
||||
#pa: Punjabi is usually written in Gurmukhi script in India and Arabic script
|
||||
# in Pakistan. We make pa default to Gurmukhi based on comments in bug 248690
|
||||
|
@ -167,6 +168,7 @@ sd=ar
|
|||
# African language (but related with French)
|
||||
sg=x-western
|
||||
sh=x-central-euro
|
||||
si=x-sinh
|
||||
sk=x-central-euro
|
||||
sl=x-central-euro
|
||||
so=x-western
|
||||
|
@ -175,6 +177,7 @@ sr=x-cyrillic
|
|||
sv=x-western
|
||||
sw=x-western
|
||||
ta=x-tamil
|
||||
te=x-telu
|
||||
th=th
|
||||
tig=x-ethi
|
||||
tk=x-cyrillic
|
||||
|
|
|
@ -1093,6 +1093,38 @@ pref("dom.max_script_run_time", 10);
|
|||
|
||||
pref("svg.enabled", true);
|
||||
|
||||
pref("font.minimum-size.ar", 0);
|
||||
pref("font.minimum-size.x-armn", 0);
|
||||
pref("font.minimum-size.x-beng", 0);
|
||||
pref("font.minimum-size.x-baltic", 0);
|
||||
pref("font.minimum-size.x-central-euro", 0);
|
||||
pref("font.minimum-size.zh-CN", 0);
|
||||
pref("font.minimum-size.zh-HK", 0);
|
||||
pref("font.minimum-size.zh-TW", 0);
|
||||
pref("font.minimum-size.x-cyrillic", 0);
|
||||
pref("font.minimum-size.x-devanagari", 0);
|
||||
pref("font.minimum-size.x-ethi", 0);
|
||||
pref("font.minimum-size.x-geor", 0);
|
||||
pref("font.minimum-size.el", 0);
|
||||
pref("font.minimum-size.x-gujr", 0);
|
||||
pref("font.minimum-size.x-guru", 0);
|
||||
pref("font.minimum-size.he", 0);
|
||||
pref("font.minimum-size.ja", 0);
|
||||
pref("font.minimum-size.x-knda", 0);
|
||||
pref("font.minimum-size.x-khmr", 0);
|
||||
pref("font.minimum-size.ko", 0);
|
||||
pref("font.minimum-size.x-mlym", 0);
|
||||
pref("font.minimum-size.x-orya", 0);
|
||||
pref("font.minimum-size.x-sinh", 0);
|
||||
pref("font.minimum-size.x-tamil", 0);
|
||||
pref("font.minimum-size.x-telu", 0);
|
||||
pref("font.minimum-size.th", 0);
|
||||
pref("font.minimum-size.tr", 0);
|
||||
pref("font.minimum-size.x-cans", 0);
|
||||
pref("font.minimum-size.x-western", 0);
|
||||
pref("font.minimum-size.x-unicode", 0);
|
||||
pref("font.minimum-size.x-user-def", 0);
|
||||
|
||||
#ifdef XP_WIN
|
||||
pref("font.name.serif.ar", "Times New Roman");
|
||||
pref("font.name.sans-serif.ar", "Arial");
|
||||
|
@ -1214,11 +1246,12 @@ pref("font.name.monospace.x-armn", "Arial AMU");
|
|||
pref("font.name-list.serif.x-armn", "Sylfaen,Arial Unicode MS, Code2000");
|
||||
pref("font.name-list.monospace.x-armn", "Arial AMU, Arial Unicode MS, Code2000");
|
||||
|
||||
pref("font.name.serif.x-beng", "Akaash");
|
||||
pref("font.name.sans-serif.x-beng", "Likhan");
|
||||
pref("font.name.serif.x-beng", "Vrinda");
|
||||
pref("font.name.sans-serif.x-beng", "Vrinda");
|
||||
pref("font.name.monospace.x-beng", "Mitra Mono");
|
||||
pref("font.name-list.serif.x-beng", "Akaash, Ekushey Punarbhaba, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.monospace.x-beng", "Likhan, Mukti Narrow, Code 2000, Arial Unicode MS");
|
||||
pref("font.name-list.serif.x-beng", "Vrinda, Akaash, Likhan, Ekushey Punarbhaba, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.sans-serif.x-beng", "Vrinda, Akaash, Likhan, Ekushey Punarbhaba, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.monospace.x-beng", "Likhan, Mukti Narrow, Code2000, Arial Unicode MS");
|
||||
|
||||
pref("font.name.serif.x-cans", "Aboriginal Serif");
|
||||
pref("font.name.sans-serif.x-cans", "Aboriginal Sans");
|
||||
|
@ -1257,11 +1290,40 @@ pref("font.name.monospace.x-khmr", "Code2000");
|
|||
pref("font.name-list.serif.x-khmr", "PhnomPenh OT,.Mondulkiri U GR 1.5, Khmer OS");
|
||||
pref("font.name-list.monospace.x-khmr", "Code2000, Khmer OS, Khmer OS System");
|
||||
|
||||
pref("font.name.serif.x-mlym", "Kartika");
|
||||
pref("font.name.sans-serif.x-mlym", "Anjali-Beta");
|
||||
pref("font.name.monospace.x-mlym", "Code2000");
|
||||
pref("font.name-list.serif.x-mlym", "Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.monospace.x-mlym", "Code2000, Anjali-Beta");
|
||||
pref("font.name.serif.x-mlym", "Rachana_w01");
|
||||
pref("font.name.sans-serif.x-mlym", "Rachana_w01");
|
||||
pref("font.name.monospace.x-mlym", "Rachana_w01");
|
||||
pref("font.name-list.serif.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.sans-serif.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.monospace.x-mlym", "AnjaliOldLipi, Kartika, ThoolikaUnicode, Code2000, Arial Unicode MS");
|
||||
|
||||
pref("font.name.serif.x-orya", "ori1Uni");
|
||||
pref("font.name.sans-serif.x-orya", "ori1Uni");
|
||||
pref("font.name.monospace.x-orya", "ori1Uni");
|
||||
pref("font.name-list.serif.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.sans-serif.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.monospace.x-orya", "Kalinga, ori1Uni, Code2000, Arial Unicode MS");
|
||||
|
||||
pref("font.name.serif.x-telu", "Gautami");
|
||||
pref("font.name.sans-serif.x-telu", "Gautami");
|
||||
pref("font.name.monospace.x-telu", "Gautami");
|
||||
pref("font.name-list.serif.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.sans-serif.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.monospace.x-telu", "Gautami, Akshar Unicode, Code2000, Arial Unicode MS");
|
||||
|
||||
pref("font.name.serif.x-knda", "Tunga");
|
||||
pref("font.name.sans-serif.x-knda", "Tunga");
|
||||
pref("font.name.monospace.x-knda", "Tunga");
|
||||
pref("font.name-list.serif.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.sans-serif.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
|
||||
pref("font.name-list.monospace.x-knda", "Tunga, AksharUnicode, Code2000, Arial Unicode MS");
|
||||
|
||||
pref("font.name.serif.x-sinh", "Iskoola Pota");
|
||||
pref("font.name.sans-serif.x-sinh", "Iskoola Pota");
|
||||
pref("font.name.monospace.x-sinh", "Iskoola Pota");
|
||||
pref("font.name-list.serif.x-sinh", "Iskoola Pota, AksharUnicode");
|
||||
pref("font.name-list.sans-serif.x-sinh", "Iskoola Pota, AksharUnicode");
|
||||
pref("font.name-list.monospace.x-sinh", "Iskoola Pota, AksharUnicode");
|
||||
|
||||
pref("font.default.ar", "sans-serif");
|
||||
pref("font.size.variable.ar", 16);
|
||||
|
@ -1347,6 +1409,22 @@ pref("font.default.x-mlym", "serif");
|
|||
pref("font.size.variable.x-mlym", 16);
|
||||
pref("font.size.fixed.x-mlym", 13);
|
||||
|
||||
pref("font.default.x-orya", "serif");
|
||||
pref("font.size.variable.x-orya", 16);
|
||||
pref("font.size.fixed.x-orya", 13);
|
||||
|
||||
pref("font.default.x-telu", "serif");
|
||||
pref("font.size.variable.x-telu", 16);
|
||||
pref("font.size.fixed.x-telu", 13);
|
||||
|
||||
pref("font.default.x-knda", "serif");
|
||||
pref("font.size.variable.x-knda", 16);
|
||||
pref("font.size.fixed.x-knda", 13);
|
||||
|
||||
pref("font.default.x-sinh", "serif");
|
||||
pref("font.size.variable.x-sinh", 16);
|
||||
pref("font.size.fixed.x-sinh", 13);
|
||||
|
||||
pref("font.default.x-unicode", "serif");
|
||||
pref("font.size.variable.x-unicode", 16);
|
||||
pref("font.size.fixed.x-unicode", 13);
|
||||
|
@ -1606,6 +1684,18 @@ pref("font.name-list.monospace.x-guru", "Gurmukhi MT");
|
|||
// no suitable fonts for malayalam ship with mac os x
|
||||
// add this section when fonts exist
|
||||
|
||||
// no suitable fonts for oriya ship with mac os x
|
||||
// add this section when fonts exist
|
||||
|
||||
// no suitable fonts for telugu ship with mac os x
|
||||
// add this section when fonts exist
|
||||
|
||||
// no suitable fonts for kannada ship with mac os x
|
||||
// add this section when fonts exist
|
||||
|
||||
// no suitable fonts for sinhala ship with mac os x
|
||||
// add this section when fonts exist
|
||||
|
||||
pref("font.name.serif.x-tamil", "InaiMathi");
|
||||
pref("font.name.sans-serif.x-tamil", "InaiMathi");
|
||||
pref("font.name.monospace.x-tamil", "InaiMathi");
|
||||
|
@ -1740,6 +1830,22 @@ pref("font.default.x-tamil", "serif");
|
|||
pref("font.size.variable.x-tamil", 16);
|
||||
pref("font.size.fixed.x-tamil", 13);
|
||||
|
||||
pref("font.default.x-orya", "serif");
|
||||
pref("font.size.variable.x-orya", 16);
|
||||
pref("font.size.fixed.x-orya", 13);
|
||||
|
||||
pref("font.default.x-telu", "serif");
|
||||
pref("font.size.variable.x-telu", 16);
|
||||
pref("font.size.fixed.x-telu", 13);
|
||||
|
||||
pref("font.default.x-knda", "serif");
|
||||
pref("font.size.variable.x-knda", 16);
|
||||
pref("font.size.fixed.x-knda", 13);
|
||||
|
||||
pref("font.default.x-sinh", "serif");
|
||||
pref("font.size.variable.x-sinh", 16);
|
||||
pref("font.size.fixed.x-sinh", 13);
|
||||
|
||||
pref("font.default.x-unicode", "serif");
|
||||
pref("font.size.variable.x-unicode", 16);
|
||||
pref("font.size.fixed.x-unicode", 13);
|
||||
|
@ -2247,6 +2353,10 @@ pref("font.default.x-unicode", "serif");
|
|||
pref("font.size.variable.x-unicode", 16);
|
||||
pref("font.size.fixed.x-unicode", 12);
|
||||
|
||||
pref("font.default.x-user-def", "serif");
|
||||
pref("font.size.variable.x-user-def", 16);
|
||||
pref("font.size.fixed.x-user-def", 12);
|
||||
|
||||
pref("font.default.x-western", "serif");
|
||||
pref("font.size.variable.x-western", 16);
|
||||
pref("font.size.fixed.x-western", 12);
|
||||
|
@ -2263,6 +2373,66 @@ pref("font.default.zh-HK", "sans-serif");
|
|||
pref("font.size.variable.zh-HK", 16);
|
||||
pref("font.size.fixed.zh-HK", 16);
|
||||
|
||||
pref("font.default.x-devanagari", "serif");
|
||||
pref("font.size.variable.x-devanagari", 16);
|
||||
pref("font.size.fixed.x-devanagari", 13);
|
||||
|
||||
pref("font.default.x-tamil", "serif");
|
||||
pref("font.size.variable.x-tamil", 16);
|
||||
pref("font.size.fixed.x-tamil", 13);
|
||||
|
||||
pref("font.default.x-armn", "serif");
|
||||
pref("font.size.variable.x-armn", 16);
|
||||
pref("font.size.fixed.x-armn", 13);
|
||||
|
||||
pref("font.default.x-beng", "serif");
|
||||
pref("font.size.variable.x-beng", 16);
|
||||
pref("font.size.fixed.x-beng", 13);
|
||||
|
||||
pref("font.default.x-cans", "serif");
|
||||
pref("font.size.variable.x-cans", 16);
|
||||
pref("font.size.fixed.x-cans", 13);
|
||||
|
||||
pref("font.default.x-ethi", "serif");
|
||||
pref("font.size.variable.x-ethi", 16);
|
||||
pref("font.size.fixed.x-ethi", 13);
|
||||
|
||||
pref("font.default.x-geor", "serif");
|
||||
pref("font.size.variable.x-geor", 16);
|
||||
pref("font.size.fixed.x-geor", 13);
|
||||
|
||||
pref("font.default.x-gujr", "serif");
|
||||
pref("font.size.variable.x-gujr", 16);
|
||||
pref("font.size.fixed.x-gujr", 13);
|
||||
|
||||
pref("font.default.x-guru", "serif");
|
||||
pref("font.size.variable.x-guru", 16);
|
||||
pref("font.size.fixed.x-guru", 13);
|
||||
|
||||
pref("font.default.x-khmr", "serif");
|
||||
pref("font.size.variable.x-khmr", 16);
|
||||
pref("font.size.fixed.x-khmr", 13);
|
||||
|
||||
pref("font.default.x-mlym", "serif");
|
||||
pref("font.size.variable.x-mlym", 16);
|
||||
pref("font.size.fixed.x-mlym", 13);
|
||||
|
||||
pref("font.default.x-orya", "serif");
|
||||
pref("font.size.variable.x-orya", 16);
|
||||
pref("font.size.fixed.x-orya", 13);
|
||||
|
||||
pref("font.default.x-telu", "serif");
|
||||
pref("font.size.variable.x-telu", 16);
|
||||
pref("font.size.fixed.x-telu", 13);
|
||||
|
||||
pref("font.default.x-knda", "serif");
|
||||
pref("font.size.variable.x-knda", 16);
|
||||
pref("font.size.fixed.x-knda", 13);
|
||||
|
||||
pref("font.default.x-sinh", "serif");
|
||||
pref("font.size.variable.x-sinh", 16);
|
||||
pref("font.size.fixed.x-sinh", 13);
|
||||
|
||||
/* PostScript print module prefs */
|
||||
// pref("print.postscript.enabled", true);
|
||||
pref("print.postscript.paper_size", "letter");
|
||||
|
|
Загрузка…
Ссылка в новой задаче