mirror of
https://github.com/sayyadirfanali/Myna.git
synced 2026-01-11 22:40:33 +01:00
Font Feature Support #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bawjames on GitHub (Dec 23, 2025).
Originally assigned to: @sayyadirfanali on GitHub.
As far as I can tell, Myna does not currently have customisable font features.
This would allow users to choose between the two variants of the lowercase L glyph (#20), or to turn on/off ligatures, etc.
Apologies if this already exists and I have missed it.
@bawjames commented on GitHub (Dec 23, 2025):
Also, in release v2.0.0 Beta we got
and, though in #1 it was decided that ligatures was the best implementation, it would be great to optionally have vertically centered
:or|even without ligatures using font features.@sayyadirfanali commented on GitHub (Dec 24, 2025):
@bawjames currently, Myna doesn't feature any ligatures (afaik, in #1 it was decided that contextual alternates should be explored intially and ligatures only if they don't work)
|>,:=etc are implemented using font features (contextual alt and vertical kern) which you can see infeatures.fea(the file is used inbuild.py). about thelglyph, i gathered that nobody would expect the "ambiguous" version and have not supplied it in the release.if you want to get the font without the alternates, you can tweak around with the
build.py. for example, you can remove:e80ce0ccce/build.py (L7)i have committed a script
altl.pyi use personally to avoid features and use the ambiguatedl(which i'm used to). you can use it to build the font (i've not included the actual .otf/.ttf for now to avoid confusion). you'd need to install fontforge though. if you can't use it, you can comment here and i'd post the font files too.in v1 the idea was that there's going to be no frills like variants, alternates, ligatures, etc (i didn't expect any community interest). but now v2 includes all these.
so, there must be a streamlined customisable release allowing more freedom in choosing. but i haven't come around to doing it. maybe you can suggest some ideas on what to release (apart from
.otf,.feafiles), which defaults to use, etc.