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