mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
297 lines
12 KiB
XML
297 lines
12 KiB
XML
<?xml version="1.0"?>
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
The contents of this file are subject to the Mozilla Public License Version
|
|
1.1 (the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
http://www.mozilla.org/MPL/
|
|
|
|
Software distributed under the License is distributed on an "AS IS" basis,
|
|
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
for the specific language governing rights and limitations under the
|
|
License.
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is
|
|
Netscape Communications Corporation.
|
|
Portions created by the Initial Developer are Copyright (C) 1998-2000
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
|
|
Alternatively, the contents of this file may be used under the terms of
|
|
either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
in which case the provisions of the GPL or the LGPL are applicable instead
|
|
of those above. If you wish to allow use of your version of this file only
|
|
under the terms of either the GPL or the LGPL, and not to allow others to
|
|
use your version of this file under the terms of the MPL, indicate your
|
|
decision by deleting the provisions above and replace them with the notice
|
|
and other provisions required by the GPL or the LGPL. If you do not delete
|
|
the provisions above, a recipient may use your version of this file under
|
|
the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
***** END LICENSE BLOCK ***** -->
|
|
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://communicator/skin/prefpanels.css" type="text/css"?>
|
|
|
|
<!DOCTYPE page SYSTEM "chrome://communicator/locale/pref/pref-fonts.dtd" >
|
|
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
onload="parent.initPanel('chrome://communicator/content/pref/pref-fonts.xul');"
|
|
headertitle="&pref.fonts.title;">
|
|
|
|
<stringbundle id="bundle_prefutilities"
|
|
src="chrome://communicator/locale/pref/prefutilities.properties"/>
|
|
<script type="application/x-javascript"
|
|
src="chrome://communicator/content/pref/pref-fonts.js"/>
|
|
<script type="application/x-javascript">
|
|
<![CDATA[
|
|
var _elementIDs = ["selectLangs"];
|
|
]]>
|
|
</script>
|
|
|
|
<groupbox>
|
|
<caption>
|
|
<hbox align="center">
|
|
<label value="&language.label;"
|
|
accesskey="&language.accesskey;"
|
|
control="selectLangs"/>
|
|
</hbox>
|
|
<menulist id="selectLangs" oncommand="selectLanguage();"
|
|
preftype="localizedstring" prefstring="font.language.group"
|
|
wsm_attributes="value">
|
|
<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-cans" label="&font.langGroup.canadian;"/>
|
|
<menuitem value="x-ethi" label="&font.langGroup.ethiopic;"/>
|
|
<menuitem value="x-geor" label="&font.langGroup.georgian;"/>
|
|
<menuitem value="x-gujr" label="&font.langGroup.gujarati;"/>
|
|
<menuitem value="x-guru" label="&font.langGroup.gurmukhi;"/>
|
|
<menuitem value="x-khmr" label="&font.langGroup.khmer;"/>
|
|
<menuitem value="x-mlym" label="&font.langGroup.malayalam;"/>
|
|
<menuitem value="x-unicode" label="&font.langGroup.unicode;"/>
|
|
<menuitem value="x-user-def" label="&font.langGroup.user-def;"/>
|
|
</menupopup>
|
|
</menulist>
|
|
</caption>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<grid>
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
<column/>
|
|
</columns>
|
|
|
|
<rows>
|
|
<row align="center">
|
|
<spacer/>
|
|
<hbox align="center">
|
|
<label value="&typefaces.label;"/>
|
|
</hbox>
|
|
<hbox align="center">
|
|
<label value="&sizes.label;"/>
|
|
</hbox>
|
|
</row>
|
|
|
|
<row>
|
|
<separator class="thin"/>
|
|
</row>
|
|
|
|
<row align="center">
|
|
<hbox align="center" pack="end">
|
|
<label value="&proportional.label;"
|
|
accesskey="&proportional.accesskey;"
|
|
control="proportionalFont"/>
|
|
</hbox>
|
|
<menulist id="proportionalFont" flex="1" style="width: 0px;">
|
|
<menupopup>
|
|
<menuitem value="serif"
|
|
label="&useDefaultFontSerif.label;"/>
|
|
<menuitem value="sans-serif"
|
|
label="&useDefaultFontSansSerif.label;"/>
|
|
</menupopup>
|
|
</menulist>
|
|
<menulist id="sizeVar" class="small-margin">
|
|
<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">
|
|
<menupopup/>
|
|
</menulist>
|
|
<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">
|
|
<menupopup/>
|
|
</menulist>
|
|
<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">
|
|
<menupopup/>
|
|
</menulist>
|
|
<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">
|
|
<menupopup/>
|
|
</menulist>
|
|
<spacer/>
|
|
</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">
|
|
<menupopup/>
|
|
</menulist>
|
|
<menulist id="sizeMono">
|
|
<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">
|
|
<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"/>
|
|
|
|
<hbox align="center">
|
|
<!-- Unchecking this removes the ability to select dynamic fonts -->
|
|
<checkbox id="browserUseDocumentFonts"
|
|
label="&useDocumentFonts.label;"
|
|
accesskey="&useDocumentFonts.accesskey;"/>
|
|
</hbox>
|
|
|
|
</page>
|