[HarfBuzz] hb-view

Behdad Esfahbod behdad at behdad.org
Wed Apr 27 10:34:46 PDT 2011


On 04/21/11 18:21, Adam Twardoch (List) wrote:
> Oh, for the report formats, I'd also like to see, if possible the UPM
> size of the font. The reason why I'm asking for the UPM size to be
> reported is that I've realized at some point that doing scaled
> measurements where the ppem size = UPM size gives you the 1 pixel = 1
> font unit information. So you can render two glyphs, one time with the
> "kern" feature enabled, and one time with the kern feature disabled,
> compare the pixel widths of the bitmaps and know right away what kerning
> value there is. So for complex positioning rules, this can be a handy
> way to run various kinds of tests.

Yes, that's exactly the main size I'm interested in.  Will do.

behdad



More information about the HarfBuzz mailing list