Hi,

I forward this to the ml because I think this is useful to anyone and
guess you were expecting to answer to the whole, ml. I hope this is OK
Jimmy?!

Jehan

-------- Message original --------
Sujet:  Re: [Materm-devel] Fonts and all these stuffs
Date:   Sun, 5 Oct 2008 08:25:55 -0700
De:     Terminator <[EMAIL PROTECTED]>
Pour ::         Jehan <[EMAIL PROTECTED]>
Références:     <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>



Hi, Jehan,

Traditionally, many fonts cannot render CJK characters properly. They
only work for ASCII and ISO8859-[1-16] characters. Thus, we need special
CJK fonts. And since there are multiple encodings for CJK, multiple fonts
are needed for each encoding. Plus, usually a CJK character is wider than
an English character - as twice wide as the latter. So we need to deal with
this issue.

AFAIK, the latest X fonts already contain all the characters including CJK,
and can render them properly when you use UTF-8. So the difference
between mfont and font is unnecessary any more.

Hope this answer your questions.

BTW, nice work on the UTF-8 stuff. :)

Best,

Jimmy

On Thu, Oct 2, 2008 at 3:57 PM, Jehan <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

    Hi all,


    >> 4/ Is a mfont/xftmfont really needed? I really don't see why we set a
    >> different font depending on the fact that it is multibyte or
    not... On
    >> my tests, it does strange things (for instance, I have french
    >> characters with accents on 2 columns instead of one because in utf-8,
    >> it uses 2 bytes). As far as I understood, font do not really
    depend on
    >> the encoding (or at least, not this way). But maybe there is
    something
    >> I haven't seen myself. So let you explain me. :-)
    >
    > I don't know squat about multichar stuff. Good luck.
    >

    About this... Is there someone here who knows? Someone knowledgeable
    about fonts? From all what I read, I don't really understand why to
    differenciate multibyte from monobyte fonts, and apparently sometimes
    even mix them in the same displayed text!

    What I understood about font, there is absolutely no difference. There
    are just fonts with support of more characters than others. And most
    especially, I guess a font which knows many multibyte characters
    (japanese, chinese, arab, russian, or whatever alphabet in the world you
    like!) also knows the classical monobyte fonts (which are simply ascii
    and the ISO 8859-1 extension...). Or is there some fonts which have
    special characters but not the basic ASCII ones?

    Anyway if someone on this list can help, I would be grateful. Or If you
    can maybe point me to someone who can, I would be grateful too.

    My point here is that I want to simplify the font configuration, but
    first I need to be sure it has really no use at all (as I think), or
    that someone tells me that it is indeed needed for some special
    cases maybe?
    Thanks.

    Jehan

    P.S.: the UTF-8 (and any encoding!) support is well advancing. I have
    still issues in the exposure event, and bigger characters (asian for
    instance) are still badly displayed because I don't manage fully the
    variable size, but it is on the way. And you can already write any
    characters and have them display! :-)
    (providing you use a font which can display the character! ;-)



-------------------------------------------------------------------------
    This SF.Net email is sponsored by the Moblin Your Move Developer's
    challenge
    Build the coolest Linux based applications with Moblin SDK & win
    great prizes
    Grand prize is a trip for two to an Open Source event anywhere in
    the world
    http://moblin-contest.org/redirect.php?banner_id=100&url=/
    <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
    _______________________________________________
    Materm-devel mailing list
    Materm-devel@lists.sourceforge.net
    <mailto:Materm-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/materm-devel
    mrxvt home page: http://materm.sourceforge.net



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Materm-devel mailing list
Materm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/materm-devel
mrxvt home page: http://materm.sourceforge.net

Reply via email to