File: README.sazanami

package info (click to toggle)
fonts-vlgothic 20141206-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 8,232 kB
  • sloc: sh: 114; makefile: 2
file content (183 lines) | stat: -rw-r--r-- 7,374 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
�����ʤߥե���ȤˤĤ���

���Υե���Ȥϡ�Common Lisp �˰ܿ����줿���ĸ��ե���ȥ��å� (CLWFK) ��
���Ѥ��Ƽ�ưŪ���������줿�ե���Ȥȡ���¸�β��Ѽ�ͳ�ʥӥåȥޥåץե����
���Ȥ߹�碌�ƺ�������ʪ�Ǥ���

ʸ���ι���Ū�ˤ������ե�������إե���ȤȤۤ�Ʊ���Ǥ�����������ȥ����
�ǡ����ˤޤ��̤ä�����ν������Ԥ��Ƥ��ޤ�������Ū�ˤϡ��ץ���β���
�ˤ�ꡢ�����ǥ�������ʼ������ޤäƤ��������Ȼפ��ޤ���

���ΥС������Ϻǽ�Υ�꡼���ǡ��ʼ���������Դ�����ʪ�Ǥ���
�����ե�������إե���Ȥ�ꡢ�Զ�礬ȯ�������ǽ���Ϲ⤤�Ǥ��礦��
��������ȯ������ޤ����餴��𤤤�������ȹ����Ǥ���

Ϣ����Ȥ��Ƥ� efont-devel �᡼��󥰥ꥹ�Ȥ������ե������򤴻��Ѥ���������
�ɤ���� http://sourceforge.jp/projects/efont/ ���饢�������Ǥ��ޤ���


�饤����

�Х��ʥ�ϡ������������ɤΥ饤���󥹤�Ʊ���Ȥ��ޤ������������ե���Ȥ�
ʸ��ؤ������ߤʤɡ��ե���ȤȤ��Ƥκƻ��Ѥ���Ū�Ȥ��ʤ����Ӥˤ����Ƥϡ�
�ʲ��Ǹ��� Redistribution �ˤ������餺�����¤ʤ��Ԥ����ΤȤ��ޤ���

Copyright (c) 1990-2003
	Wada Laboratory, the University of Tokyo. All rights reserved.
Copyright (c) 2003-2004
	Electronic Font Open Laboratory (/efont/). All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
3. Neither the name of the Wada Laboratory, the University of Tokyo nor
   the names of its contributors may be used to endorse or promote products
   derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY WADA LABORATORY, THE UNIVERSITY OF TOKYO AND
CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE LABORATORY OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

�����ޤ줿�ӥåȥޥåץե���ȤΥ饤���󥹤ˤĤ��Ƥϡ��ƥե���Ȥ�ź��
�ɥ�����Ȥ�Ʊ�����Ƥ���ޤ��Τǡ�������򤴻��Ȥ���������

�ܥե���Ȥ˴ޤޤ�������ե����ͳ��Υ���դϡ�������Ƿ����ñ�ȤǺ�������
���ꥸ�ʥ�ǥ�����˴�Ť� Public Domain �����Υǡ����Τߤ��ޤޤ�Ƥ��ޤ���
��Ω�����ȥ����ץХ󥯤ˤ�곫ȯ���줿 32 �ɥåȥӥåȥޥåפ�ͳ�褹��
�����ǡ������ӥåȥޥåץǡ��������ߤ� CLWFK �� �饤���󥹤Ȱۤʤ�饤����
�����ۤ���Ƥ������ĸ��ե���Ȥ�ͳ�褹��ǡ����ϴޤޤ�Ƥ��ޤ���


�ӥ�ɴĶ�

FontForge (20040601��) �ˡ��ʲ��Υѥå������Ƥƺ������Ƥ��ޤ�������ϡ�
�������ե���Ȥ�ɬ�פȤ���Ķ��Dz����������
�������ޤ줿�ӥåȥޥåפ�ͭ���ˤʤ�ʤ�
�Ȥ������������褹�뤿��Τ�ΤǤ������ꥸ�ʥ�� FontForge ��
������Ǥ�餦ͽ��Ǥ���

--- fontforge/tottf.c.orig	Mon Jun  7 19:18:27 2004
+++ fontforge/tottf.c	Wed Jun 16 13:37:06 2004
@@ -3038,6 +3038,8 @@
     int i,j,cnt1,cnt2,first,last,avg1,avg2,k;
     SplineFont *sf = _sf;
     char *pt;
+    static int const weightFactors[26] = { 64, 14, 27, 35, 100, 20, 14, 42, 63,
+	3, 6, 35, 20, 56, 56, 17, 4, 49, 56, 71, 31, 10, 18, 3, 18, 2 };
 
     os2->version = 1;
     os2->weightClass = sf->pfminfo.weight;
@@ -3102,9 +3104,10 @@
 		if ( sf->chars[i]->width!=0 ) {
 		    avg2 += sf->chars[i]->width; ++cnt2;
 		}
