Closed soimy closed 7 years ago
SDF distanceRange should be taken into account for padding and baseline computation. Also for accurate and platform dependent metric computation, we should use os2 table sTypoAscender instead of font.ascender. (Reference: https://stackoverflow.com/questions/19856094/computing-font-truetype-hhea-values-ascender-descender )
Thanks! I'll test soon & release 1.4 :)
SDF distanceRange should be taken into account for padding and baseline computation. Also for accurate and platform dependent metric computation, we should use os2 table sTypoAscender instead of font.ascender. (Reference: https://stackoverflow.com/questions/19856094/computing-font-truetype-hhea-values-ascender-descender )