From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Sun Jun 22 2003 - 10:25:06 EDT
Potential fix committed. If things break, I'll try &
fix them ASAP.
Tomas, you have a green light.
Dom
CVS:
----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are
removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/xap/unix/xap_UnixFont.cpp
CVS: src/af/xap/unix/xap_UnixFont.h
CVS: src/af/xap/unix/xap_UnixPSFont.cpp
CVS: src/af/xap/unix/xap_UnixPSFont.h
CVS:
----------------------------------------------------------------------
--- Dom Lachowicz <domlachowicz@yahoo.com> wrote:
> I'll look into this if no-one beats me to it. It
> should be doable via at least one of these
> functions:
>
> FcBool XftFontCheckGlyph()
> FcBool XftCharExists()
> FT_UInt XftCharIndex()
>
> Dom
>
> --- 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).
> >
> > Tomas
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
This archive was generated by hypermail 2.1.4 : Sun Jun 22 2003 - 10:36:05 EDT