*** empty log message ***
[m17n/m17n-db.git] / FORMATS / Fontset.ja.txt
1 /* Copyright (C) 2003, 2004
2      National Institute of Advanced Industrial Science and Technology (AIST)
3      Registration Number H15PRO112
4    See the end for copying conditions.  */
5
6 /***ja
7
8 @page mdbFontset ¥Õ¥©¥ó¥È¥»¥Ã¥È
9
10 @section fontset-description ÀâÌÀ
11
12 m17n ¥é¥¤¥Ö¥é¥ê¤Ï¡¢m17n ¥Ç¡¼¥¿¥Ù¡¼¥¹¤«¤é \<fontset, FONTSET-NAME\> ¥¿
13 ¥°¤Ë¤è¤Ã¤Æ¥Õ¥©¥ó¥È¥»¥Ã¥È¤ÎÄêµÁ¤ò¥í¡¼¥É¤¹¤ë¡£¤³¤Î¥Ç¡¼¥¿¤Ï°Ê²¼¤Î¥Õ¥©¡¼¥Þ¥Ã
14 ¥È¤Î¥×¥í¥Ñ¥Æ¥£¥ê¥¹¥È¤È¤·¤Æ¥í¡¼¥É¤µ¤ì¤ë¡£
15
16 @verbatim
17 FONTSET ::= PER-SCRIPT * PER-CHARSET * FALLBACK *
18
19 PER-SCRIPT ::= '(' SCRIPT PER-LANGUAGE + ')'
20
21 PER-LANGUAGE ::= '(' LANGUAGE FONT-SPEC-ELEMENT + ')'
22
23 PER-CHARSET ::= '(' CHARSET FONT-SPEC-ELEMENT + ')'
24
25 FALLBACK ::= FONT-SPEC-ELEMENT
26
27 FONT-SPEC-ELEMENT ::= '(' FONT-SPEC [ FLT-NAME ] ')'
28
29 FONT-SPEC ::=
30      '(' [ FOUNDRY FAMILY
31            [ WEIGHT [ STYLE [ STRETCH [ ADSTYLE ]]]]]
32          REGISTRY ')'
33 @endverbatim    
34
35 @c SCRIPT ¤Ï¥¹¥¯¥ê¥×¥È̾ (e.g. latin, han) ¤ò¼¨¤¹¥·¥ó¥Ü¥ë¤« @c nil¤Ç¤¢
36 ¤ë¡£@c LANGUAGE ¤ÏISO 639 ¤ËÄêµÁ¤µ¤ì¤¿¸À¸ì̾¥³¡¼¥É (e.g. ja, zh) ¤Ç¤¢
37 ¤ë£²Ê¸»ú¤Î¥·¥ó¥Ü¥ë¤« @c nil ¤Ç¤¢¤ë¡£
38
39 @c FONT-SPEC ¤Ï¥Õ¥©¥ó¥È¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ØÄꤹ¤ë¡£@c FOUNDRY ¤«¤é @c
40 REGISTRY ¤Ï¥Õ¥©¥ó¥È¤Î #Mfoundry ¤«¤é #Mregistry ¥×¥í¥Ñ¥Æ¥£¤ËÂбþ¤¹¤ë¥·
41 ¥ó¥Ü¥ë¤Ç¤¢¤ë¡£³Æ¥×¥í¥Ñ¥Æ¥£¤Î°ÕÌ£¤Ë¤Ä¤¤¤Æ¤Ï @ref m17nFont »²¾È¡£
42
43 @c FLT-NAME ¤Ï¥Õ¥©¥ó¥È¥ì¥¤¥¢¥¦¥È¥Æ¡¼¥Ö¥ë¤Î̾Á°¤Ç¤¢¤ë¡£(@ref mdbFLT).
44
45 @section fontset-example Îã
46
47 ¤³¤ì¤Ï @c PER_SCRIPT ¤ÎÎã¤Ç¤¢¤ë¡£
48
49 @verbatim
50 (han
51   (ja
52     ((jisx0208.1983-0)))
53   (zh
54     ((gb2312.1980-0)))
55   (nil
56     ((big5-0))))
57 @endverbatim
58
59 ¤³¤ì¤Ë¤è¤Ã¤Æ¥Õ¥©¥ó¥È¥»¥ì¥¯¥¿¤Ï¡¢"han" Ê¸»ú (¤Ä¤Þ¤ê#Mscript ¥×¥í¥Ñ¥Æ¥£
60 ¤¬ 'han' ¤Ç¤¢¤ëʸ»ú)¤Î¤¦¤Á¡¢Ê¸»ú¤Î M-text Ãæ¤Ç¤Î #Mlanguage ¥Æ¥­¥¹¥È¥×
61 ¥í¥Ñ¥Æ¥£¤¬ "ja" ¤Ç¤¢¤ê¤½¤Îʸ»ú¤¬¥Õ¥©¥ó¥È¤Î¥ì¥Ñ¡¼¥È¥ê¡¼¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ì¤â
62 ¤Î¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥ì¥¸¥¹¥È¥ê¤¬"jisx0208.1983-0" ¤Ç¤¢¤ë¥Õ¥©¥ó¥È¤ò»È¤¦¤³¤È¤ò
63 »Ø¼¨¤µ¤ì¤ë¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢¥ì¥¸¥¹¥È¥ê¤¬ "gb2312.1980-0" ¤ä"big5-0" ¤Ç
64 ¤¢¤ë¤â¤Î¤¬»î¤µ¤ì¤ë¡£"han" Ê¸»ú¤Ë #Mlanguage ¥Æ¥­¥¹¥È¥×¥í¥Ñ¥Æ¥£¤¬Ìµ¤±¤ì
65 ¤Ð¡¢£³¤Ä¤È¤â»î¤µ¤ì¤ë¡£
66
67 ¥Õ¥©¥ó¥ÈÁªÂò¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï´Ø¿ô mdraw_text () »²¾È¡£
68 */
69
70 /* 
71 Copyright (C) 2003, 2004
72   National Institute of Advanced Industrial Science and Technology (AIST)
73   Registration Number H15PRO112
74
75 This file is part of the m17n database; a sub-part of the m17n
76 library.
77
78 The m17n library is free software; you can redistribute it and/or
79 modify it under the terms of the GNU Lesser General Public License
80 as published by the Free Software Foundation; either version 2.1 of
81 the License, or (at your option) any later version.
82
83 The m17n library is distributed in the hope that it will be useful,
84 but WITHOUT ANY WARRANTY; without even the implied warranty of
85 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
86 Lesser General Public License for more details.
87
88 You should have received a copy of the GNU Lesser General Public
89 License along with the m17n library; if not, write to the Free
90 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
91 Boston, MA 02110-1301, USA.
92 */