[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] FT_GlyphSlot_Oblique doesn't alter metrics whereas FT_GlyphSlot

From: Omar Cornut
Subject: Re: [ft] FT_GlyphSlot_Oblique doesn't alter metrics whereas FT_GlyphSlot_Embolden does?
Date: Tue, 15 Jan 2019 22:13:36 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

I am trying to understand if it is possible to obtain the expected
size of a bitmap _before_ rendering it.
In general, this is *not* possible, especially if font hinting is
Thank you Werner for this clarification.
I ended you making a temporary copy of the raw pixel data in a set of large buffer, then packing my atlas and copying the pixels back after packaging. Rasterization is only done once. It's a little more code but works better/faster.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]