From: Dom Lachowicz (firstname.lastname@example.org)
Date: Sun Jun 22 2003 - 10:09:17 EDT
I'll look into this if no-one beats me to it. It
should be doable via at least one of these functions:
--- Tomas Frydrych <email@example.com> 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
> 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
> doesGlyphExist() function, the implementation needs
> to be fast).
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
This archive was generated by hypermail 2.1.4 : Sun Jun 22 2003 - 10:21:11 EDT