-		if ( sf->chars[i]->unicodeenc==' ' ||
-			(sf->chars[i]->unicodeenc>='a' && sf->chars[i]->unicodeenc<='z')) {
-		    avg1 += sf->chars[i]->width; ++cnt1;
+		if ( sf->chars[i]->unicodeenc==' ') {
+		    avg1 += sf->chars[i]->width * 166; ++cnt1;
+		} else if (sf->chars[i]->unicodeenc>='a' && sf->chars[i]->unicodeenc<='z') {
+		    avg1 += sf->chars[i]->width * weightFactors[sf->chars[i]->unicodeenc-'a']; ++cnt1;
 		}
 	    }
 	}
@@ -3122,9 +3125,9 @@
     while ( pt<os2->achVendID ) *pt++ = ' ';	/* Pad with spaces not NUL */
 
     os2->avgCharWid = 500;
-    /*if ( cnt1==27 )
-	os2->avgCharWid = avg1/cnt1;
-    else*/ if ( cnt2!=0 )
+    if ( cnt1==27 )
+	os2->avgCharWid = avg1/1000;
+    else if ( cnt2!=0 )
 	os2->avgCharWid = avg2/cnt2;
     memcpy(os2->panose,sf->pfminfo.panose,sizeof(os2->panose));
     if ( format==ff_ttfsym ) {
@@ -3349,11 +3352,34 @@
 	putshort(at->os2f,0);
 }
 
-static void dumpgasp(struct alltabs *at) {
+static void dumpgasp(struct alltabs *at, SplineFont *sf) {
+    BDFFont *bdf;
+    uint32 bitmaps = 0;
+    int i, rangecnt = 1;
+
+    for ( bdf=sf->bitmaps; bdf!=NULL; bdf=bdf->next) {
+	if ( BDFDepth(bdf)==1 && bdf->pixelsize<=32 )
+	    bitmaps |= 1<<(bdf->pixelsize-1);
+    }
+    for ( i=1; i<32; i++ ) {
+      if ( (bitmaps&(1<<i))!=((bitmaps&(1<<(i-1)))<<1) )
+	rangecnt++;
+    }
+    if (bitmaps&(1<<31)) rangecnt++;
 
     at->gaspf = tmpfile();
     putshort(at->gaspf,0);	/* Version number */
-    putshort(at->gaspf,1);	/* One range */
+    putshort(at->gaspf,rangecnt);	/* One range */
+    for ( i=0; i<31; i++ ) {
+	if ( (bitmaps&(1<<i))<<1 != (bitmaps&(1<<(i+1))) ) {
+	    putshort(at->gaspf, i+1);
+	    putshort(at->gaspf, bitmaps&(1<<i) ? 0x0 : 0x2);
+	}
+    }
+    if ( bitmaps&(1<<31) ) {
+	putshort(at->gaspf,32);
+	putshort(at->gaspf,0x0);
+    }
     putshort(at->gaspf,0xffff);	/* Upper bound on pixels/em for this range */
     putshort(at->gaspf,0x2);	/* Grey scale, no gridfitting */
 				    /* No hints, so no grids to fit */
@@ -4730,7 +4756,7 @@
     redoos2(at);
     if ( format!=ff_otf && format!=ff_otfcid && format!=ff_none ) {
 	if ( !SFHasInstructions(sf))
-	    dumpgasp(at);
+	    dumpgasp(at, sf);
 	at->fpgmf = dumpstoredtable(sf,CHR('f','p','g','m'),&at->fpgmlen);
 	at->prepf = dumpstoredtable(sf,CHR('p','r','e','p'),&at->preplen);
 	at->cvtf = dumpstoredtable(sf,CHR('c','v','t',' '),&at->cvtlen);



�ѹ�����

2004-06-18	�ǽ�ΥС������

2004-06-21	�ޥ��ʡ����Զ��ν����������Υ����ȥ饤���������

���Ľ񤭤� 'vert' �� 'vert' �ե����������Ѥ���褦���ѹ���
��Oradano �����פ�ʸ������������ѥ����ʣ����
��Latin1 �Υ�������ȤĤ�ʸ���򡢹�������������褦�ˤ��Ƥߤ�
����ī�� U+FF02 ����ä� U+FF01 ����٤��Ƥ����Τ���
��PostScript ̾�˶��򤬴ޤޤ�Ƥ����Τǡ�'-' ���ִ�������

�����ѹ��ˤ��Ľ񤭤��Ǥ��ʤ��ʤäƤ������ᡢ��������α������

2004-06-29	���ΥС��������Զ��ν�����

����ʣ��������ˤ�äƥ����ȥ饤�󤬲��줿ʸ��������
����ī: 5E43, 72A7, 7FB2, 855A, 9120
  �����å�: 5804, 5DC7, 6969, 7768 (��), 789E, 8CC7 (��), 8EF1, 9193
           (9090 �� 9115 �ϰ������줿�ޤޤǤ���)
��vert �ʳ��� OpenType �쥤�����ȥ����� GSUB �ơ��֥뤫����
�������ߥӥåȥޥå� (ayu ͳ��) �γ�������դ����������󥳡��ɤ���Ƥ��餺��
���Ľ񤭤ξ��񤭤β�̾���ݿ���˲����Ƥ����Τ�����
�������β��ۥ���åɤξ�ü���� y ��ɸ�� 1000 �ˤʤ�Х������ä��Τ�����
  ������ 1024 ʬ�� 24 �����㤫�ä����Ȥˤʤ롣