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

code ligatures not yet working in Windows Terminal (issues in those apps) #248

Closed
arrowtype opened this issue Nov 18, 2019 · 0 comments
Closed

Comments

@arrowtype
Copy link
Owner

arrowtype commented Nov 18, 2019

Please comment/upvote these issues to show support of adding dlig to the following apps:

Why use discretionary ligatures?

Short answer: these allow code ligatures in a multi-purpose font, where they should be available but not turned on by default (because many users might not understand or want them).

Other fonts (Hasklig, Fira Code, Cascadia Code) use calt in a way that doesn't really fit the OpenType spec, but which doesn't matter as much in "single-purpose" fonts.

For reference, from the OpenType spec:

standard ligatures "cover the ligatures which the designer/manufacturer judges should be used in normal conditions. Example: The glyph for ffl replaces the sequence of glyphs f f l."

contextual ligatures "Unlike other ligature features, 'clig' specifies the context in which the ligature is recommended. This capability is important in some script designs and for swash ligatures. Example: The glyph for ft replaces the sequence f t in Bickham Script, except when preceded by an ascending letter."

discretionary ligatures "Replaces a sequence of glyphs with a single glyph which is preferred for typographic purposes. This feature covers those ligatures which may be used for special effect, at the user’s preference. Example: The glyph for ct replaces the sequence of glyphs c t"

contextual alternates "In specified situations, replaces default glyphs with alternate forms which provide better joining behavior. Used in script typefaces which are designed to have some or all of their glyphs join. Example: In Caflisch Script, o is replaced by o.alt2 when followed by an ascending letterform."

@arrowtype arrowtype changed the title code ligatures not yet working in VS Code & Windows Terminal (issues in those apps) code ligatures not yet working in Windows Terminal (issues in those apps) Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant