mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
182 lines
7.5 KiB
XML
182 lines
7.5 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
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):
|
|
-->
|
|
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://pref/skin/pref.css" type="text/css"?>
|
|
<?xul-overlay href="chrome://pref/content/fontScalingOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-fonts.dtd" >
|
|
<window debug="false" id="fontPanel"
|
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
class="dialog"
|
|
title="&window.title;" orient="vertical"
|
|
onload="if( parent.handle ) parent.handle.onpageload( 'pref-fonts' ); else parent.queuedTag = 'pref-fonts';startUp()">
|
|
|
|
|
|
<html:script language="javascript" src="pref-fonts.js"/>
|
|
|
|
<box class="header" align="horizontal">
|
|
<titledbutton class="left-header-text" value="&lHeader;"/>
|
|
<spring class="header-spring" flex="1"/>
|
|
<titledbutton class="right-header-text" value="&rHeader;"/>
|
|
</box>
|
|
<titledbox orient="vertical">
|
|
<title><html:div>&displayFonts;</html:div></title>
|
|
<html:div style="width: 50px; height: 50px">
|
|
<html:table>
|
|
<html:tr valign="baseline">
|
|
<html:td>&fontsFor.select;</html:td>
|
|
<html:td>
|
|
<html:select class="Font" id="selectLangs" onchange = "selectLang();" width = "10">
|
|
<html:option value="x-western">&font.langGroup.latin1;</html:option>
|
|
<html:option value="x-central-euro">&font.langGroup.latin2;</html:option>
|
|
<html:option value="ja">&font.langGroup.japanese;</html:option>
|
|
<html:option value="zh-TW">&font.langGroup.trad-chinese;</html:option>
|
|
<html:option value="zh-CN">&font.langGroup.simpl-chinese;</html:option>
|
|
<html:option value="ko">&font.langGroup.korean;</html:option>
|
|
<html:option value="x-cyrillic">&font.langGroup.cyrillic;</html:option>
|
|
<html:option value="x-baltic">&font.langGroup.baltic;</html:option>
|
|
<html:option value="el">&font.langGroup.el;</html:option>
|
|
<html:option value="tr">&font.langGroup.turkish;</html:option>
|
|
<html:option value="x-unicode">&font.langGroup.unicode;</html:option>
|
|
<html:option value="x-user-def">&font.langGroup.user-def;</html:option>
|
|
<html:option value="th">&font.langGroup.thai;</html:option>
|
|
<html:option value="he">&font.langGroup.hebrew;</html:option>
|
|
<html:option value="ar">&font.langGroup.arabic;</html:option>
|
|
</html:select>
|
|
</html:td>
|
|
</html:tr>
|
|
|
|
<html:tr>
|
|
<html:td>&serif.select;</html:td>
|
|
<html:td>
|
|
<html:select class="Font" id="serif" pref="true" preftype="string" prefstring="">
|
|
</html:select>
|
|
</html:td>
|
|
<html:td>&varFont.select;</html:td>
|
|
<html:td>
|
|
|
|
<html:select class="FontSize" id="size" pref="true" preftype="int">
|
|
<html:option value="12" >12</html:option>
|
|
<html:option value="13" >13</html:option>
|
|
<html:option value="14" >14</html:option>
|
|
<html:option value="15" >15</html:option>
|
|
<html:option value="16" >16</html:option>
|
|
<html:option value="18" >18</html:option>
|
|
<html:option value="20" >20</html:option>
|
|
<html:option value="24" >24</html:option>
|
|
</html:select>
|
|
</html:td>
|
|
</html:tr>
|
|
|
|
<html:tr>
|
|
<html:td>&sans-serif.select;</html:td>
|
|
<html:td>
|
|
<html:select class="Font" id="sans-serif" pref="true" preftype="string" prefstring="">
|
|
</html:select>
|
|
</html:td>
|
|
</html:tr>
|
|
|
|
<!-- <html:tr>
|
|
<html:td>&cursive.select;</html:td>
|
|
<html:td>
|
|
<html:select id="cursive" pref="true" preftype="string" prefstring="">
|
|
</html:select>
|
|
</html:td>
|
|
</html:tr>
|
|
|
|
<html:tr>
|
|
<html:td>&fantasy.select;</html:td>
|
|
<html:td>
|
|
<html:select id="fantasy" pref="true" preftype="string" prefstring="">
|
|
</html:select>
|
|
</html:td>
|
|
|
|
</html:tr> -->
|
|
|
|
<html:tr>
|
|
<html:td>&monospace.select;</html:td>
|
|
<html:td>
|
|
<html:select class="Font" id="monospace" pref="true" preftype="string" prefstring="">
|
|
</html:select>
|
|
</html:td>
|
|
<html:td>&fixedFont.Select;</html:td>
|
|
<html:td>
|
|
<html:select class="FontSize" id="sizeFixed" pref="true" preftype="int">
|
|
<html:option value="12" >12</html:option>
|
|
<html:option value="13" >13</html:option>
|
|
<html:option value="14" >14</html:option>
|
|
<html:option value="15" >15</html:option>
|
|
<html:option value="16" >16</html:option>
|
|
<html:option value="18" >18</html:option>
|
|
<html:option value="20" >20</html:option>
|
|
<html:option value="24" >24</html:option>
|
|
</html:select>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<box align="vertical" flex="1">
|
|
<html:div class="vertical-gap">
|
|
</html:div>
|
|
</box>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>&default.type.label;</html:label>
|
|
</html:td>
|
|
<html:td>
|
|
<html:input name="DefaultFontRadio" type="radio" id="DefaultFontSerif" pref="true" prefindex="serif" preftype="string" prefstring="font.default"/>
|
|
<html:label for="DefaultFontSerif" accesskey="t" tabindex="0">
|
|
&useDefaultFontSerif;
|
|
</html:label>
|
|
<html:input name="DefaultFontRadio" type="radio" id="DefaultFontSansSerif" pref="true" prefindex="sans-serif" preftype="string" prefstring="font.default"/>
|
|
<html:label for="DefaultFontSansSerif" accesskey="t" tabindex="0">
|
|
&useDefaultFontSansSerif;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
</html:table>
|
|
</html:div>
|
|
</titledbox>
|
|
<!-- fonts with webpages -->
|
|
<titledbox orient="vertical">
|
|
<title><text value="&header2;"/></title>
|
|
<html:div>
|
|
<html:input name="fonts" type="radio" id="browserUseDocumentFonts1"
|
|
pref="true" preftype="int" prefindex="1" prefstring="browser.use_document_fonts"/>
|
|
<html:label for="browserUseDocumentFonts1" accesskey="t" tabindex="0">
|
|
&useDocFontNonDynamic;
|
|
</html:label>
|
|
</html:div>
|
|
<html:div>
|
|
<html:input name="fonts" type="radio" id="browserUseDocumentFonts0"
|
|
pref="true" preftype="int" prefindex="0" prefstring="browser.use_document_fonts"/>
|
|
<html:label for="browserUseDocumentFonts0" accesskey="t" tabindex="0">
|
|
&useDefaultFont;
|
|
</html:label>
|
|
</html:div>
|
|
</titledbox>
|
|
</window>
|