kas-gui / kas-text

Rich text processing
Apache License 2.0
58 stars 2 forks source link

0.3.1: always fall back to sans-serif + perf fix #52

Closed dhardy closed 3 years ago

dhardy commented 3 years ago

This fixes a couple of issues that came up when trying to draw Arabic using a serif font: (a) we have to fall back to sans-serif fonts, and (b) repeated glyph_index lookups through several fallback fonts are quite slow, so use a cache.