gecko-dev/suite/common/pref/pref-fonts.xul

197 lines
7.2 KiB
Plaintext
Raw Normal View History

1999-06-04 23:28:56 +00:00
<?xml version="1.0"?>
1999-08-10 02:48:56 +00:00
<!--
The contents of this file are subject to the Netscape 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/NPL/
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 Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
-->
2006-05-17 02:24:36 +00:00
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
2006-05-17 02:24:35 +00:00
<?xml-stylesheet href="chrome://communicator/skin/pref/pref.css" type="text/css"?>
2006-05-17 02:24:27 +00:00
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
1999-06-04 23:28:56 +00:00
2006-05-17 02:24:35 +00:00
<!DOCTYPE window SYSTEM "chrome://communicator/locale/pref/pref-fonts.dtd" >
2006-05-17 02:24:52 +00:00
<window id="fontPanel"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
2006-05-17 02:24:52 +00:00
class="color-dialog"
title="&window.title;"
orient="vertical"
onload="parent.initPanel('chrome://communicator/content/pref/pref-fonts.xul');">
2006-05-17 02:23:26 +00:00
2006-05-17 02:24:52 +00:00
<script language="javascript" src="chrome://communicator/content/pref/pref-fonts.js"></script>
2006-05-17 02:23:26 +00:00
2006-05-17 02:24:52 +00:00
<box class="box-smallheader" title="&lHeader;" description="&rHeader;"/>
2006-05-17 02:24:27 +00:00
2006-05-17 02:24:52 +00:00
<titledbox orient="vertical">
<title><text value="&displayFonts;"/></title>
<box autostretch="never">
<text class="label" value="&language.label;" accesskey="&language.accesskey;" for="selectLangs"/>
<menulist id="selectLangs" oncommand="selectLanguage();">
<menupopup>
<menuitem data="x-western" value="&font.langGroup.latin1;"/>
<menuitem data="x-central-euro" value="&font.langGroup.latin2;"/>
<menuitem data="ja" value="&font.langGroup.japanese;"/>
<menuitem data="zh-TW" value="&font.langGroup.trad-chinese;"/>
<menuitem data="zh-CN" value="&font.langGroup.simpl-chinese;"/>
<menuitem data="ko" value="&font.langGroup.korean;"/>
<menuitem data="x-cyrillic" value="&font.langGroup.cyrillic;"/>
<menuitem data="x-baltic" value="&font.langGroup.baltic;"/>
<menuitem data="el" value="&font.langGroup.el;"/>
<menuitem data="tr" value="&font.langGroup.turkish;"/>
<menuitem data="x-unicode" value="&font.langGroup.unicode;"/>
<menuitem data="x-user-def" value="&font.langGroup.user-def;"/>
<menuitem data="th" value="&font.langGroup.thai;"/>
<menuitem data="he" value="&font.langGroup.hebrew;"/>
<menuitem data="ar" value="&font.langGroup.arabic;"/>
</menupopup>
</menulist>
<spring flex="1"/>
</box>
<separator/>
<text class="label" value="&variableFonts.label;"/>
<separator class="thin"/>
<grid class="indent">
<columns>
<column/>
<column flex="1"/>
<column/>
<column/>
</columns>
<rows>
<row>
<text class="label" value="&serif.label;" accesskey="&serif.accesskey;" for="serif"/>
<menulist id="serif">
<menupopup/>
</menulist>
<text class="label" value="&size.label;" accesskey="&sizeVar.accesskey;" for="sizeVar"/>
<menulist id="sizeVar">
<menupopup>
<menuitem data="12" value="12"/>
<menuitem data="13" value="13"/>
<menuitem data="14" value="14"/>
<menuitem data="15" value="15"/>
<menuitem data="16" value="16"/>
<menuitem data="18" value="18"/>
<menuitem data="20" value="20"/>
<menuitem data="24" value="24"/>
</menupopup>
</menulist>
</row>
<row>
<text class="label" value="&sans-serif.label;" accesskey="&sans-serif.accesskey;" for="sans-serif"/>
<menulist id="sans-serif">
<menupopup/>
</menulist>
<spring/>
<spring/>
</row>
<!--
<row>
<text class="label" value="&cursive.label;" accesskey="&cursive.accesskey;" for="cursive"/>
<menulist id="cursive">
<menupopup/>
</menulist>
<spring/>
<spring/>
</row>
<row>
<text class="label" value="&fantasy.label;" accesskey="&fantasy.accesskey;" for="fantasy"/>
<menulist id="fantasy">
<menupopup/>
</menulist>
<spring/>
<spring/>
</row>
-->
</rows>
</grid>
<separator/>
<box autostretch="never" class="indent">
<text class="label" value="&default.type.label;"/>
<radiogroup id="defaultFont" autostretch="never" preftype="string" prefstring="font.default">
<radio data="serif" value="&useDefaultFontSerif.label;" accesskey="&useDefaultFontSerif.accesskey;"/>
<radio data="sans-serif" value="&useDefaultFontSansSerif.label;" accesskey="&useDefaultFontSansSerif.accesskey;"/>
</radiogroup>
</box>
<separator/>
<text class="label" value="&fixedFonts.label;"/>
<separator class="thin"/>
<grid class="indent">
<columns>
<column/>
<column flex="1"/>
<column/>
<column/>
</columns>
<rows>
<row>
<text class="label" value="&monospace.label;" accesskey="&monospace.accesskey;" for="monospace"/>
<menulist id="monospace">
<menupopup/>
</menulist>
<text class="label" value="&size.label;" accesskey="&sizeMono.accesskey;" for="sizeMono"/>
<menulist id="sizeMono">
<menupopup>
<menuitem data="12" value="12"/>
<menuitem data="13" value="13"/>
<menuitem data="14" value="14"/>
<menuitem data="15" value="15"/>
<menuitem data="16" value="16"/>
<menuitem data="18" value="18"/>
<menuitem data="20" value="20"/>
<menuitem data="24" value="24"/>
</menupopup>
</menulist>
</row>
</rows>
</grid>
2006-05-17 02:23:26 +00:00
2006-05-17 02:24:52 +00:00
<separator/>
<!-- note that this removes the ability to select dynamic fonts -->
<checkbox id="browserUseDocumentFonts"
value="&useDocumentFonts.label;" accesskey="&useDocumentFonts.accesskey;"
preftype="int" prefstring="browser.use_document_fonts"/>
2006-05-17 02:23:26 +00:00
2006-05-17 02:24:52 +00:00
</titledbox>
2006-05-17 02:23:26 +00:00
2006-05-17 02:24:52 +00:00
<titledbox orient="vertical">
<title><text value="&fontScaling;"/></title>
<html>&fontScalingIntro;</html>
<box autostretch="never">
<text class="label" value="&resolution.label;" accesskey="&resolution.accesskey;" for="browserScreenResolution"/>
<textfield id="browserScreenResolution" size="4" maxlength="3" value="&defaultScaling;" preftype="int" prefstring="browser.screen_resolution"/>
<text class="label" value="&fontScalingExample;"/>
</box>
</titledbox>
2006-05-17 02:23:26 +00:00
</window>