On Tue, Sep 19, 2017 at 12:27 PM, Nicolas Jinchereau <[email protected]> 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, _______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
