Open jedateach opened 4 years ago
The library supposedly supports liguatures, but the feature doesn't appear to be demonstrated.
Supposedly ligatures can be loaded according to the font loader: https://github.com/ReCreateJS/txtjs/blob/0fc35ac3a4764a3af4129f38658b878258c31c53/src/FontLoader.ts#L193
These examples are named as such: https://recreatejs.github.io/txtjs/examples/#Text/ligatures, and https://recreatejs.github.io/txtjs/examples/#CharacterText/ligatures. It uses the 'lobster' font, but the corresponding font file doesn't appear to contain ligature data: https://github.com/ReCreateJS/txtjs/blob/0fc35ac3a4764a3af4129f38658b878258c31c53/font/lobster.txt#L347
I'm not sure why this is.
I supposed you've seen this: https://github.com/diverted247/txtjs/issues/19#issuecomment-218723654
I might have some time to work on ligatures. Will keep you posted.
No I didn't, thanks for pointing it out
The library supposedly supports liguatures, but the feature doesn't appear to be demonstrated.
Supposedly ligatures can be loaded according to the font loader: https://github.com/ReCreateJS/txtjs/blob/0fc35ac3a4764a3af4129f38658b878258c31c53/src/FontLoader.ts#L193
These examples are named as such: https://recreatejs.github.io/txtjs/examples/#Text/ligatures, and https://recreatejs.github.io/txtjs/examples/#CharacterText/ligatures. It uses the 'lobster' font, but the corresponding font file doesn't appear to contain ligature data: https://github.com/ReCreateJS/txtjs/blob/0fc35ac3a4764a3af4129f38658b878258c31c53/font/lobster.txt#L347
I'm not sure why this is.