1: <?php
2: 3: 4: 5: 6: 7: 8:
9:
10: 11: 12: 13: 14: 15:
16: class Horde_Pdf_Font_Helveticab
17: {
18:
19: public function getWidths()
20: {
21: return array('helveticaB' => 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: '!' => 333,
57: '"' => 474,
58: '#' => 556,
59: '$' => 556,
60: '%' => 889,
61: '&' => 722,
62: '\'' => 238,
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: ':' => 333,
83: ';' => 333,
84: '<' => 584,
85: '=' => 584,
86: '>' => 584,
87: '?' => 611,
88: '@' => 975,
89: 'A' => 722,
90:
91: 'B' => 722,
92: 'C' => 722,
93: 'D' => 722,
94: 'E' => 667,
95: 'F' => 611,
96: 'G' => 778,
97: 'H' => 722,
98: 'I' => 278,
99: 'J' => 556,
100: 'K' => 722,
101: 'L' => 611,
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: '[' => 333,
118: '\\' => 278,
119: ']' => 333,
120: '^' => 584,
121: '_' => 556,
122: '`' => 333,
123: 'a' => 556,
124: 'b' => 611,
125: 'c' => 556,
126: 'd' => 611,
127: 'e' => 556,
128: 'f' => 333,
129: 'g' => 611,
130: 'h' => 611,
131: 'i' => 278,
132: 'j' => 278,
133: 'k' => 556,
134: 'l' => 278,
135: 'm' => 889,
136:
137: 'n' => 611,
138: 'o' => 611,
139: 'p' => 611,
140: 'q' => 611,
141: 'r' => 389,
142: 's' => 556,
143: 't' => 333,
144: 'u' => 611,
145: 'v' => 556,
146: 'w' => 778,
147: 'x' => 556,
148: 'y' => 556,
149: 'z' => 500,
150: '{' => 389,
151: '|' => 280,
152: '}' => 389,
153: '~' => 584,
154: chr(127) => 350,
155: chr(128) => 556,
156: chr(129) => 350,
157: chr(130) => 278,
158: chr(131) => 556,
159:
160: chr(132) => 500,
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) => 278,
174: chr(146) => 278,
175: chr(147) => 500,
176: chr(148) => 500,
177: chr(149) => 350,
178: chr(150) => 556,
179: chr(151) => 1000,
180: chr(152) => 333,
181: chr(153) => 1000,
182:
183: chr(154) => 556,
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) => 280,
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) => 611,
212: chr(182) => 556,
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) => 722,
223: chr(193) => 722,
224: chr(194) => 722,
225: chr(195) => 722,
226: chr(196) => 722,
227: chr(197) => 722,
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) => 556,
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) => 611,
273: chr(241) => 611,
274:
275: chr(242) => 611,
276: chr(243) => 611,
277: chr(244) => 611,
278: chr(245) => 611,
279: chr(246) => 611,
280: chr(247) => 584,
281: chr(248) => 611,
282: chr(249) => 611,
283: chr(250) => 611,
284: chr(251) => 611,
285: chr(252) => 611,
286: chr(253) => 556,
287: chr(254) => 611,
288: chr(255) => 556,
289: ));
290: }
291:
292: }
293: