• Order of the Butterfly
    Order of the Butterfly
    pegasos-sigi2
    Posts: 265 from 2006/8/31
    Quote:

    geit wrote:
    This block filter stuff is not required.

    The problem is that you convert the UTF8 text to iso8859 and then back to utf8 for displaying. During the first convert you are loosing the characters as iso8859 cannot keep all of them.

    Simply only convert characters required to be displayed outside in the mui gui and hand over utf8 to cairo or ttengine. This will work fine without any side effects.

    Geit


    I convert nothing!
    I use linear UTF8 all the time, no ISO 8859 or other thinks.
    But any of these "blocks" are 0x0A and 0x0D and any of these \xe2\x80\x93.
    0x0A and 0x0D are white-space control codes: '\f','\v','\n','\r'. These are not printable by cairo!
    I must filter them.
    0xE28093 are UTF8-Code for "-". Also not printable, but i change the charstream to ascii "-".
    Spreedy - The spreedsheet editor of MorphOS
    Calimero - Do you know about the new DTP Program for MorphOS ?
  • »28.09.14 - 17:01
    Profile