[HarfBuzz] How to increase harfbuzz numerical precision

Kelvin Ma kelvinsthirteen at gmail.com
Tue Jun 28 20:57:15 UTC 2016


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20160628/b25f7e0c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_052.png
Type: image/png
Size: 19958 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20160628/b25f7e0c/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_051.png
Type: image/png
Size: 14685 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20160628/b25f7e0c/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Selection_053.png
Type: image/png
Size: 28797 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20160628/b25f7e0c/attachment-0005.png>


More information about the HarfBuzz mailing list