googlefonts / fontdiffenator

Font comparison tool
Apache License 2.0
79 stars 13 forks source link

Improve image cell tabulation #52

Closed m4rc1e closed 5 years ago

m4rc1e commented 5 years ago

Tab width is now calculated by using the longest row's advance width. This should stop overflow issues when a row's advance width is greater than the tab value.

Cells per a row are now calculated by using the tab width / img_width.

Before: glyphs_modified

After: glyphs_modified