Alexander Larsson wrote:
> >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.
Not so easy. Polish uses iso-8859-2. Due to limitation of most X apps,
the keyboard mapping maps - for instance - Alt-A to plusminus which has
the same code in iso-8859-1 as aogonek in iso-8859-2.
When the application uses iso-8859-2 X font all looks allright. I do not
know why dia happened to use such a font - I guess some KDE defaults.
> > - 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?
>
Take a look at the two files attached to this letter. First one is (bad)
the postscript generated by netscape, second one is the result of
ogonkify'ing it. The file contains all polish characters.
BTW: if you have a2ps installed, you probably have ogonkify too - with
the permission of author it is distributed as part of a2ps package.
-- Marcin Kasperski Marcin.Kasperski<at>softax.com.pl
-- marckasp<at>friko6.onet.pl
-- Moje pogl�dy s� moimi pogl�dami, nikogo poza mn� nie reprezentuj�.
-- (My opinions are just my opinions.)
pl.ps.gz
postogonkify.ps.gz