>>>>> On Thu, 24 Jan 2002 09:03:38 +0100
>>>>> "Olivier" == Olivier Chapuis <[EMAIL PROTECTED]> wrote:
Olivier> 
Olivier> On Thu, Jan 24, 2002 at 08:48:50AM +0300, Alexander Kotelnikov wrote:
>> Hello
>> 
>> After all changes I made there are still two troubles:
Olivier> 
Olivier> Does this means that you can display in the good way strings
Olivier> encoded in UTF8 ??

Sure. Actually, it does not matter for X if a string is UTF-8 or
KOI8-R or ISO8859-1 or even JIS.2022, _if_ _we_ _use_ _XmbDrawString_.

>> One technical thing to do is to substitute XCreateFontSet with
>> GetFontSetOrFixed in modules.
>> 
Olivier> 
Olivier> Yes, I think that GetFontSetOrFixed/GetFontOrFixed should be
Olivier> used evreywhere. In a perfect wolrd we should have a libs
Olivier> files FText.{c,h} with F* functions with the following
Olivier> correspondance:
Olivier> 
Olivier>   GetFontSetOrFixed or GetFontOrFixed  <-> FGetFontOrFixed
Olivier>   XmbTextEscapement or XTextWidth <-> FTextWidth
Olivier>   XmbDrawString or XDrawString <-> FDrawString
Olivier>   ... etc ...

One thing I cannot undestand why you still keep !I18N_MB. Hope you
know that it is usable only for 7bit and western-european people.

Olivier> Basically, almost no I18N_MB ifdef should appear in fvwm codes (but
Olivier> in the FText.{c,h} files). Also the arguments of the F* functions
Olivier> should be carfully chosen  to allows "text extension" as using Xft
Olivier> text rendering.
Olivier> 
Olivier> This is in my TODO list, but not in the first position at all. So, if
Olivier> you want to do it your are welcome.

I'll think. Frankly speaking I am not in any king an experienced xlib
programmer, fvwm is my experience.

-- 
Alexander Kotelnikov
Saint-Petersburg, Russia
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to