[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: |
Wed, 20 Sep 2017 16:08:25 -0400 |
> https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_LOAD_BITMAP_METRICS_ONLY
> I proposed expanding FT_LOAD_BITMAP_METRICS_ONLY flag to work for
> outline glyphs as well. If I understand correctly this should help
> with GPU font atlases, rectangle packing, whatever is the Skia
> issue... The stars aligned for the recipients list.
Its easier said than done. The renderers do not see all load_flags but
only the 4-bit (0-5 actually) render_mode enum. I can pass the
FT_LOAD_BITMAP_METRICS_ONLY flag to FT_Render_Glyph at bit 5 or above
to force the renderers to bail once the bitmap metrics are set. Can I
set a bits in enum? This technically changes the type from
FT_Render_Mode to int. Unfortunately, the enum persists deep inside.
Any other ideas?
- [ft-devel] glyph metrics don't match bitmap size (2.8.1), Nicolas Jinchereau, 2017/09/18
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Alexei Podtelezhnikov, 2017/09/18
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Jan Alexander Steffens, 2017/09/18
- 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), Werner LEMBERG, 2017/09/19
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Behdad Esfahbod, 2017/09/20
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Behdad Esfahbod, 2017/09/20
- 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),
Alexei Podtelezhnikov <=
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Nicolas Jinchereau, 2017/09/20
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Behdad Esfahbod, 2017/09/20
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Nicolas Jinchereau, 2017/09/20
- Re: [ft-devel] glyph metrics don't match bitmap size (2.8.1), Nicolas Jinchereau, 2017/09/20
- 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