Hi,
I have couple of Java classes (AWT stuff) that use
Label-s, TextField-s TextArea-s and my own Panel subclass
Text - simple text editor. So far so good. Everything works well
well under Win{95,NT} but on Linux I have trouble setting
font mapping to ISO 8859-2 fonts under X11. Yes, I've read
documentation several times but with no success {:(.
I use in my Text component just single font, say
new Font("Monospaced",Font.PLAIN,20)
it is enough for me. So I tried setting
monospaced.plain.0=-fixed-misc-*-*-*--*-%d-*-*-*-*-iso8859-2
plus corresponding
fontcharset.monospaced.0=sun.io.CharToByteISO8859_2
plus I changed exclusion range to:
exclusion.monospaced.plain.0=0200-ffff
I guess I have troubles setting font.properties (possibly
font.properties.cs) or there is a bug in font mapping code under
Linux ?
Could someone explain me the process of mapping of any single Unicode
character inside JVM to a character beeing displayed using some X11
font ?
Also some code snippets from the places where underlying X11 fonts
are choosen would be big advantage for me to understand the process.
Can someone send it to me ?
I wanted to solve the problem myself, but since I am in Czech Republic,
I was not allowed to sign the Sun's NDA. {:((
Any help and/or pointers will be greatly welcome.
Michal
--
Michal Fadljevic ([EMAIL PROTECTED]) +420/2/701-719