[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing problem (Conflicting font name?)
Hi:
Thanks for the sample PS file produced by your Textures. It calls for
cmr10 and cmfi10 but does *not* include any actual Type 1 fonts:
/fonts 140 array def
300 10 mul /cmr10-655360 fdict
300 10 mul /cmfi10-655360 fdict
0 10 /cmr10-655360 findfont fdef
1 10 /cmfi10-655360 findfont fdef
Instead it constructs bitmapped Type 3 fonts. But what is worse,
the bitmaps of all the glyphs are blank (white):
dup 48[20.756 2 -1 18 0 16 1 -2 1 {<0000>}]put
dup 49[20.756 4 -1 17 0 13 1 -4 1 {<0000>}]put
dup 50[20.756 2 -1 18 0 16 1 -2 1 {<0000>}]put
dup 51[20.756 2 -1 18 0 16 1 -2 1 {<0000>}]put
dup 52[20.756 1 -1 19 0 18 1 -1 1 {<000000>}]put
dup 53[20.756 2 -1 18 0 16 1 -2 1 {<0000>}]put
dup 54[20.756 2 -1 18 0 16 1 -2 1 {<0000>}]put
dup 55[20.756 2 -1 19 0 17 1 -2 1 {<000000>}]put
dup 56[20.756 2 -1 18 0 16 1 -2 1 {<0000>}]put
dup 57[20.756 2 -1 18 0 16 1 -2 1 {<0000>}]put
No wonder nothing appears in the printed output!
I can only imagine that there is something *very* screwy about
how that machine is set up. Maybe it has neither the Type 1
versions of the fonts nor the bitmapped versions.
Or maybe you have conflicting CM fonts installed with some
other system (or broken ones!), or ... - maybe ask BSR?
Regards, Berthold.
Here is fdict, which defines a Type 3 bitmapped font.
/fdict{9 dict dup begin
/FontType 3 def
/FontMatrix [72.27 5 index div 0 0 2 index 0 0] def
/FontBBox [-20 -20 100 100] def
/CharDefs 256 array def
/Encoding AbsoluteEncoding def
/CharTx matrix def
/BuildChar{exch begin CharDefs exch get dup
null eq {pop}{DoCh} ifelse end} def
end definefont pop pop}bd
Here is fdef
/fdef{exch 0 0 2 index neg 0 0 invert astore makefont
fonts 3 1 roll put}bd
Berthold K.P. Horn
Cambridge, MA mailto:bkph@ai.mit.edu