1: <?php
2: 3: 4: 5: 6: 7: 8:
9:
10: 11: 12: 13: 14: 15:
16: class Horde_Pdf_Font_Helvetica
17: {
18:
19: public function getWidths()
20: {
21: return array('helvetica' => array(
22: chr(0) => 278,
23: chr(1) => 278,
24: chr(2) => 278,
25: chr(3) => 278,
26: chr(4) => 278,
27: chr(5) => 278,
28: chr(6) => 278,
29: chr(7) => 278,
30: chr(8) => 278,
31: chr(9) => 278,
32: chr(10) => 278,
33: chr(11) => 278,
34: chr(12) => 278,
35: chr(13) => 278,
36: chr(14) => 278,
37: chr(15) => 278,
38: chr(16) => 278,
39: chr(17) => 278,
40: chr(18) => 278,
41: chr(19) => 278,
42: chr(20) => 278,
43: chr(21) => 278,
44:
45: chr(22) => 278,
46: chr(23) => 278,
47: chr(24) => 278,
48: chr(25) => 278,
49: chr(26) => 278,
50: chr(27) => 278,
51: chr(28) => 278,
52: chr(29) => 278,
53: chr(30) => 278,
54: chr(31) => 278,
55: ' ' => 278,
56: '!' => 278,
57: '"' => 355,
58: '#' => 556,
59: '$' => 556,
60: '%' => 889,
61: '&' => 667,
62: '\'' => 191,
63: '(' => 333,
64: ')' => 333,
65: '*' => 389,
66: '+' => 584,
67:
68: ',' => 278,
69: '-' => 333,
70: '.' => 278,
71: '/' => 278,
72: '0' => 556,
73: '1' => 556,
74: '2' => 556,
75: '3' => 556,
76: '4' => 556,
77: '5' => 556,
78: '6' => 556,
79: '7' => 556,
80: '8' => 556,
81: '9' => 556,
82: ':' => 278,
83: ';' => 278,
84: '<' => 584,
85: '=' => 584,
86: '>' => 584,
87: '?' => 556,
88: '@' => 1015,
89: 'A' => 667,
90:
91: 'B' => 667,
92: 'C' => 722,
93: 'D' => 722,
94: 'E' => 667,
95: 'F' => 611,
96: 'G' => 778,
97: 'H' => 722,
98: 'I' => 278,
99: 'J' => 500,
100: 'K' => 667,
101: 'L' => 556,
102: 'M' => 833,
103: 'N' => 722,
104: 'O' => 778,
105: 'P' => 667,
106: 'Q' => 778,
107: 'R' => 722,
108: 'S' => 667,
109: 'T' => 611,
110: 'U' => 722,
111: 'V' => 667,
112: 'W' => 944,
113:
114: 'X' => 667,
115: 'Y' => 667,
116: 'Z' => 611,
117: '[' => 278,
118: '\\' => 278,
119: ']' => 278,
120: '^' => 469,
121: '_' => 556,
122: '`' => 333,
123: 'a' => 556,
124: 'b' => 556,
125: 'c' => 500,
126: 'd' => 556,
127: 'e' => 556,
128: 'f' => 278,
129: 'g' => 556,
130: 'h' => 556,
131: 'i' => 222,
132: 'j' => 222,
133: 'k' => 500,
134: 'l' => 222,
135: 'm' => 833,
136:
137: 'n' => 556,
138: 'o' => 556,
139: 'p' => 556,
140: 'q' => 556,
141: 'r' => 333,
142: 's' => 500,
143: 't' => 278,
144: 'u' => 556,
145: 'v' => 500,
146: 'w' => 722,
147: 'x' => 500,
148: 'y' => 500,
149: 'z' => 500,
150: '{' => 334,
151: '|' => 260,
152: '}' => 334,
153: '~' => 584,
154: chr(127) => 350,
155: chr(128) => 556,
156: chr(129) => 350,
157: chr(130) => 222,
158: chr(131) => 556,
159:
160: chr(132) => 333,
161: chr(133) => 1000,
162: chr(134) => 556,
163: chr(135) => 556,
164: chr(136) => 333,
165: chr(137) => 1000,
166: chr(138) => 667,
167: chr(139) => 333,
168: chr(140) => 1000,
169: chr(141) => 350,
170: chr(142) => 611,
171: chr(143) => 350,
172: chr(144) => 350,
173: chr(145) => 222,
174: chr(146) => 222,
175: chr(147) => 333,
176: chr(148) => 333,
177: chr(149) => 350,
178: chr(150) => 556,
179: chr(151) => 1000,
180: chr(152) => 333,
181: chr(153) => 1000,
182:
183: chr(154) => 500,
184: chr(155) => 333,
185: chr(156) => 944,
186: chr(157) => 350,
187: chr(158) => 500,
188: chr(159) => 667,
189: chr(160) => 278,
190: chr(161) => 333,
191: chr(162) => 556,
192: chr(163) => 556,
193: chr(164) => 556,
194: chr(165) => 556,
195: chr(166) => 260,
196: chr(167) => 556,
197: chr(168) => 333,
198: chr(169) => 737,
199: chr(170) => 370,
200: chr(171) => 556,
201: chr(172) => 584,
202: chr(173) => 333,
203: chr(174) => 737,
204: chr(175) => 333,
205:
206: chr(176) => 400,
207: chr(177) => 584,
208: chr(178) => 333,
209: chr(179) => 333,
210: chr(180) => 333,
211: chr(181) => 556,
212: chr(182) => 537,
213: chr(183) => 278,
214: chr(184) => 333,
215: chr(185) => 333,
216: chr(186) => 365,
217: chr(187) => 556,
218: chr(188) => 834,
219: chr(189) => 834,
220: chr(190) => 834,
221: chr(191) => 611,
222: chr(192) => 667,
223: chr(193) => 667,
224: chr(194) => 667,
225: chr(195) => 667,
226: chr(196) => 667,
227: chr(197) => 667,
228:
229: chr(198) => 1000,
230: chr(199) => 722,
231: chr(200) => 667,
232: chr(201) => 667,
233: chr(202) => 667,
234: chr(203) => 667,
235: chr(204) => 278,
236: chr(205) => 278,
237: chr(206) => 278,
238: chr(207) => 278,
239: chr(208) => 722,
240: chr(209) => 722,
241: chr(210) => 778,
242: chr(211) => 778,
243: chr(212) => 778,
244: chr(213) => 778,
245: chr(214) => 778,
246: chr(215) => 584,
247: chr(216) => 778,
248: chr(217) => 722,
249: chr(218) => 722,
250: chr(219) => 722,
251:
252: chr(220) => 722,
253: chr(221) => 667,
254: chr(222) => 667,
255: chr(223) => 611,
256: chr(224) => 556,
257: chr(225) => 556,
258: chr(226) => 556,
259: chr(227) => 556,
260: chr(228) => 556,
261: chr(229) => 556,
262: chr(230) => 889,
263: chr(231) => 500,
264: chr(232) => 556,
265: chr(233) => 556,
266: chr(234) => 556,
267: chr(235) => 556,
268: chr(236) => 278,
269: chr(237) => 278,
270: chr(238) => 278,
271: chr(239) => 278,
272: chr(240) => 556,
273: chr(241) => 556,
274:
275: chr(242) => 556,
276: chr(243) => 556,
277: chr(244) => 556,
278: chr(245) => 556,
279: chr(246) => 556,
280: chr(247) => 584,
281: chr(248) => 611,
282: chr(249) => 556,
283: chr(250) => 556,
284: chr(251) => 556,
285: chr(252) => 556,
286: chr(253) => 500,
287: chr(254) => 556,
288: chr(255) => 500,
289: ));
290: }
291:
292: }
293: