HarfBuzz coordinates work in a int32 space. You are free to set whatever scales you want on the font. For example, use 6 or 8 or 10 or 16 bits of sub-pixel precision by multiplying your scale by a number.
On Tue, Jun 28, 2016 at 4:57 PM, Kelvin Ma <[email protected]> wrote: > It appears that harfbuzz rounds all decimals to integers when giving glyph > advances and offsets. This is causing some ugly misalignment problems in > arabic shaping, as well as latin cursive fonts. (see pictures) > > [image: Inline image 1] > > [image: Inline image 2] > > [image: Inline image 3] > How do I get harfbuzz to preserve the floats? > > _______________________________________________ > HarfBuzz mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/harfbuzz > > -- behdad http://behdad.org/
_______________________________________________ HarfBuzz mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/harfbuzz
