View | Details | Raw Unified | Return to bug 58880
Collapse All | Expand All

(-)print/gfontview/Makefile (-12 / +4 lines)
Lines 25-46 Link Here
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \
25
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include/freetype1/freetype \
26
			  -I${LOCALBASE}/include" \
26
			  -I${LOCALBASE}/include" \
27
		SPOOLER="/usr/bin/lpr" \
27
		SPOOLER="/usr/bin/lpr" \
28
		LIBS="-L${LOCALBASE}/lib"
28
		LDFLAGS="-L${LOCALBASE}/lib"
29
CONFIGURE_ARGS=	--with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \
29
CONFIGURE_ARGS=	--with-fontdir="${LOCALBASE}/share/ghostscript/fonts" \
30
		--with-libungif
30
		--with-libungif
31
31
32
.include <bsd.port.pre.mk>
33
34
.if ${OSVERSION} >= 501000
35
BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
36
.endif
37
38
post-patch:
32
post-patch:
39
	@${REINPLACE_CMD} -e 's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g ; \
33
	@${REINPLACE_CMD} -e \
40
		 s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
34
		's|CXXFLAGS="-O2"|CXXFLAGS="$$CXXFLAGS"|g' ${WRKSRC}/configure
41
		 s|\$$(top_builddir)/intl/libintl.a|-lintl|g' \
42
		${WRKSRC}/configure
43
	@${REINPLACE_CMD} -e \
35
	@${REINPLACE_CMD} -e \
44
		's|-I/usr/include/freetype||g' ${WRKSRC}/Makefile.in
36
		's|-I/usr/include/freetype||g' ${WRKSRC}/Makefile.in
45
37
46
.include <bsd.port.post.mk>
38
.include <bsd.port.mk>
(-)print/gfontview/files/patch-gfont.h (+8 lines)
Line 0 Link Here
1
--- gfont.h.orig	Mon Mar 19 02:02:22 2001
2
+++ gfont.h	Sun Nov  2 21:31:45 2003
3
@@ -158,4 +158,4 @@
4
 void combo_drag_data_received(GtkWidget *entry, GdkDragContext *context,
5
 			      gint x, gint y, GtkSelectionData *data,
6
 			      guint info, guint time);
7
-#endif _GFONT_H
8
+#endif /* _GFONT_H */
(-)print/gfontview/files/patch-ps.h (+589 lines)
Line 0 Link Here
1
--- ps.h.orig	Sun Jun 25 21:17:29 2000
2
+++ ps.h	Sun Nov  2 21:27:10 2003
3
@@ -71,303 +71,303 @@
4
 ";
5
 
6
 
