2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
2007-12-03 07:10:08 -08:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
|
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!DOCTYPE prefwindow SYSTEM "chrome://browser/locale/preferences/fonts.dtd" >
|
|
|
|
|
|
|
|
<prefwindow id="FontsDialog" type="child"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
title="&fontsDialog.title;"
|
|
|
|
dlgbuttons="accept,cancel,help"
|
2008-03-24 10:18:38 -07:00
|
|
|
ondialoghelp="openPrefsHelp()"
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef XP_UNIX
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
style="width: &window.macWidth; !important;">
|
|
|
|
#else
|
|
|
|
style="width: &window.unixWidth; !important;">
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
style="width: &window.width; !important;">
|
|
|
|
#endif
|
|
|
|
|
2008-03-24 10:18:38 -07:00
|
|
|
<script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<prefpane id="FontsDialogPane"
|
2008-03-24 10:18:38 -07:00
|
|
|
helpTopic="prefs-fonts-and-colors">
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<preferences id="fontPreferences">
|
|
|
|
<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="intl.charset.default" name="intl.charset.default" type="wstring"/>
|
|
|
|
</preferences>
|
|
|
|
|
|
|
|
<stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
|
2009-11-05 05:53:26 -08:00
|
|
|
<script type="application/javascript" src="chrome://mozapps/content/preferences/fontbuilder.js"/>
|
|
|
|
<script type="application/javascript" src="chrome://browser/content/preferences/fonts.js"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!-- Fonts for: [ Language ] -->
|
|
|
|
<groupbox>
|
|
|
|
<caption>
|
|
|
|
<hbox align="center">
|
|
|
|
<label accesskey="&language.accesskey;" control="selectLangs">&language.label;</label>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="selectLangs" preference="font.language.group"
|
|
|
|
onsyncfrompreference="return gFontsDialog.readFontLanguageGroup();">
|
|
|
|
<menupopup>
|
2008-04-03 21:23:18 -07:00
|
|
|
<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="x-baltic" label="&font.langGroup.baltic;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<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;"/>
|
2008-04-03 21:23:18 -07:00
|
|
|
<menuitem value="zh-TW" label="&font.langGroup.trad-chinese;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<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;"/>
|
2008-04-03 21:23:18 -07:00
|
|
|
<menuitem value="el" label="&font.langGroup.el;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuitem value="x-gujr" label="&font.langGroup.gujarati;"/>
|
|
|
|
<menuitem value="x-guru" label="&font.langGroup.gurmukhi;"/>
|
2008-04-03 21:23:18 -07:00
|
|
|
<menuitem value="he" label="&font.langGroup.hebrew;"/>
|
|
|
|
<menuitem value="ja" label="&font.langGroup.japanese;"/>
|
|
|
|
<menuitem value="x-knda" label="&font.langGroup.kannada;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuitem value="x-khmr" label="&font.langGroup.khmer;"/>
|
2008-04-03 21:23:18 -07:00
|
|
|
<menuitem value="ko" label="&font.langGroup.korean;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuitem value="x-mlym" label="&font.langGroup.malayalam;"/>
|
2008-04-03 21:23:18 -07:00
|
|
|
<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;"/>
|
2010-03-04 00:55:53 -08:00
|
|
|
<menuitem value="x-tibt" label="&font.langGroup.tibetan;"/>
|
2008-04-03 21:23:18 -07:00
|
|
|
<menuitem value="tr" label="&font.langGroup.turkish;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuitem value="x-cans" label="&font.langGroup.canadian;"/>
|
2008-04-03 21:23:18 -07:00
|
|
|
<menuitem value="x-western" label="&font.langGroup.latin1;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuitem value="x-unicode" label="&font.langGroup.unicode;"/>
|
|
|
|
<menuitem value="x-user-def" label="&font.langGroup.user-def;"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</caption>
|
|
|
|
|
|
|
|
<grid>
|
|
|
|
<columns>
|
|
|
|
<column/>
|
|
|
|
<column flex="1"/>
|
|
|
|
<column/>
|
|
|
|
<column/>
|
|
|
|
</columns>
|
|
|
|
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
|
|
<separator class="thin"/>
|
|
|
|
</row>
|
|
|
|
|
|
|
|
<row align="center">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label accesskey="&proportional.accesskey;" control="defaultFontType">&proportional.label;</label>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="defaultFontType" flex="1" style="width: 0px;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem value="serif" label="&useDefaultFontSerif.label;"/>
|
|
|
|
<menuitem value="sans-serif" label="&useDefaultFontSansSerif.label;"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&size.label;"
|
|
|
|
accesskey="&sizeProportional.accesskey;"
|
|
|
|
control="sizeVar"/>
|
|
|
|
</hbox>
|
2009-08-17 19:34:20 -07:00
|
|
|
<menulist id="sizeVar">
|
2007-03-22 10:30:00 -07:00
|
|
|
<menupopup>
|
|
|
|
<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 align="center">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label accesskey="&serif.accesskey;" control="serif">&serif.label;</label>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="serif" flex="1" style="width: 0px;"
|
|
|
|
onsyncfrompreference="return gFontsDialog.readFontSelection(document.getElementById('serif'));"/>
|
|
|
|
<spacer/>
|
|
|
|
</row>
|
|
|
|
<row align="center">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label accesskey="&sans-serif.accesskey;" control="sans-serif">&sans-serif.label;</label>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="sans-serif" flex="1" style="width: 0px;"
|
|
|
|
onsyncfrompreference="return gFontsDialog.readFontSelection(document.getElementById('sans-serif'));"/>
|
|
|
|
<spacer/>
|
|
|
|
</row>
|
|
|
|
<row align="center">
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label accesskey="&monospace.accesskey;" control="monospace">&monospace.label;</label>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="monospace" flex="1" style="width: 0px;" crop="right"
|
|
|
|
onsyncfrompreference="return gFontsDialog.readFontSelection(document.getElementById('monospace'));"/>
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label value="&size.label;"
|
|
|
|
accesskey="&sizeMonospace.accesskey;"
|
|
|
|
control="sizeMono"/>
|
|
|
|
</hbox>
|
|
|
|
<menulist id="sizeMono">
|
|
|
|
<menupopup>
|
|
|
|
<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>
|
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox flex="1">
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<hbox align="center" pack="end">
|
|
|
|
<label accesskey="&minSize.accesskey;" control="minSize">&minSize.label;</label>
|
|
|
|
<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>
|
|
|
|
</hbox>
|
|
|
|
</hbox>
|
|
|
|
<separator/>
|
|
|
|
<separator class="groove"/>
|
|
|
|
<hbox>
|
|
|
|
<checkbox id="useDocumentFonts"
|
|
|
|
label="&allowPagesToUse.label;" accesskey="&allowPagesToUse.accesskey;"
|
|
|
|
preference="browser.display.use_document_fonts"
|
|
|
|
onsyncfrompreference="return gFontsDialog.readUseDocumentFonts();"
|
|
|
|
onsynctopreference="return gFontsDialog.writeUseDocumentFonts();"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
<!-- Character Encoding -->
|
|
|
|
<groupbox>
|
|
|
|
<caption label="&languages.customize.Charset.grouplabel;"/>
|
|
|
|
<hbox align="center">
|
|
|
|
<label value="&languages.customize.DefaultCharset.label;"
|
|
|
|
accesskey="&languages.customize.DefaultCharset.accesskey;"
|
|
|
|
control="DefaultCharsetList"/>
|
|
|
|
<menulist id="DefaultCharsetList" ref="NC:DecodersRoot" datasources="rdf:charset-menu"
|
|
|
|
preference="intl.charset.default"
|
|
|
|
onsyncfrompreference="return gFontsDialog.readDefaultCharset();">
|
|
|
|
<template>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="rdf:http://home.netscape.com/NC-rdf#Name" value="..." uri="..."/>
|
|
|
|
</menupopup>
|
|
|
|
</template>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
</prefpane>
|
|
|
|
</prefwindow>
|