opentype.js icon indicating copy to clipboard operation
opentype.js copied to clipboard

Feature 'blwf' for Indic Scripts is not yet supported

Open kotpal opened this issue 3 years ago • 1 comments
trafficstars

Indian languages use combining characters and OpenType is not rendering them properly.

Expected Behavior

For example, కృష్ణ is not rendered correctly by OpenTypeJS but notepad (for example), renders it correctly as: image

Current Behavior

కృష్ణ is being rendered as following at https://opentype.js.org/index.html (using Google Telugu font - Noto Sans Telugu): image

kotpal avatar Feb 20 '22 18:02 kotpal

This combination uses the OpenType feature blwf ("Below-base forms"), which like many others is not yet supported. See For Indic scripts, this and several other features should be processed in a specific order: 'nukt', 'akhn', 'rphf', 'rkrf', 'pref', 'blwf', 'half', 'pstf', 'cjct'.

Connum avatar Feb 12 '23 19:02 Connum