7
-const char *text_samples = "\
8
-/TextSamplerDict 40 dict def
9
-TextSamplerDict begin
10
-/Inch {72 mul} def
11
-/linewidth 7 Inch def
12
-/yline 9.7 Inch def
13
-/LM 0.7 Inch def
14
-/wordbreak ( ) def
15
-/buf 8 string def
16
-
17
-/DoTitle { % fontname DoTitle
18
-  /Helvetica findfont 18 scalefont setfont
19
-  LM 10.5 Inch moveto
20
-  show 
21
-  ( at ) show fontsize buf cvs show ( points, spacing = ) show
22
-  spacing buf cvs show
23
-} def
24
-
25
-/DoSamples { % fontname fontsize spacing DoSamples
26
-  /spacing exch def
27
-  /fontsize exch def
28
-  /fontname exch def
29
-
30
-  fontname findfont fontsize scalefont setfont
31
-  /newline {/yline yline fontsize spacing mul sub def LM yline moveto} def
32
-  /breakwidth wordbreak stringwidth pop def
33
-  /curwidth 0 def
34
-  /lastwordbreak 0 def
35
-  /startchar 0 def
36
-  /restoftext textstring def
37
-
38
-
39
-  LM yline moveto
40
-  { restoftext wordbreak search
41
-    {
42
-      /nextword exch def pop
43
-      /restoftext exch def
44
-      /wordwidth nextword stringwidth pop def
45
-    
46
-      curwidth wordwidth add linewidth gt
47
-      {
48
-        textstring startchar lastwordbreak startchar sub getinterval
49
-        show newline
50
-        /startchar lastwordbreak def
51
-        /curwidth wordwidth breakwidth add def
52
-      }
53
-      {
54
-        /curwidth curwidth wordwidth breakwidth add add def
55
-      } 
56
-      ifelse
57
-      /lastwordbreak lastwordbreak nextword length 1 add add def
58
-    }
59
-    {pop exit}
60
-    ifelse
61
-  } loop
62
-  /lastchar textstring length def
63
-  textstring startchar lastchar startchar sub getinterval show
64
-} def
65
-end
66
+const char *text_samples = "\n\
67
+/TextSamplerDict 40 dict def\n\
68
+TextSamplerDict begin\n\
69
+/Inch {72 mul} def\n\
70
+/linewidth 7 Inch def\n\
71
+/yline 9.7 Inch def\n\
72
+/LM 0.7 Inch def\n\
73
+/wordbreak ( ) def\n\
74
+/buf 8 string def\n\
75
+\n\
76
+/DoTitle { % fontname DoTitle\n\
77
+  /Helvetica findfont 18 scalefont setfont\n\
78
+  LM 10.5 Inch moveto\n\
79
+  show\n\
80
+  ( at ) show fontsize buf cvs show ( points, spacing = ) show\n\
81
+  spacing buf cvs show\n\
82
+} def\n\
83
+\n\
84
+/DoSamples { % fontname fontsize spacing DoSamples\n\
85
+  /spacing exch def\n\
86
+  /fontsize exch def\n\
87
+  /fontname exch def\n\
88
+\n\
89
+  fontname findfont fontsize scalefont setfont\n\
90
+  /newline {/yline yline fontsize spacing mul sub def LM yline moveto} def\n\
91
+  /breakwidth wordbreak stringwidth pop def\n\
92
+  /curwidth 0 def\n\
93
+  /lastwordbreak 0 def\n\
94
+  /startchar 0 def\n\
95
+  /restoftext textstring def\n\
96
+\n\
97
+\n\
98
+  LM yline moveto\n\
99
+  { restoftext wordbreak search\n\
100
+    {\n\
101
+      /nextword exch def pop\n\
102
+      /restoftext exch def\n\
103
+      /wordwidth nextword stringwidth pop def\n\
104
+   \n\
105
+      curwidth wordwidth add linewidth gt\n\
106
+      {\n\
107
+        textstring startchar lastwordbreak startchar sub getinterval\n\
108
+        show newline\n\
109
+        /startchar lastwordbreak def\n\
110
+        /curwidth wordwidth breakwidth add def\n\
111
+      }\n\
112
+      {\n\
113
+        /curwidth curwidth wordwidth breakwidth add add def\n\
114
+      }\n\
115
+      ifelse\n\
116
+      /lastwordbreak lastwordbreak nextword length 1 add add def\n\
117
+    }\n\
118
+    {pop exit}\n\
119
+    ifelse\n\
120
+  } loop\n\
121
+  /lastchar textstring length def\n\
122
+  textstring startchar lastchar startchar sub getinterval show\n\
123
+} def\n\
124
+end\n\
125
 ";
126
 
127
 
128
 
129
-const char *check_type42 = "\
130
-languagelevel 2 lt
131
-{
132
-  /Helvetica findfont 14 scalefont setfont
133
-  72 420 moveto
134
-  (Your printer or PostScript interpreter does not support PostScript Level 2) show
135
-  showpage
136
-  quit
137
-} if
138
-
139
-42 /FontType resourcestatus not
140
-{
141
-  /Helvetica findfont 14 scalefont setfont
142
-  72 420 moveto
143
-  (Your printer or PostScript interpreter does not support Type 42 fonts) show
144
-  showpage
145
-  quit
146
-} if
147
-pop pop
148
+const char *check_type42 = "\n\
149
+languagelevel 2 lt\n\
150
+{\n\
151
+  /Helvetica findfont 14 scalefont setfont\n\
152
+  72 420 moveto\n\
153
+  (Your printer or PostScript interpreter does not support PostScript Level 2) show\n\
154
+  showpage\n\
155
+  quit\n\
156
+} if\n\
157
+\n\
158
+42 /FontType resourcestatus not\n\
159
+{\n\
160
+  /Helvetica findfont 14 scalefont setfont\n\
161
+  72 420 moveto\n\
162
+  (Your printer or PostScript interpreter does not support Type 42 fonts) show\n\
163
+  showpage\n\
164
+  quit\n\
165
+} if\n\
166
+pop pop\n\
167
 ";
