[HarfBuzz] hb-view cuts of part of text/character?

Behdad Esfahbod behdad at behdad.org
Sun May 27 06:14:23 PDT 2012


On 05/27/2012 08:51 AM, Rolf Langenhuijzen wrote:
> I was able to get hb-view working on my local machine (mac) so that is cool.
> When outputting some text and character tests to a png I noticed it cuts of part of the glyphs mainly when you apply a font feature like swsh or some aalt.
> 
> Can this be prevented so that everything always is inside the outputted image somehow?

Right now the image box is the "logical" text size plus margins.  What you are
asking for is the ink extents, which I have not implemented yet.  In the mean
time you can use the --margin option to work around that.

behdad


> Regards,
> Rolf



More information about the HarfBuzz mailing list