jdk/src/java.desktop/share/conf/psfontj2d.properties
changeset 25859 3317bb8137f4
parent 5506 202f599c92aa
equal deleted inserted replaced
25858:836adbf7a2cd 25859:3317bb8137f4
       
     1 #
       
     2 #
       
     3 # Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
       
     4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     5 #
       
     6 # This code is free software; you can redistribute it and/or modify it
       
     7 # under the terms of the GNU General Public License version 2 only, as
       
     8 # published by the Free Software Foundation.  Oracle designates this
       
     9 # particular file as subject to the "Classpath" exception as provided
       
    10 # by Oracle in the LICENSE file that accompanied this code.
       
    11 #
       
    12 # This code is distributed in the hope that it will be useful, but WITHOUT
       
    13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    14 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    15 # version 2 for more details (a copy is included in the LICENSE file that
       
    16 # accompanied this code).
       
    17 #
       
    18 # You should have received a copy of the GNU General Public License version
       
    19 # 2 along with this work; if not, write to the Free Software Foundation,
       
    20 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    21 #
       
    22 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
       
    23 # or visit www.oracle.com if you need additional information or have any
       
    24 # questions.
       
    25 
       
    26 #
       
    27 #	PostScript printer property file for Java 2D printing.
       
    28 #
       
    29 # WARNING: This is an internal implementation file, not a public file.
       
    30 # Any customisation or reliance on the existence of this file and its
       
    31 # contents or syntax is discouraged and unsupported.
       
    32 # It may be incompatibly changed or removed without any notice.
       
    33 #
       
    34 #
       
    35 font.num=35
       
    36 #
       
    37 # Legacy logical font family names and logical font aliases should all
       
    38 # map to the primary logical font names.
       
    39 #
       
    40 serif=serif
       
    41 times=serif
       
    42 timesroman=serif
       
    43 sansserif=sansserif
       
    44 helvetica=sansserif
       
    45 dialog=sansserif
       
    46 dialoginput=monospaced
       
    47 monospaced=monospaced
       
    48 courier=monospaced
       
    49 #
       
    50 # Next, physical fonts which can be safely mapped to standard postscript fonts
       
    51 # These keys generally map to a value which is the same as the key, so
       
    52 # the key/value is just a way to say the font has a mapping.
       
    53 # Sometimes however we map more than one screen font to the same PS font.
       
    54 #
       
    55 avantgarde=avantgarde_book
       
    56 avantgarde_book=avantgarde_book
       
    57 avantgarde_demi=avantgarde_demi
       
    58 avantgarde_book_oblique=avantgarde_book_oblique
       
    59 avantgarde_demi_oblique=avantgarde_demi_oblique
       
    60 #
       
    61 itcavantgarde=avantgarde_book
       
    62 itcavantgarde=avantgarde_book
       
    63 itcavantgarde_demi=avantgarde_demi
       
    64 itcavantgarde_oblique=avantgarde_book_oblique
       
    65 itcavantgarde_demi_oblique=avantgarde_demi_oblique
       
    66 #
       
    67 bookman=bookman_light
       
    68 bookman_light=bookman_light
       
    69 bookman_demi=bookman_demi
       
    70 bookman_light_italic=bookman_light_italic
       
    71 bookman_demi_italic=bookman_demi_italic
       
    72 #
       
    73 # Exclude "helvetica" on its own as that's a legacy name for a logical font
       
    74 helvetica_bold=helvetica_bold
       
    75 helvetica_oblique=helvetica_oblique
       
    76 helvetica_bold_oblique=helvetica_bold_oblique
       
    77 #
       
    78 itcbookman_light=bookman_light
       
    79 itcbookman_demi=bookman_demi
       
    80 itcbookman_light_italic=bookman_light_italic
       
    81 itcbookman_demi_italic=bookman_demi_italic
       
    82 #
       
    83 # Exclude "courier" on its own as that's a legacy name for a logical font
       
    84 courier_bold=courier_bold
       
    85 courier_oblique=courier_oblique
       
    86 courier_bold_oblique=courier_bold_oblique
       
    87 #
       
    88 courier_new=courier
       
    89 courier_new_bold=courier_bold
       
    90 #
       
    91 monotype_century_schoolbook=newcenturyschoolbook
       
    92 monotype_century_schoolbook_bold=newcenturyschoolbook_bold
       
    93 monotype_century_schoolbook_italic=newcenturyschoolbook_italic
       
    94 monotype_century_schoolbook_bold_italic=newcenturyschoolbook_bold_italic
       
    95 #
       
    96 newcenturyschoolbook=newcenturyschoolbook
       
    97 newcenturyschoolbook_bold=newcenturyschoolbook_bold
       
    98 newcenturyschoolbook_italic=newcenturyschoolbook_italic
       
    99 newcenturyschoolbook_bold_italic=newcenturyschoolbook_bold_italic
       
   100 #
       
   101 palatino=palatino
       
   102 palatino_bold=palatino_bold
       
   103 palatino_italic=palatino_italic
       
   104 palatino_bold_italic=palatino_bold_italic
       
   105 #
       
   106 # Exclude "times" on its own as that's a legacy name for a logical font
       
   107 times_bold=times_roman_bold
       
   108 times_italic=times_roman_italic
       
   109 times_bold_italic=times_roman_bold_italic
       
   110 #
       
   111 times_roman=times_roman
       
   112 times_roman_bold=times_roman_bold
       
   113 times_roman_italic=times_roman_italic
       
   114 times_roman_bold_italic=times_roman_bold_italic
       
   115 #
       
   116 times_new_roman=times_roman
       
   117 times_new_roman_bold=times_roman_bold
       
   118 times_new_roman_italic=times_roman_italic
       
   119 times_new_roman_bold_italic=times_roman_bold_italic
       
   120 #
       
   121 zapfchancery_italic=zapfchancery_italic
       
   122 itczapfchancery_italic=zapfchancery_italic
       
   123 #
       
   124 # Next the mapping of the font name + charset + style to Postscript font name
       
   125 # for the logical fonts.
       
   126 #
       
   127 serif.latin1.plain=Times-Roman
       
   128 serif.latin1.bold=Times-Bold
       
   129 serif.latin1.italic=Times-Italic
       
   130 serif.latin1.bolditalic=Times-BoldItalic
       
   131 serif.symbol.plain=Symbol
       
   132 serif.dingbats.plain=ZapfDingbats
       
   133 serif.symbol.bold=Symbol
       
   134 serif.dingbats.bold=ZapfDingbats
       
   135 serif.symbol.italic=Symbol
       
   136 serif.dingbats.italic=ZapfDingbats
       
   137 serif.symbol.bolditalic=Symbol
       
   138 serif.dingbats.bolditalic=ZapfDingbats
       
   139 #
       
   140 sansserif.latin1.plain=Helvetica
       
   141 sansserif.latin1.bold=Helvetica-Bold
       
   142 sansserif.latin1.italic=Helvetica-Oblique
       
   143 sansserif.latin1.bolditalic=Helvetica-BoldOblique
       
   144 sansserif.symbol.plain=Symbol
       
   145 sansserif.dingbats.plain=ZapfDingbats
       
   146 sansserif.symbol.bold=Symbol
       
   147 sansserif.dingbats.bold=ZapfDingbats
       
   148 sansserif.symbol.italic=Symbol
       
   149 sansserif.dingbats.italic=ZapfDingbats
       
   150 sansserif.symbol.bolditalic=Symbol
       
   151 sansserif.dingbats.bolditalic=ZapfDingbats
       
   152 #
       
   153 monospaced.latin1.plain=Courier
       
   154 monospaced.latin1.bold=Courier-Bold
       
   155 monospaced.latin1.italic=Courier-Oblique
       
   156 monospaced.latin1.bolditalic=Courier-BoldOblique
       
   157 monospaced.symbol.plain=Symbol
       
   158 monospaced.dingbats.plain=ZapfDingbats
       
   159 monospaced.symbol.bold=Symbol
       
   160 monospaced.dingbats.bold=ZapfDingbats
       
   161 monospaced.symbol.italic=Symbol
       
   162 monospaced.dingbats.italic=ZapfDingbats
       
   163 monospaced.symbol.bolditalic=Symbol
       
   164 monospaced.dingbats.bolditalic=ZapfDingbats
       
   165 #
       
   166 # Next the mapping of the font name + charset + style to Postscript font name
       
   167 # for the physical fonts. Since these always report style as plain, the
       
   168 # style key is always plain. So we map using the face name to the correct
       
   169 # style for the postscript font. This is possible since the face names can
       
   170 # be replied upon to be different for each style.
       
   171 # However an application may try to create a Font applying a style to an
       
   172 # physical name. We want to map to the correct Postscript font there too
       
   173 # if possible but we do not map cases where the application tries to
       
   174 # augment a style (eg ask for a bold version of a bold font)
       
   175 # Defer to the 2D package to attempt create an artificially styled version
       
   176 #
       
   177 avantgarde_book.latin1.plain=AvantGarde-Book
       
   178 avantgarde_demi.latin1.plain=AvantGarde-Demi
       
   179 avantgarde_book_oblique.latin1.plain=AvantGarde-BookOblique
       
   180 avantgarde_demi_oblique.latin1.plain=AvantGarde-DemiOblique
       
   181 #
       
   182 avantgarde_book.latin1.bold=AvantGarde-Demi
       
   183 avantgarde_book.latin1.italic=AvantGarde-BookOblique
       
   184 avantgarde_book.latin1.bolditalic=AvantGarde-DemiOblique
       
   185 avantgarde_demi.latin1.italic=AvantGarde-DemiOblique
       
   186 avantgarde_book_oblique.latin1.bold=AvantGarde-DemiOblique
       
   187 #
       
   188 bookman_light.latin1.plain=Bookman-Light
       
   189 bookman_demi.latin1.plain=Bookman-Demi
       
   190 bookman_light_italic.latin1.plain=Bookman-LightItalic
       
   191 bookman_demi_italic.latin1.plain=Bookman-DemiItalic
       
   192 #
       
   193 bookman_light.latin1.bold=Bookman-Demi
       
   194 bookman_light.latin1.italic=Bookman-LightItalic
       
   195 bookman_light.latin1.bolditalic=Bookman-DemiItalic
       
   196 bookman_light_bold.latin1.italic=Bookman-DemiItalic
       
   197 bookman_light_italic.latin1.bold=Bookman-DemiItalic
       
   198 #
       
   199 courier.latin1.plain=Courier
       
   200 courier_bold.latin1.plain=Courier-Bold
       
   201 courier_oblique.latin1.plain=Courier-Oblique
       
   202 courier_bold_oblique.latin1.plain=Courier-BoldOblique
       
   203 courier.latin1.bold=Courier-Bold
       
   204 courier.latin1.italic=Courier-Oblique
       
   205 courier.latin1.bolditalic=Courier-BoldOblique
       
   206 courier_bold.latin1.italic=Courier-BoldOblique
       
   207 courier_italic.latin1.bold=Courier-BoldOblique
       
   208 #
       
   209 helvetica_bold.latin1.plain=Helvetica-Bold
       
   210 helvetica_oblique.latin1.plain=Helvetica-Oblique
       
   211 helvetica_bold_oblique.latin1.plain=Helvetica-BoldOblique
       
   212 helvetica.latin1.bold=Helvetica-Bold
       
   213 helvetica.latin1.italic=Helvetica-Oblique
       
   214 helvetica.latin1.bolditalic=Helvetica-BoldOblique
       
   215 helvetica_bold.latin1.italic=Helvetica-BoldOblique
       
   216 helvetica_italic.latin1.bold=Helvetica-BoldOblique
       
   217 #
       
   218 newcenturyschoolbook.latin1.plain=NewCenturySchlbk-Roman
       
   219 newcenturyschoolbook_bold.latin1.plain=NewCenturySchlbk-Bold
       
   220 newcenturyschoolbook_italic.latin1.plain=NewCenturySchlbk-Italic
       
   221 newcenturyschoolbook_bold_italic.latin1.plain=NewCenturySchlbk-BoldItalic
       
   222 newcenturyschoolbook.latin1.bold=NewCenturySchlbk-Bold
       
   223 newcenturyschoolbook.latin1.italic=NewCenturySchlbk-Italic
       
   224 newcenturyschoolbook.latin1.bolditalic=NewCenturySchlbk-BoldItalic
       
   225 newcenturyschoolbook_bold.latin1.italic=NewCenturySchlbk-BoldItalic
       
   226 newcenturyschoolbook_italic.latin1.bold=NewCenturySchlbk-BoldItalic
       
   227 #
       
   228 palatino.latin1.plain=Palatino-Roman
       
   229 palatino_bold.latin1.plain=Palatino-Bold
       
   230 palatino_italic.latin1.plain=Palatino-Italic
       
   231 palatino_bold_italic.latin1.plain=Palatino-BoldItalic
       
   232 palatino.latin1.bold=Palatino-Bold
       
   233 palatino.latin1.italic=Palatino-Italic
       
   234 palatino.latin1.bolditalic=Palatino-BoldItalic
       
   235 palatino_bold.latin1.italic=Palatino-BoldItalic
       
   236 palatino_italic.latin1.bold=Palatino-BoldItalic
       
   237 #
       
   238 times_roman.latin1.plain=Times-Roman
       
   239 times_roman_bold.latin1.plain=Times-Bold
       
   240 times_roman_italic.latin1.plain=Times-Italic
       
   241 times_roman_bold_italic.latin1.plain=Times-BoldItalic
       
   242 times_roman.latin1.bold=Times-Bold
       
   243 times_roman.latin1.italic=Times-Italic
       
   244 times_roman.latin1.bolditalic=Times-BoldItalic
       
   245 times_roman_bold.latin1.italic=Times-BoldItalic
       
   246 times_roman_italic.latin1.bold=Times-BoldItalic
       
   247 #
       
   248 zapfchancery_italic.latin1.plain=ZapfChancery-MediumItalic
       
   249 #
       
   250 # Finally the mappings of PS font names to indexes.
       
   251 #
       
   252 AvantGarde-Book=0
       
   253 AvantGarde-BookOblique=1
       
   254 AvantGarde-Demi=2
       
   255 AvantGarde-DemiOblique=3
       
   256 Bookman-Demi=4
       
   257 Bookman-DemiItalic=5
       
   258 Bookman-Light=6
       
   259 Bookman-LightItalic=7
       
   260 Courier=8
       
   261 Courier-Bold=9
       
   262 Courier-BoldOblique=10
       
   263 Courier-Oblique=11
       
   264 Helvetica=12
       
   265 Helvetica-Bold=13
       
   266 Helvetica-BoldOblique=14
       
   267 Helvetica-Narrow=15
       
   268 Helvetica-Narrow-Bold=16
       
   269 Helvetica-Narrow-BoldOblique=17
       
   270 Helvetica-Narrow-Oblique=18
       
   271 Helvetica-Oblique=19
       
   272 NewCenturySchlbk-Bold=20
       
   273 NewCenturySchlbk-BoldItalic=21
       
   274 NewCenturySchlbk-Italic=22
       
   275 NewCenturySchlbk-Roman=23
       
   276 Palatino-Bold=24
       
   277 Palatino-BoldItalic=25
       
   278 Palatino-Italic=26
       
   279 Palatino-Roman=27
       
   280 Symbol=28
       
   281 Times-Bold=29
       
   282 Times-BoldItalic=30
       
   283 Times-Italic=31
       
   284 Times-Roman=32
       
   285 ZapfDingbats=33
       
   286 ZapfChancery-MediumItalic=34
       
   287 #
       
   288 font.0=AvantGarde-Book ISOF
       
   289 font.1=AvantGarde-BookOblique ISOF
       
   290 font.2=AvantGarde-Demi ISOF
       
   291 font.3=AvantGarde-DemiOblique ISOF
       
   292 font.4=Bookman-Demi ISOF
       
   293 font.5=Bookman-DemiItalic ISOF
       
   294 font.6=Bookman-Light ISOF
       
   295 font.7=Bookman-LightItalic ISOF
       
   296 font.8=Courier ISOF
       
   297 font.9=Courier-Bold ISOF
       
   298 font.10=Courier-BoldOblique ISOF
       
   299 font.11=Courier-Oblique ISOF
       
   300 font.12=Helvetica ISOF
       
   301 font.13=Helvetica-Bold ISOF
       
   302 font.14=Helvetica-BoldOblique ISOF
       
   303 font.15=Helvetica-Narrow ISOF
       
   304 font.16=Helvetica-Narrow-Bold ISOF
       
   305 font.17=Helvetica-Narrow-BoldOblique ISOF
       
   306 font.18=Helvetica-Narrow-Oblique ISOF
       
   307 font.19=Helvetica-Oblique ISOF
       
   308 font.20=NewCenturySchlbk-Bold ISOF
       
   309 font.21=NewCenturySchlbk-BoldItalic ISOF
       
   310 font.22=NewCenturySchlbk-Italic ISOF
       
   311 font.23=NewCenturySchlbk-Roman ISOF
       
   312 font.24=Palatino-Bold ISOF
       
   313 font.25=Palatino-BoldItalic ISOF
       
   314 font.26=Palatino-Italic ISOF
       
   315 font.27=Palatino-Roman ISOF
       
   316 font.28=Symbol findfont
       
   317 font.29=Times-Bold ISOF
       
   318 font.30=Times-BoldItalic ISOF
       
   319 font.31=Times-Italic ISOF
       
   320 font.32=Times-Roman ISOF
       
   321 font.33=ZapfDingbats findfont
       
   322 font.34=ZapfChancery-MediumItalic ISOF
       
   323 #