I am using Fortran 77 and GKS for my applications running in VMS.
I export my files in postscript using IWSTYPE=61
I would like to chnage the standard font to a font more similar to
Times-Roman. I use GKS_SET_FONTPREC to change the font.
The problem is that when I change the font, the danish letters æ,ø,å
is no longer printed in postscript. (they still appear on the screen
if I use IWSTYPE=16). Do I need some special postscript font definition
files ??
I really hope that someone can help meon this one!!
med venlig hilsen
Lars
Not all fonts contain all characters. So it might be that your font simply
doesn't include any definitions for your Danish characters.
>med venlig hilsen
Vaer so god
Christoph Gartmann
-- --------------------------------------------------------------------+
| Max-Planck-Institut fuer Phone : +49-761-5108-464 Fax: -452 |
| Immunbiologie |
| Postfach 1169 Internet: gart...@immunbio.mpg.de |
| D-79011 Freiburg, Germany |
+--------- http://www.immunbio.mpg.de/home/english/menue.html ---------+
Look into the postscript for the font handling section:
Here is an example of selecting Eurostyle:
/EurostyleT findfont dup length dict begin
{1 index /FID ne {def} {pop} {pop} ifelse forall
/Encoding ISOLatin1Encoding def
currentdict
end
/Eurostyle exch definefont pop
In other words, you duplicate the font, change the encoding to
ISOLatinEncoding and then define your font to point to that new dictionary.
I don't know about GKS specfically, but if it has template files, you could
change the font selection to ensure it has a full encoding to access the
characters not used by the USA.
Look for "Times-Roman" and "findfont" in the code if it is in one whole big
blob of unreadable junk. You can split lines any way you wish, except for
strings which are enclosed in (Hello World)