Postscript font index mystery (IDL) [message #6373] |
Thu, 20 June 1996 00:00 |
munter
Messages: 3 Registered: June 1996
|
Junior Member |
|
|
I am trying to put axis labels on the graphs that are sent to the
screen and postscript plot devices. The screen plots look great.
Everything works fine. I performed a help,/device command to verify
the indices of the different postscript fonts, and make a different
axis label when hard copies of the plots are desired. For some
reason, the text in the postscript files are coming out in the font
index for the screen device.
I put the commands 'help,/device' and 'print,x_name,y_name,title'
in my program just before the plot statement is executed, and here is
the output:
Available graphics_devices: CGM HP LJ NULL PCL PS REGIS TEK X Z
Current graphics device: PS
File: myfile.ps
Mode: Landscape, Non-Encapsulated, EPSI Preview Disabled, Color
Enabled
Offset (X,Y): (1.905,26.035) cm., (0.75,10.25) in.
Size (X,Y): (24.13,17.78) cm., (9.5,7) in.
Scale Factor: 1
Font Size: 12
Font Encoding: ISOLatin1
Font: Helvetica
# bits per image pixel: 8
Font Mapping:
(!3) Helvetica (!4) Helvetica-Bold
(!5) Helvetica-Narrow (!6) Helvetica-Narrow-BoldOblique
(!7) Times-Roman (!8) Times-BoldItalic
(!9) Symbol (!10) ZapfDingbats
(!11) Courier (!12) Courier-Oblique
(!13) Palatino-Roman (!14) Palatino-Italic
(!15) Palatino-Bold (!16) Palatino-BoldItalic
(!17) AvantGarde-Book (!18) NewCenturySchlbk-Roman
(!19) NewCenturySchlbk-Bold (!20) <Undefined-User-Font>
!7K!Dz!N !7Reflectivity
!7RUN 7770 !C 24-MAY-96 00:55:00 BNL4 400Pd/200Nb/400Pd 10t H, .4deg
My question is: if font index 7 is the Times font, and all of my
titles are using font !7, why are they all coming out in the complex
greek font that the XWindow device uses as number 7?
Is it something machine specific like IDL needs to use the fonts
already existing on the machine, or are the fonts supposed to be
internal to IDL?
Thanks for any help on this frustrating problem.
Alan
--
munter@uiuc.edu, http://ne43.ne.uiuc.edu/~amunter/
|
|
|