Skip to content
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

Subsetting Historic Ligatures #295

Closed
bryankaplan opened this issue Aug 19, 2024 · 8 comments
Closed

Subsetting Historic Ligatures #295

bryankaplan opened this issue Aug 19, 2024 · 8 comments

Comments

@bryankaplan
Copy link

Is it possible to specify a subset of hlig? If so, how?

@psb1558
Copy link
Owner

psb1558 commented Aug 20, 2024

Are you using pyftsubset from fontTools? I ask because this is the only tool I've made much use of, and it allows fine control of your subsetting.

@bryankaplan
Copy link
Author

pyftsubset looks quite useful, and it may well answer this question. I don't know yet.

But I may have chosen the wrong word when I said “subset”. Provided a non-subsetted junicode font, is it possible to indicate some (and only some) of the sub-features of hlig?

@psb1558
Copy link
Owner

psb1558 commented Aug 22, 2024

Ah. I see. Sorry, but I don't know of any way to make hist work that way. The feature has just got to be on when you want it and off when you don't. I don't need it myself, but I can see that it could be a pain to use.

@psb1558
Copy link
Owner

psb1558 commented Aug 22, 2024

I have been thinking, actually, of offering an alternative way of getting these ligatures: by placing U+200D zero width joiner between two characters. Then the three-character sequence could be resolved in liga Standard Ligatures instead of in hist. This might make it easier to get individual ligatures without having to turn a feature on and off, possibly disrupting kerning and contextual alternates.

@bryankaplan
Copy link
Author

The ZWJ idea is smart, and I'm sure if you add it, some people will use it.

That being said, for covering an entire text it's generally easier to enable a feature. I just wish they could be enabled individually.

@psb1558
Copy link
Owner

psb1558 commented Aug 23, 2024

Yeah, it would be nice. I've just reviewed the OpenType GSUB lookup types again, and I can't see a way to make it work. If anyone passing by here has an idea, I'd love to hear it.

@eclecticfluff
Copy link
Contributor

If you can use LuaLaTeX for your document, selnolig readily covers this problem with the \nolig macro.

@psb1558
Copy link
Owner

psb1558 commented Dec 23, 2024

I think there is nothing to do here.

@psb1558 psb1558 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants