/var/www/hkosl.com/oneMotorChunHing_delete20240201/html/pdf/fonts/kozgopromedium.php


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
<?php
$type 
'cidfont0';
$name 'KozGoPro-Medium-Acro';
$displayname 'Kozuka Gothic Pro (Japanese Sans-Serif)';
$desc = array(
    
'Ascent' => 880,
    
'Descent' => -120,
    
'CapHeight' => 763,
    
'Flags' => 4,
    
'FontBBox' => '[-149 -374 1254 1008]',
    
'ItalicAngle' => 0,
    
'StemV' => 99,
    
'Style' => '<< /Panose <0000020b0700000000000000> >>',
    
'XHeight' => 549,
);
$cidinfo = array(
    
'Registry' => 'Adobe',
    
'Ordering' => 'Japan1',
    
'Supplement' => '4',
);
$enc 'UniJIS-UCS2-H';

// underline position, needs checking:
$up = -75;
$ut 50;

$dw 1000;
$cw = array(
    
32 => 22433 => 26634 => 39235 => 55136 => 56237 => 88338 => 67739 => 21340 => 32241 => 322,
    
42 => 47043 => 67744 => 24745 => 34346 => 24547 => 37048 => 56249 => 56250 => 56251 => 562,
    
52 => 56253 => 56254 => 56255 => 56256 => 56257 => 56258 => 24559 => 24760 => 67761 => 677,
    
62 => 67763 => 44764 => 80865 => 66166 => 60267 => 61068 => 70869 => 53570 => 52871 => 689,
    
72 => 70373 => 27574 => 40475 => 60276 => 51477 => 87178 => 70879 => 72780 => 58581 => 727,
    
82 => 59583 => 53984 => 54185 => 69686 => 61987 => 92288 => 61289 => 59190 => 58491 => 322,
    
92 => 56293 => 32294 => 67795 => 56896 => 34097 => 53298 => 61299 => 475100 => 608101 => 543,
    
102 => 332103 => 603104 => 601105 => 265106 => 276107 => 524108 => 264109 => 901110 => 601111 => 590,
    
112 => 612113 => 607114 => 367115 => 433116 => 369117 => 597118 => 527119 => 800120 => 511121 => 518,
    
122 => 468123 => 321124 => 273125 => 321126 => 341127 => 241128 => 362129 => 241130 => 273131 => 677,
    
132 => 266133 => 562134 => 562135 => 456136 => 562137 => 571138 => 562139 => 416140 => 472141 => 283,
    
142 => 283143 => 587144 => 588145 => 568146 => 545147 => 545148 => 247149 => 561150 => 330151 => 239,
    
152 => 418153 => 416154 => 472155 => 1136156 => 1288157 => 447158 => 340159 => 340160 => 340161 => 340,
    
162 => 340163 => 340164 => 455165 => 340166 => 340167 => 340168 => 340169 => 1136170 => 857171 => 384,
    
172 => 519173 => 727174 => 952175 => 398176 => 834177 => 264178 => 275179 => 590180 => 918181 => 605,
    
182 => 677183 => 769184 => 677185 => 473186 => 361187 => 677188 => 347189 => 340190 => 599191 => 284,
    
192 => 845193 => 845194 => 845195 => 661196 => 661197 => 661198 => 661199 => 661200 => 661201 => 610,
    
202 => 535203 => 535204 => 535205 => 535206 => 275207 => 275208 => 275209 => 275210 => 715211 => 708,
    
212 => 727213 => 727214 => 727215 => 727216 => 727217 => 677218 => 696219 => 696220 => 696221 => 696,
    
222 => 591223 => 584224 => 532225 => 532226 => 532227 => 532228 => 532229 => 532230 => 475231 => 543,
    
232 => 543233 => 543234 => 543235 => 264236 => 264237 => 264238 => 264239 => 584240 => 601241 => 590,
    
242 => 590243 => 590244 => 590245 => 590246 => 677247 => 597248 => 597249 => 597250 => 597251 => 518,
    
252 => 612253 => 518254 => 539255 => 591256 => 584257 => 446258 => 433259 => 683260 => 468261 => 562,
);
$_cr = array(
    array(
231632500), // half-width
    
array(87188718500),
    array(
97389757250), // quarter-width
    
array(97589778333), // third-width
    
array(1206312087500)
);
foreach(
$_cr as $_r) {
    for(
$i $_r[0]; $i <= $_r[1]; $i++) {
        
$cw[$i+31] = $_r[2];
    }
}
// --- EOF ---