Changes between Version 2 and Version 3 of css/font


Ignore:
Timestamp:
02/09/14 11:13:59 (11 years ago)
Author:
Takashi Obina
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • css/font

    v2 v3  
    2929他になにかあるでしょうか?御意見頂ければ幸いです。
    3030}}}
     31
     32= cERLで使用中のフォント設定 =
     33== color.def, font.def ==
     34 * color.def
     35{{{
     36MonValue = 0,0,255
     37SetValue = 0,128,0
     38StaticText = 0,0,0
     39Background = 240,240,240
     40}}}
     41
     42 * font.def
     43{{{
     44//
     45// ===========================================
     46// Font file of CSS BOY for KEK PF/PF-AR/cERL
     47// ===========================================
     48//
     49// Description
     50// -----------
     51//
     52//  This is the font file of CSS BOY for KEK PF/PF-AR/cERL.
     53//  To provide the same look & feel among different operating systems,
     54//  this font file uses IPA fonts as the standard font.
     55//
     56//  Font size
     57//  ---------
     58//
     59//   The unit of font size in this file is "point" while the
     60//   coordianate system in CSS BOY uses "pixel" as the basic unit.
     61//   The conversion from "point" to "pixel" depends on resolution
     62//   (dpi or dots per inch). For example, 12 points is equivalent to
     63//   16 pixels when 96 dpi, and 12 pixels when 72 dpi.
     64//
     65//   Default resolution differ according to the operating system you
     66//   use, and resolution can be changed by the user, at least, on
     67//   Windows and Linux. To provide the same font size in terms of
     68//   pixel among supported operating systems to a maximum extent,
     69//   this font file defines default font size assuming the following
     70//   resolution:
     71//      Windows       : 96 dpi
     72//      Linux (Gnome) : 96 dpi
     73//      Mac OS X      : 72 dpi
     74//
     75//   These are default (or fallback) resolution of those operation
     76//   systems. If you use other resolutions, you have to manually
     77//   change the resoltiont to the above dpi values, or adjust this
     78//   font file to fit your resolution.
     79//
     80//   Note that default resolution may be different from the above
     81//   list. Recent operating systems seem to be able to identify
     82//   physical resolution from the device information, and
     83//   automatically sets the resolution.
     84//
     85//  Known problem(s)
     86//  ----------------
     87//
     88//   * Mac OS X (at least 10.6.3) does not recognize bold and italic
     89//     style of IPA fonts.
     90//
     91//   * When perform "auto size" for Label widget, the size will differ
     92//     according to the operating system.
     93//
     94// History:
     95//  2012/07/25 Takashi Nakamoto (Cosylab)
     96//   * Created.
     97//
     98//  2012/08/02 Takashi Nakamoto (Cosylab)
     99//   * Defined Text_* fonts.
     100//
     101
     102// Default font
     103Default = IPAGothic-regular-12
     104Default(macosx_cocoa) = IPAGothic-regular-16
     105
     106// Regular fixed font
     107Text_12 = IPAGothic-regular-9
     108Text_12(macosx_cocoa) = IPAGothic-regular-12
     109
     110Text_16 = IPAGothic-regular-12
     111Text_16(macosx_cocoa) = IPAGothic-regular-16
     112
     113Text_20 = IPAGothic-regular-15
     114Text_20(macosx_cocoa) = IPAGothic-regular-20
     115
     116Text_24 = IPAGothic-regular-18
     117Text_24(macosx_cocoa) = IPAGothic-regular-24
     118
     119// Bold fixed font
     120Text_12B = IPAGothic-bold-9
     121Text_12B(macosx_cocoa) = IPAGothic-bold-12
     122
     123Text_16B = IPAGothic-bold-12
     124Text_16B(macosx_cocoa) = IPAGothic-bold-16
     125
     126Text_20B = IPAGothic-bold-15
     127Text_20B(macosx_cocoa) = IPAGothic-bold-20
     128
     129Text_24B = IPAGothic-bold-18
     130Text_24B(macosx_cocoa) = IPAGothic-bold-24
     131
     132// Regular propotional font
     133Text_12P = IPAPGothic-regular-9
     134Text_12P(macosx_cocoa) = IPAPGothic-regular-12
     135
     136Text_16P = IPAPGothic-regular-12
     137Text_16P(macosx_cocoa) = IPAPGothic-regular-16
     138
     139Text_20P = IPAPGothic-regular-15
     140Text_20P(macosx_cocoa) = IPAPGothic-regular-20
     141
     142Text_24P = IPAPGothic-regular-18
     143Text_24P(macosx_cocoa) = IPAPGothic-regular-24
     144
     145// Bold propotional font
     146Text_12BP = IPAPGothic-bold-9
     147Text_12BP(macosx_cocoa) = IPAPGothic-bold-12
     148
     149Text_16BP = IPAPGothic-bold-12
     150Text_16BP(macosx_cocoa) = IPAPGothic-bold-16
     151
     152Text_20BP = IPAPGothic-bold-15
     153Text_20BP(macosx_cocoa) = IPAPGothic-bold-20
     154
     155Text_24BP = IPAPGothic-bold-18
     156Text_24BP(macosx_cocoa) = IPAPGothic-bold-24
     157}}}
     158
     159