File: README.sazanami

package info (click to toggle)
fonts-vlgothic 20120629-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,744 kB
  • sloc: sh: 104; makefile: 4
file content (183 lines) | stat: -rw-r--r-- 7,374 bytes parent folder | download | duplicates (14)
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 㤫äȤˤʤ롣