[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1)
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1) |
Date: |
Tue, 19 Sep 2017 13:14:09 -0400 |
On Tue, Sep 19, 2017 at 12:27 PM, Nicolas Jinchereau
<address@hidden> wrote:
> I need a way to get the bitmap size without have to create and render a
> glyph. Previously, the glyph metrics worked for this, but they do not work
> for LCD filtered glyphs.
We have FT_LOAD_BITMAP_METRICS_ONLY for bitmap fonts. Perhaps we could
extend it for the outlines by bailing at
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/smooth/ftsmooth.c?id=39ce3ac499d4cd7371031a062f410953c8ecce29#n301
Doesn't Skia do GPU-based rendering? Their current workaround is to
preallocate old-fashioned size, which should be slightly larger or
identical to what FreeType eventually returns, then they eventually
adjust dimensions to the actual image,
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), (continued)
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Alexei Podtelezhnikov, 2017/09/20
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Werner LEMBERG, 2017/09/20
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Jan Alexander Steffens, 2017/09/19
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Nicolas Jinchereau, 2017/09/19
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Alexei Podtelezhnikov, 2017/09/19
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Nicolas Jinchereau, 2017/09/19
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1),
Alexei Podtelezhnikov <=
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Alexei Podtelezhnikov, 2017/09/19
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Nicolas Jinchereau, 2017/09/19