Skip to content

Commit e34ab90

Browse files
committed
Adding font encoding support
1. WinAnsiEncoding 2. MacRomanEncoding 3. PDFDocEncoding 4. Adobe Standard encoding Supports Adobe Glyph List. WIP for CMap and composite fonts.
1 parent 3e66c64 commit e34ab90

17 files changed

+1477
-35
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ julia 0.6
22
Compat
33
BufferedStreams 0.3
44
Libz 0.2
5-
StringEncodings
65
TimeZones
76
Documenter
87
LabelNumerals
8+
IntervalTrees

data/latin-charset-encoding.txt

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
# glyphname, STD, MAC, WIN, PDF
2+
3+
A,101,101,101,101
4+
AE,341,256,306,306
5+
Aacute,-,347,301,301
6+
Acircumflex,-,345,302,302
7+
Adieresis,-,200,304,304
8+
Agrave,-,313,300,300
9+
Aring,-,201,305,305
10+
Atilde,-,314,303,303
11+
B,102,102,102,102
12+
C,103,103,103,103
13+
Ccedilla,-,202,307,307
14+
D,104,104,104,104
15+
E,105,105,105,105
16+
Eacute,-,203,311,311
17+
Ecircumflex,-,346,312,312
18+
Edieresis,-,350,313,313
19+
Egrave,-,351,310,310
20+
Eth,-,-,320,320
21+
Euro,-,-,200,240
22+
F,106,106,106,106
23+
G,107,107,107,107
24+
H,110,110,110,110
25+
I,111,111,111,111
26+
Iacute,-,352,315,315
27+
Icircumflex,-,353,316,316
28+
Idieresis,-,354,317,317
29+
Igrave,-,355,314,314
30+
J,112,112,112,112
31+
K,113,113,113,113
32+
L,114,114,114,114
33+
Lslash,350,-,-,225
34+
M,115,115,115,115
35+
N,116,116,116,116
36+
Ntilde,-,204,321,321
37+
O,117,117,117,117
38+
OE,352,316,214,226
39+
Oacute,-,356,323,323
40+
Ocircumflex,-,357,324,324
41+
Odieresis,-,205,326,326
42+
Ograve,-,361,322,322
43+
Oslash,351,257,330,330
44+
Otilde,-,315,325,325
45+
P,120,120,120,120
46+
Q,121,121,121,121
47+
R,122,122,122,122
48+
S,123,123,123,123
49+
Scaron,-,-,212,227
50+
T,124,124,124,124
51+
Thorn,-,-,336,336
52+
U,125,125,125,125
53+
Uacute,-,362,332,332
54+
Ucircumflex,-,363,333,333
55+
Udieresis,-,206,334,334
56+
Ugrave,-,364,331,331
57+
V,126,126,126,126
58+
W,127,127,127,127
59+
X,130,130,130,130
60+
Y,131,131,131,131
61+
Yacute,-,-,335,335
62+
Ydieresis,-,331,237,230
63+
Z,132,132,132,132
64+
Zcaron,-,-,216,231
65+
a,141,141,141,141
66+
aacute,-,207,341,341
67+
acircumflex,-,211,342,342
68+
acute,302,253,264,264
69+
adieresis,-,212,344,344
70+
ae,361,276,346,346
71+
agrave,-,210,340,340
72+
ampersand,046,046,046,046
73+
aring,-,214,345,345
74+
asciicircum,136,136,136,136
75+
asciitilde,176,176,176,176
76+
asterisk,052,052,052,052
77+
at,100,100,100,100
78+
atilde,-,213,343,343
79+
b,142,142,142,142
80+
backslash,134,134,134,134
81+
bar,174,174,174,174
82+
braceleft,173,173,173,173
83+
braceright,175,175,175,175
84+
bracketleft,133,133,133,133
85+
bracketright,135,135,135,135
86+
breve,306,371,-,030
87+
brokenbar,-,-,246,246
88+
bullet,267,245,225,200
89+
c,143,143,143,143
90+
caron,317,377,-,031
91+
ccedilla,-,215,347,347
92+
cedilla,313,374,270,270
93+
cent,242,242,242,242
94+
circumflex,303,366,210,032
95+
colon,072,072,072,072
96+
comma,054,054,054,054
97+
copyright,-,251,251,251
98+
currency1,250,333,244,244
99+
d,144,144,144,144
100+
dagger,262,240,206,201
101+
daggerdbl,263,340,207,202
102+
degree,-,241,260,260
103+
dieresis,310,254,250,250
104+
divide,-,326,367,367
105+
dollar,044,044,044,044
106+
dotaccent,307,372,-,033
107+
dotlessi,365,365,-,232
108+
e,145,145,145,145
109+
eacute,-,216,351,351
110+
ecircumflex,-,220,352,352
111+
edieresis,-,221,353,353
112+
egrave,-,217,350,350
113+
eight,070,070,070,070
114+
ellipsis,274,311,205,203
115+
emdash,320,321,227,204
116+
endash,261,320,226,205
117+
equal,075,075,075,075
118+
eth,-,-,360,360
119+
exclam,041,041,041,041
120+
exclamdown,241,301,241,241
121+
f,146,146,146,146
122+
fi,256,336,-,223
123+
five,065,065,065,065
124+
fl,257,337,-,224
125+
florin,246,304,203,206
126+
four,064,064,064,064
127+
fraction,244,332,-,207
128+
g,147,147,147,147
129+
germandbls,373,247,337,337
130+
grave,301,140,140,140
131+
greater,076,076,076,076
132+
guillemotleft,253,307,253,253
133+
guillemotright,273,310,273,273
134+
guilsinglleft,254,334,213,210
135+
guilsinglright,255,335,233,211
136+
h,150,150,150,150
137+
hungarumlaut,315,375,-,034
138+
hyphen,055,055,055,055
139+
i,151,151,151,151
140+
iacute,-,222,355,355
141+
icircumflex,-,224,356,356
142+
idieresis,-,225,357,357
143+
igrave,-,223,354,354
144+
j,152,152,152,152
145+
k,153,153,153,153
146+
l,154,154,154,154
147+
less,074,074,074,074
148+
logicalnot,-,302,254,254
149+
lslash,370,-,-,233
150+
m,155,155,155,155
151+
macron,305,370,257,257
152+
minus,-,-,-,212
153+
mu,-,265,265,265
154+
multiply,-,-,327,327
155+
n,156,156,156,156
156+
nine,071,071,071,071
157+
ntilde,-,226,361,361
158+
numbersign,043,043,043,043
159+
o,157,157,157,157
160+
oacute,-,227,363,363
161+
ocircumflex,-,231,364,364
162+
odieresis,-,232,366,366
163+
oe,372,317,234,234
164+
ogonek,316,376,-,035
165+
ograve,-,230,362,362
166+
one,061,061,061,061
167+
onehalf,-,-,275,275
168+
onequarter,-,-,274,274
169+
onesuperior,-,-,271,271
170+
ordfeminine,343,273,252,252
171+
ordmasculine,353,274,272,272
172+
oslash,371,277,370,370
173+
otilde,-,233,365,365
174+
p,160,160,160,160
175+
paragraph,266,246,266,266
176+
parenleft,050,050,050,050
177+
parenright,051,051,051,051
178+
percent,045,045,045,045
179+
period,056,056,056,056
180+
periodcentered,264,341,267,267
181+
perthousand,275,344,211,213
182+
plus,053,053,053,053
183+
plusminus,-,261,261,261
184+
q,161,161,161,161
185+
question,077,077,077,077
186+
questiondown,277,300,277,277
187+
quotedbl,042,042,042,042
188+
quotedblbase,271,343,204,214
189+
quotedblleft,252,322,223,215
190+
quotedblright,272,323,224,216
191+
quoteleft,140,324,221,217
192+
quoteright,047,325,222,220
193+
quotesinglbase,270,342,202,221
194+
quotesingle,251,047,047,047
195+
r,162,162,162,162
196+
registered,-,250,256,256
197+
ring,312,373,-,036
198+
s,163,163,163,163
199+
scaron,-,-,232,235
200+
section,247,244,247,247
201+
semicolon,073,073,073,073
202+
seven,067,067,067,067
203+
six,066,066,066,066
204+
slash,057,057,057,057
205+
space,040,040,040,040
206+
sterling,243,243,243,243
207+
t,164,164,164,164
208+
thorn,-,-,376,376
209+
three,063,063,063,063
210+
threequarters,-,-,276,276
211+
threesuperior,-,-,263,263
212+
tilde,304,367,230,037
213+
trademark,-,252,231,222
214+
two,062,062,062,062
215+
twosuperior,-,-,262,262
216+
u,165,165,165,165
217+
uacute,-,234,372,372
218+
ucircumflex,-,236,373,373
219+
udieresis,-,237,374,374
220+
ugrave,-,235,371,371
221+
underscore,137,137,137,137
222+
v,166,166,166,166
223+
w,167,167,167,167
224+
x,170,170,170,170
225+
y,171,171,171,171
226+
yacute,-,-,375,375
227+
ydieresis,-,330,377,377
228+
yen,245,264,245,245
229+
z,172,172,172,172
230+
zcaron,-,-,236,236
231+
zero,060,060,060,060

0 commit comments

Comments
 (0)