On Thu, Jan 24, 2002 at 11:29:51AM +0300, Alexander Kotelnikov wrote: > >>>>> 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_. >
I am not able to configure my machine to do so. Do you have some tips? I can for KOI8-R or JIS.2022 but not for utf8. > >> 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. Hum, Dominik answer such a question recently. I try to find the message I fail. Dominik? > Hope you > know that it is usable only for 7bit and western-european people. > I do not think so. You can use KOI8-R encoding with !I18N_MB but you should effectively specify KOI8-R fonts. > 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. > I learn the xlib like this. I've still some gap, but I progress :o) Olivier -- 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]