168
 
169
 
170
-const char *phrase_samples = "\
171
-/PhraseSamplerDict 20 dict def
172
-PhraseSamplerDict begin
173
-/Inch {72 mul} def
174
-/LM 0.5 Inch def
175
-/RM 7.6 Inch def
176
-/Temp 64 string def
177
-/T /Helvetica findfont 10 scalefont def
178
-/T6 /Helvetica findfont 6 scalefont def 
179
-/Header {  % text height Header
180
-  RM exch moveto T6 setfont dup stringwidth pop neg 0 rmoveto show
181
-} def
182
-/FontName { % fontname fontfile height FontName
183
-  /y exch def
184
-  /FFile exch def
185
-  /FName exch def
186
-
187
-  LM y moveto
188
-  T setfont FName Temp cvs show
189
-  LM y 8 sub moveto
190
-  T6 setfont FFile show
191
-} def
192
-/FontSample {  % fontname size height FontSample
193
-  /y exch def
194
-  /FSize exch def
195
-  /FName exch def
196
-
197
-  LM 160 add y moveto
198
-  mark
199
-  {
200
-    FName findfont FSize scalefont setfont 
201
-    StringSample show
202
-  }
203
-  stopped {
204
-    LM 160 add y moveto
205
-    T6 setfont (Error: ) show
206
-    $error /errorname get Temp cvs show
207
-    ( [) show
208
-    $error /command get Temp cvs show
209
-    (] ) show               
210
-  }
211
-  if
212
-  cleartomark
213
-} def
214
-end
215
+const char *phrase_samples = "\n\
216
+/PhraseSamplerDict 20 dict def\n\
217
+PhraseSamplerDict begin\n\
218
+/Inch {72 mul} def\n\
219
+/LM 0.5 Inch def\n\
220
+/RM 7.6 Inch def\n\
221
+/Temp 64 string def\n\
222
+/T /Helvetica findfont 10 scalefont def\n\
223
+/T6 /Helvetica findfont 6 scalefont def\n\
224
+/Header {  % text height Header\n\
225
+  RM exch moveto T6 setfont dup stringwidth pop neg 0 rmoveto show\n\
226
+} def\n\
227
+/FontName { % fontname fontfile height FontName\n\
228
+  /y exch def\n\
229
+  /FFile exch def\n\
230
+  /FName exch def\n\
231
+\n\
232
+  LM y moveto\n\
233
+  T setfont FName Temp cvs show\n\
234
+  LM y 8 sub moveto\n\
235
+  T6 setfont FFile show\n\
236
+} def\n\
237
+/FontSample {  % fontname size height FontSample\n\
238
+  /y exch def\n\
239
+  /FSize exch def\n\
240
+  /FName exch def\n\
241
+\n\
242
+  LM 160 add y moveto\n\
243
+  mark\n\
244
+  {\n\
245
+    FName findfont FSize scalefont setfont\n\
246
+    StringSample show\n\
247
+  }\n\
248
+  stopped {\n\
249
+    LM 160 add y moveto\n\
250
+    T6 setfont (Error: ) show\n\
251
+    $error /errorname get Temp cvs show\n\
252
+    ( [) show\n\
253
+    $error /command get Temp cvs show\n\
254
+    (] ) show              \n\
255
+  }\n\
256
+  if\n\
257
+  cleartomark\n\
258
+} def\n\
259
+end\n\
260
 ";
261
 
262
 
