[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Clipping Of Empty Glyphs (space)
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Clipping Of Empty Glyphs (space) |
Date: |
Wed, 04 Jun 2008 14:21:47 +0200 (CEST) |
> However for empty glyphs like ' ' it seems that the CBox (bbox) is
> all zeros, and the bitmap->left and bitmap->top are also some
> unrelated value that ignores the transform I set. For ' ' I was sort
> of expecting a bbox with height 0 but with a real width and
> position.
>
> Even if these characters don't need to be drawn anyway, I need to
> determine if they are inside the clip_region. How do I do that?
Empty spacing glyphs have non-zero horizontal metrics, so you have to
check those values.
Werner