Re: Unix glyph detection urgently needed

From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sun Jun 22 2003 - 22:44:00 EDT

  • Next message: M. Fioretti: "VUM and The RULE project for Congo schools"

     --- Tomas Frydrych <tomasfrydrych@yahoo.co.uk> wrote:
    >
    > If someone could implement glyph presence detection
    > on Unix/xft I
    > would be grateful -- I have some nice code waiting
    > to be turned on
    > that is conditioned by that. Also, once it is in
    > place I will be able
    > to remove the dreaded GR_Graphics::remapGlyph() for
    > ever.
    >
    > As I said in an earlier posting, the glyph detection
    > can be
    > implemented in two ways:
    >
    > 1. When measuring character widths for the cache if
    > the glyph is
    > absent, set the width to GR_CW_ABSENT
    >
    > 2. Alternatively, implement
    > GR_*Font::doesGlyphExist() to replace the
    > virtual implemented in the base class.
    >
    > Choose whatever makes better sense (if you replace
    > the
    > doesGlyphExist() function, the implementation needs
    > to be fast).

    Hi Tomas. This sounds fantastic and I've wanted it for
    a long time.
    Does your patch take into account mapping smart-quotes
    to dumb quotes and the general microsoft symobls
    generally missing from many unix fonts?
    Just checking (:

    Andrew.

    > Tomas

    =====
    http://linguaphile.sourceforge.net/cgi-bin/translator.pl http://www.abisource.com

    ________________________________________________________________________
    Want to chat instantly with your online friends? Get the FREE Yahoo!
    Messenger http://uk.messenger.yahoo.com/



    This archive was generated by hypermail 2.1.4 : Sun Jun 22 2003 - 22:54:59 EDT