>Is there any method to have dia generate national (in my case polish)
>characters in dia-generated eps file?
This is a know bug (by me at least, there's a line in TODO). I'm no
postscript wizard, but i'll try to do my best to describe things.
>Details:
> - I have polish keyboard mapping under X11
Ok, this means keys pressed generate keysyms which when the selected font
has the correct encoding. I assume polish uses iso-8859-1, which is the
encoding most X11-fonts use.
> - I don't know how and why but dia displays polish characters in its
> window
Since dia normally selects iso8859-1 fonts, the 8-bit chars entered are
displayed correctly.
> - generated eps file contains iso-latin I characters with the
> corresponding codes (i.e. plusminus etc)
I just dump the 8-bit strings to the eps files. The problem is that i
don't select a specific encoding in the postscript file. This means the ps
interpreter will use the default one, which is 7-bit ascii. This means it
will problay drop the 'strange' characters completely.
> - most Linux apps (like StarOffice, Netscape etc with noticeable
> exception of TeX environment) has similar problem but in their case
> there is "ogonkify" program which "corrects" the postscript
I wonder what this program does?
> - ogonkify didn't help when run on dia eps file
> - I do not know postscript but taking short look at files generated via
> netscape and dia I found, that netscape creates some font definitions
> and later uses them - dia do not do such a things
Yes, this is the reason things don't work. You need to create fonts that
have the right encoding for use in the ps file.
> I'd be grateful for any help or advice.
We really need an ps wizard. We also have problems with color images in
generated eps. I might take a look at this this weekend, but i can't
guarantee i'll have any free time.
/ Alex