263
-const char *size_samples = "\
264
-/SizeSamplerDict 40 dict def
265
-SizeSamplerDict begin
266
-/Strings 
267
-{ [
268
-	(ABCDEFGHIJKLMNOPQRSTUVWXYZ)
269
-	(abcdefghijklmnopqrstuvwxyz)
270
-	(0123456789<=>:;?@!\"#$%&')
271
-	(\\( \\)*+,-./ [ \\\\ ]^_`{|}~)
272
-] } def
273
-
274
-
275
-/Sizes 
276
-{ [
277
-  8 10 12 14 20 24 28
278
-] } def
279
-
280
-/infofont /Helvetica findfont 10 scalefont def
281
-/msg 8 string def
282
-/Inch {72 mul} def
283
-/DoTitle { % fontname DoTitle
284
-  % Write the font name on top of the page
285
-  /Helvetica findfont 18 scalefont setfont
286
-  dup stringwidth
287
-  exch 8 Inch exch sub 2 div exch
288
-  10.5 Inch exch sub
289
-  moveto show
290
-} def
291
-/DoSamples { % font DoSamples
292
-  % Make the font samples
293
-  /fontname exch def
294
-  /testfont fontname findfont def
295
-  1 setlinewidth
296
-  60 50 moveto
297
-
298
-  Sizes
299
-  {
300
-    /size exch def
301
-    testfont size scalefont setfont
302
-    currentpoint translate % start of line
303
-    5 0 rmoveto
304
-
305
-    Strings 
306
-    {
307
-      currentpoint
308
-      3 -1 roll show
309
-      moveto
310
-      0 1.2 size mul rmoveto  % add 30% of the size vertically
311
-    } forall  % Strings
312
-
313
-    -5 0 rmoveto
314
-    currentpoint         % end of line
315
-    newpath 0 0 moveto lineto
316
-    currentpoint stroke  % leave end of line pos in stack
317
-  
318
-  % Print the font size in the middle of the line
319
-    dup                            % leave y in the stack (x is 0)
320
-    infofont setfont
321
-    size msg cvs dup stringwidth   % Push string 'n' and its size on the stack
322
-    4 -1 roll exch sub 2 div         % Stack is 'string width ypos'
323
-    exch 5 add neg exch moveto show  % Move to the left and print
324
-
325
-    moveto         % take end of line pos from stack
326
-    0 15 rmoveto   % Add vertical space between groups
327
-  } forall % Sizes
328
-} def
329
-end
330
+const char *size_samples = "\n\
331
+/SizeSamplerDict 40 dict def\n\
332
+SizeSamplerDict begin\n\
333
+/Strings\n\
334
+{ [\n\
335
+	(ABCDEFGHIJKLMNOPQRSTUVWXYZ)\n\
336
+	(abcdefghijklmnopqrstuvwxyz)\n\
337
+	(0123456789<=>:;?@!\"#$%&')\n\
338
+	(\\( \\)*+,-./ [ \\\\ ]^_`{|}~)\n\
339
+] } def\n\
340
+\n\
341
+\n\
342
+/Sizes\n\
343
+{ [\n\
344
+  8 10 12 14 20 24 28\n\
345
+] } def\n\
346
+\n\
347
+/infofont /Helvetica findfont 10 scalefont def\n\
348
+/msg 8 string def\n\
349
+/Inch {72 mul} def\n\
350
+/DoTitle { % fontname DoTitle\n\
351
+  % Write the font name on top of the page\n\
352
+  /Helvetica findfont 18 scalefont setfont\n\
353
+  dup stringwidth\n\
354
+  exch 8 Inch exch sub 2 div exch\n\
355
+  10.5 Inch exch sub\n\
356
+  moveto show\n\
357
+} def\n\
358
+/DoSamples { % font DoSamples\n\
359
+  % Make the font samples\n\
360
+  /fontname exch def\n\
361
+  /testfont fontname findfont def\n\
362
+  1 setlinewidth\n\
363
+  60 50 moveto\n\
364
+\n\
365
+  Sizes\n\
366
+  {\n\
367
+    /size exch def\n\
368
+    testfont size scalefont setfont\n\
369
+    currentpoint translate % start of line\n\
370
+    5 0 rmoveto\n\
371
+\n\
372
+    Strings\n\
373
+    {\n\
374
+      currentpoint\n\
375
+      3 -1 roll show\n\
376
+      moveto\n\
377
+      0 1.2 size mul rmoveto  % add 30% of the size vertically\n\
378
+    } forall  % Strings\n\
379
+\n\
380
+    -5 0 rmoveto\n\
381
+    currentpoint         % end of line\n\
382
+    newpath 0 0 moveto lineto\n\
383
+    currentpoint stroke  % leave end of line pos in stack\n\
384
+ \n\
385
+  % Print the font size in the middle of the line\n\
386
+    dup                            % leave y in the stack (x is 0)\n\
387
+    infofont setfont\n\
388
+    size msg cvs dup stringwidth   % Push string 'n' and its size on the stack\n\
389
+    4 -1 roll exch sub 2 div         % Stack is 'string width ypos'\n\
390
+    exch 5 add neg exch moveto show  % Move to the left and print\n\
391
+\n\
392
+    moveto         % take end of line pos from stack\n\
393
+    0 15 rmoveto   % Add vertical space between groups\n\
394
+  } forall % Sizes\n\
395
+} def\n\
396
+end\n\
397
 ";
398
 
399
 
400
 
401
-const char *map_samples = "\
402
-/MapSamplerDict 40 dict def
403
-MapSamplerDict begin
404
-/T /Helvetica findfont 10 scalefont def
405
-/T6 /Times-Roman findfont 6 scalefont def
406
-/Temp 64 string def
407
-/Inch {72 mul} def
408
-/Base 16 def    % char code output base
409
-/TempEncoding [ 256 { /.notdef } repeat ] def
410
-/ISOLatin1Dict 256 dict def
411
-ISOLatin1Encoding { ISOLatin1Dict exch true put } forall
412
-/min { 2 copy gt { exch } if pop } bind def
413
-/DoChar {
414
-  /C exch def
415
-  /S (_) dup 0 C put def
416
-  /N F /Encoding get C get def
417
-  /W F setfont S stringwidth pop def
418
-  T6 setfont
419
-  0 -20 moveto N Temp cvs show
420
-  0 -12 moveto
421
-  W 0.0005 add Temp cvs 0 5 getinterval show
422
-  N /.notdef ne {
423
-    3 0 translate
424
-    0 0 moveto F24 setfont S show
425
-    /W S stringwidth pop def
426
-    0 -6 moveto 0 24 lineto
427
-    W -6 moveto W 24 lineto
428
-    -3 0 moveto W 3 add 0 lineto
429
-    0 setlinewidth stroke
430
-  } if
431
-} def                            
432
-/DoTitle { % fontname DoTitle
433
-  /Helvetica findfont 18 scalefont setfont
434
-  dup stringwidth
435
-  exch 8 Inch exch sub 2 div exch
436
-  10.7 Inch exch sub
437
-  moveto show
438
-} def
439
-/Header {  % header Header
440
-  7.6 Inch 10.7 Inch moveto T setfont dup stringwidth pop neg 0 rmoveto show
441
-} def
442
-/DoBlock {      % firstcode lastcode DoBlock
443
-  /FirstCode 2 index def
444
-  1 exch {
445
-    /I exch def
446
-    /Xn I FirstCode sub 16 mod def /Yn I FirstCode sub 16 idiv def
447
-    gsave
448
-    Xn 36 mul 9 add Yn -56 mul 9.5 Inch add translate
449
-    I DoChar
450
-    grestore
451
-  } for
452
-} def                          
453
-/FontShow0 {  % fontname FontShow0
454
-  /FName exch def       % font name
455
-  /F FName findfont def
456
-  /Done 256 dict def
457
-  /NewEncoding [
458
-      ISOLatin1Encoding {
459
-        dup F /CharStrings get exch known {
460
-          dup Done exch known { pop } { dup Done exch true put } ifelse
461
-        } { pop } ifelse
462
-      } forall
463
-      F /CharStrings get {
464
-        pop dup ISOLatin1Dict exch known { pop } if
465
-      } forall
466
-  ] def
467
-  F length dict F {
468
-    1 index /FID eq { pop pop } { 2 index 3 1 roll put } ifelse
469
-  } forall
470
-  dup /Encoding NewEncoding put
471
-  /* exch definefont
472
-  /F exch def
473
-  /F24 F 24 scalefont def
474
-  70 160 translate
475
-  0.80 dup scale
476
-  0 NewEncoding length 1 sub DoBlock
477
-} def                        
478
-/FontShowV {  % encoding fontname FontShowV
479
-  /FName exch def       
480
-  /NewEncoding exch def
481
-  /F FName findfont def
482
-  F length dict F {
483
-    1 index /FID eq { pop pop } { 2 index 3 1 roll put } ifelse
484
-  } forall
485
-  dup /Encoding NewEncoding put
486
-  /* exch definefont
487
-  /F exch def
488
-  /F24 F 24 scalefont def
489
-  70 160 translate
490
-  0.80 dup scale
491
-  0 NewEncoding length 1 sub DoBlock
492
-} def
493
-end  
494
+const char *map_samples = "\n\
495
+/MapSamplerDict 40 dict def\n\
496
+MapSamplerDict begin\n\
497
+/T /Helvetica findfont 10 scalefont def\n\
498
+/T6 /Times-Roman findfont 6 scalefont def\n\
499
+/Temp 64 string def\n\
500
+/Inch {72 mul} def\n\
501
+/Base 16 def    % char code output base\n\
502
+/TempEncoding [ 256 { /.notdef } repeat ] def\n\
503
+/ISOLatin1Dict 256 dict def\n\
504
+ISOLatin1Encoding { ISOLatin1Dict exch true put } forall\n\
505
+/min { 2 copy gt { exch } if pop } bind def\n\
506
+/DoChar {\n\
507
+  /C exch def\n\
508
+  /S (_) dup 0 C put def\n\
509
+  /N F /Encoding get C get def\n\
510
+  /W F setfont S stringwidth pop def\n\
511
+  T6 setfont\n\
512
+  0 -20 moveto N Temp cvs show\n\
513
+  0 -12 moveto\n\
514
+  W 0.0005 add Temp cvs 0 5 getinterval show\n\
515
+  N /.notdef ne {\n\
516
+    3 0 translate\n\
517
+    0 0 moveto F24 setfont S show\n\
518
+    /W S stringwidth pop def\n\
519
+    0 -6 moveto 0 24 lineto\n\
520
+    W -6 moveto W 24 lineto\n\
521
+    -3 0 moveto W 3 add 0 lineto\n\
522
+    0 setlinewidth stroke\n\
523
+  } if\n\
524
+} def                           \n\
525
+/DoTitle { % fontname DoTitle\n\
526
+  /Helvetica findfont 18 scalefont setfont\n\
527
+  dup stringwidth\n\
528
+  exch 8 Inch exch sub 2 div exch\n\
529
+  10.7 Inch exch sub\n\
530
+  moveto show\n\
531
+} def\n\
532
+/Header {  % header Header\n\
533
+  7.6 Inch 10.7 Inch moveto T setfont dup stringwidth pop neg 0 rmoveto show\n\
534
+} def\n\
535
+/DoBlock {      % firstcode lastcode DoBlock\n\
536
+  /FirstCode 2 index def\n\
537
+  1 exch {\n\
538
+    /I exch def\n\
539
+    /Xn I FirstCode sub 16 mod def /Yn I FirstCode sub 16 idiv def\n\
540
+    gsave\n\
541
+    Xn 36 mul 9 add Yn -56 mul 9.5 Inch add translate\n\
542
+    I DoChar\n\
543
+    grestore\n\
544
+  } for\n\
545
+} def                         \n\
546
+/FontShow0 {  % fontname FontShow0\n\
547
+  /FName exch def       % font name\n\
548
+  /F FName findfont def\n\
549
+  /Done 256 dict def\n\
550
+  /NewEncoding [\n\
551
+      ISOLatin1Encoding {\n\
552
+        dup F /CharStrings get exch known {\n\
553
+          dup Done exch known { pop } { dup Done exch true put } ifelse\n\
554
+        } { pop } ifelse\n\
555
+      } forall\n\
556
+      F /CharStrings get {\n\
557
+        pop dup ISOLatin1Dict exch known { pop } if\n\
558
+      } forall\n\
559
+  ] def\n\
560
+  F length dict F {\n\
561
+    1 index /FID eq { pop pop } { 2 index 3 1 roll put } ifelse\n\
562
+  } forall\n\
563
+  dup /Encoding NewEncoding put\n\
564
+  /* exch definefont\n\
565
+  /F exch def\n\
566
+  /F24 F 24 scalefont def\n\
567
+  70 160 translate\n\
568
+  0.80 dup scale\n\
569
+  0 NewEncoding length 1 sub DoBlock\n\
570
+} def                       \n\
571
+/FontShowV {  % encoding fontname FontShowV\n\
572
+  /FName exch def      \n\
573
+  /NewEncoding exch def\n\
574
+  /F FName findfont def\n\
575
+  F length dict F {\n\
576
+    1 index /FID eq { pop pop } { 2 index 3 1 roll put } ifelse\n\
577
+  } forall\n\
578
+  dup /Encoding NewEncoding put\n\
579
+  /* exch definefont\n\
580
+  /F exch def\n\
581
+  /F24 F 24 scalefont def\n\
582
+  70 160 translate\n\
583
+  0.80 dup scale\n\
584
+  0 NewEncoding length 1 sub DoBlock\n\
585
+} def\n\
586
+end\n\
587
 ";
588
 
589

Return to bug 58880