RE : xft gr_UnixGraphics::drawChars() bug (#4021)

From: Joaquin Cuenca Abela (e98cuenc@free.fr)
Date: Mon Jan 20 2003 - 16:15:37 EST

  • Next message: Joaquin Cuenca Abela: "RE : Commit -- fix startup delay due to Xft (was RE : Piece Table with O(log(n)) operations)"

    Tomas wrote:
    >
    > There is a bug in the xft version of the
    > gr_UnixGraphics::drawChars() routine which is responsible for bug
    > 4021; all the drawChars() functions have to skip over character
    > 0xFEFF which is used as a dummy placeholder in handling two-
    > character ligatures. Could someone who understands the xft code
    > deal with this please?

    There is no need to change ::drawChars(). Just add <int>0xfeff</int> to
    the <blank>...</blank> item in /etc/fonts/fonts.conf

    It should be there in recent versions of fontconfig.

    Btw, Tomas, why are you using 0xfeff to express something about
    ligatures? Is there no way to express it using the unicode zero-width
    joiners? What's exactly the role that it plays? To force an optional
    ligature?

    Cheers,



    This archive was generated by hypermail 2.1.4 : Mon Jan 20 2003 - 16:19:04 EST