diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/suite/components/pref/content/pref-fonts.xul | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/suite/components/pref/content/pref-fonts.xul')
-rw-r--r-- | comm/suite/components/pref/content/pref-fonts.xul | 260 |
1 files changed, 260 insertions, 0 deletions
diff --git a/comm/suite/components/pref/content/pref-fonts.xul b/comm/suite/components/pref/content/pref-fonts.xul new file mode 100644 index 0000000000..554f161a73 --- /dev/null +++ b/comm/suite/components/pref/content/pref-fonts.xul @@ -0,0 +1,260 @@ +<?xml version="1.0"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> +<!DOCTYPE overlay SYSTEM "chrome://communicator/locale/pref/pref-fonts.dtd"> + +<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <prefpane id="fonts_pane" + label="&pref.fonts.title;" + script="chrome://communicator/content/pref/pref-fonts.js"> + <preferences id="fonts_preferences"> + <preference id="font.language.group" + name="font.language.group" + type="wstring"/> + <preference id="browser.display.use_document_fonts" + name="browser.display.use_document_fonts" + type="int"/> + <preference id="browser.display.languageList" + name="browser.display.languageList" + type="wstring"/> + </preferences> + + <groupbox> + <caption align="center"> + <label value="&language.label;" + accesskey="&language.accesskey;" + control="selectLangs"/> + <menulist id="selectLangs" preference="font.language.group" + onsyncfrompreference="document.getElementById('fonts_pane').ReadFontLanguageGroup();"> + <menupopup> + <menuitem value="ar" label="&font.langGroup.arabic;"/> + <menuitem value="x-armn" label="&font.langGroup.armenian;"/> + <menuitem value="x-beng" label="&font.langGroup.bengali;"/> + <menuitem value="zh-CN" label="&font.langGroup.simpl-chinese;"/> + <menuitem value="zh-TW" label="&font.langGroup.trad-chinese;"/> + <menuitem value="zh-HK" label="&font.langGroup.trad-chinese-hk;"/> + <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-western" label="&font.langGroup.latin;"/> + <menuitem value="x-mlym" label="&font.langGroup.malayalam;"/> + <menuitem value="x-math" label="&font.langGroup.math;"/> + <menuitem value="x-orya" label="&font.langGroup.odia;"/> + <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="x-tibt" label="&font.langGroup.tibetan;"/> + <menuitem value="x-cans" label="&font.langGroup.canadian;"/> + <menuitem value="x-unicode" label="&font.langGroup.other;"/> + </menupopup> + </menulist> + </caption> + + <separator class="thin"/> + + <grid> + <columns> + <column/> + <column flex="1"/> + <column/> + </columns> + + <rows> + <row align="center"> + <spacer/> + <label value="&typefaces.label;"/> + <label value="&sizes.label;"/> + </row> + <row> + <separator class="thin"/> + </row> + <row align="center"> + <hbox align="center" pack="end"> + <label value="&proportional.label;" + accesskey="&proportional.accesskey;" + control="defaultFontType"/> + </hbox> + <menulist id="defaultFontType" flex="1" style="width: 0px;" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontSelection(this);"> + <menupopup> + <menuitem value="serif" + label="&useDefaultFontSerif.label;"/> + <menuitem value="sans-serif" + label="&useDefaultFontSansSerif.label;"/> + </menupopup> + </menulist> + <menulist id="sizeVar" class="small-margin" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontPref(this, 16);"> + <menupopup> + <menuitem value="8" label="8"/> + <menuitem value="9" label="9"/> + <menuitem value="10" label="10"/> + <menuitem value="11" label="11"/> + <menuitem value="12" label="12"/> + <menuitem value="13" label="13"/> + <menuitem value="14" label="14"/> + <menuitem value="15" label="15"/> + <menuitem value="16" label="16"/> + <menuitem value="17" label="17"/> + <menuitem value="18" label="18"/> + <menuitem value="20" label="20"/> + <menuitem value="22" label="22"/> + <menuitem value="24" label="24"/> + <menuitem value="26" label="26"/> + <menuitem value="28" label="28"/> + <menuitem value="30" label="30"/> + <menuitem value="32" label="32"/> + <menuitem value="34" label="34"/> + <menuitem value="36" label="36"/> + <menuitem value="40" label="40"/> + <menuitem value="44" label="44"/> + <menuitem value="48" label="48"/> + <menuitem value="56" label="56"/> + <menuitem value="64" label="64"/> + <menuitem value="72" label="72"/> + </menupopup> + </menulist> + </row> + <row> + <separator class="thin"/> + </row> + <row align="center"> + <hbox align="center" pack="end"> + <label value="&serif.label;" + accesskey="&serif.accesskey;" + control="serif"/> + </hbox> + <menulist id="serif" class="prefpanel-font-list" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontSelection(this);"/> + <spacer/> + </row> + <row align="center"> + <hbox align="center" pack="end"> + <label value="&sans-serif.label;" + accesskey="&sans-serif.accesskey;" + control="sans-serif"/> + </hbox> + <menulist id="sans-serif" class="prefpanel-font-list" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontSelection(this);"/> + <spacer/> + </row> + <row align="center"> + <hbox align="center" pack="end"> + <label value="&cursive.label;" + accesskey="&cursive.accesskey;" + control="cursive"/> + </hbox> + <menulist id="cursive" class="prefpanel-font-list" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontSelection(this);"/> + <spacer/> + </row> + <row align="center"> + <hbox align="center" pack="end"> + <label value="&fantasy.label;" + accesskey="&fantasy.accesskey;" + control="fantasy"/> + </hbox> + <menulist id="fantasy" class="prefpanel-font-list" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontSelection(this);"/> + <spacer/> + </row> + <row> + <separator class="thin"/> + </row> + <row align="center"> + <hbox align="center" pack="end"> + <label value="&monospace.label;" + accesskey="&monospace.accesskey;" + control="monospace"/> + </hbox> + <menulist id="monospace" class="prefpanel-font-list" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontSelection(this);"/> + <menulist id="sizeMono" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontPref(this, 12);"> + <menupopup> + <menuitem value="8" label="8"/> + <menuitem value="9" label="9"/> + <menuitem value="10" label="10"/> + <menuitem value="11" label="11"/> + <menuitem value="12" label="12"/> + <menuitem value="13" label="13"/> + <menuitem value="14" label="14"/> + <menuitem value="15" label="15"/> + <menuitem value="16" label="16"/> + <menuitem value="17" label="17"/> + <menuitem value="18" label="18"/> + <menuitem value="20" label="20"/> + <menuitem value="22" label="22"/> + <menuitem value="24" label="24"/> + <menuitem value="26" label="26"/> + <menuitem value="28" label="28"/> + <menuitem value="30" label="30"/> + <menuitem value="32" label="32"/> + <menuitem value="34" label="34"/> + <menuitem value="36" label="36"/> + <menuitem value="40" label="40"/> + <menuitem value="44" label="44"/> + <menuitem value="48" label="48"/> + <menuitem value="56" label="56"/> + <menuitem value="64" label="64"/> + <menuitem value="72" label="72"/> + </menupopup> + </menulist> + </row> + <row> + <separator class="thin"/> + </row> + <row> + <spacer/> + <hbox align="center" pack="end"> + <label value="&minSize.label;" + accesskey="&minSize.accesskey;" + control="minSize"/> + </hbox> + <menulist id="minSize" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadFontPref(this, 0);"> + <menupopup> + <menuitem value="0" label="&minSize.none;"/> + <menuitem value="9" label="9"/> + <menuitem value="10" label="10"/> + <menuitem value="11" label="11"/> + <menuitem value="12" label="12"/> + <menuitem value="13" label="13"/> + <menuitem value="14" label="14"/> + <menuitem value="15" label="15"/> + <menuitem value="16" label="16"/> + <menuitem value="17" label="17"/> + <menuitem value="18" label="18"/> + <menuitem value="20" label="20"/> + <menuitem value="22" label="22"/> + <menuitem value="24" label="24"/> + </menupopup> + </menulist> + </row> + </rows> + </grid> + </groupbox> + + <separator class="thin"/> + + <!-- Unchecking this removes the ability to select dynamic fonts --> + <checkbox id="browserUseDocumentFonts" + label="&useDocumentFonts.label;" + accesskey="&useDocumentFonts.accesskey;" + preference="browser.display.use_document_fonts" + onsyncfrompreference="return document.getElementById('fonts_pane').ReadUseDocumentFonts();" + onsynctopreference="return document.getElementById('fonts_pane').WriteUseDocumentFonts(this);"/> + + </prefpane> +</overlay> |