-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compact support for long length ligatures (eg case insensitive ones) #96
Comments
How about this?
feature rlig {
sub A by a uppercase;
// ...
} rlig;
feature rlig {
lookupflag IgnoreMarks;
sub colon s h o o t i n g hyphen s t a r colon by shootingStar;
} rlig;
feature rlig {
sub a uppercase by A;
// ...
} rlig; |
Oh that's genius. |
How fast is this to shape? :) |
I'm not convinced it's a big-enough need. |
Although cute, it feels to me like this should not be treated as a supported case by a shaper, which exists to render text per the expectations of a given writing system. A font developer is welcome to do fun things like this, but they should not expect them to work everywhere or to be performant, and I would not want this sort of example to guide an design decisions made in any software. 🤷 |
I have a project that I wanted this ligature in:
@behdad pointed out this explodes exponentially, and even a ligature of len(10) becomes
2^10 = 1024
separate rules.Is there any way implement this another way in the existing model that isn't very slow (as below), to evolve the OT model to allow for this, or is thing something for the wasm shaper future?
(Behdad proposed this much more complicated ways to do it today, but expects it to be slow, and still might cause offset overflows)
The text was updated successfully, but these errors were encountered: