How to use XmNfontEncoding with antialiased fonts?

I am trying to use antialiased fonts in the following way

*renderTable xft
*xft*fontType FONT_IS_XFT
*xft*fontName Verdana
*xft*fontSize 8

It works, but characters with ASCII code above 128 are not shown.
I assume that it uses UTF-8 as default encoding.
So I try to define the encoding

*xft*fontEncoding iso8859-1

but it does not work.
How can I properly define font encoding for XFT fonts?
If fontEncoding is not implemented, why is the option present?
If I can only use UTF8 with XFT fonts, which transliteration
tools are available to encode iso8859-1 ... 9 into UTF8

Thanks for the help in advance.


Yuriy Syrota

Yuriy Syrota's picture

How to use XmNfontEncoding with antialiased fonts?

You are right, fontEncoding isn't implemented. For 8-bit encoding you should use Utf8. In order to transform to Utf8 you can use iconv(3)


svga

svga's picture

.aaa

.aaa