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

Implement CGJ-based diacritics. #596

Closed
dscorbett opened this issue Jun 11, 2020 · 3 comments
Closed

Implement CGJ-based diacritics. #596

dscorbett opened this issue Jun 11, 2020 · 3 comments
Milestone

Comments

@dscorbett
Copy link

An above-base diacritic following an above-base double diacritic should be rendered above it. For example, here is <U+0075, U+0361, U+034F, U+0301, U+0069> from Unicode’s figure 7-11.
u͡͏́i
The same goes for below-base diacritics following below-base double diacritics.


  • Your font version: 3.1.1
  • Your font variant: Iosevka Extended
  • Your operating system (name and version): macOS 10.14.6
  • Your application using Iosevka: hb-view
@be5invis be5invis added this to the Backlog milestone Jun 11, 2020
@be5invis be5invis modified the milestones: Backlog, 3.2 Jun 11, 2020
@be5invis be5invis reopened this Jun 11, 2020
@be5invis be5invis changed the title Relative positioning of normal and double diacritics Implement CGJ-based diacritics. Jun 11, 2020
@be5invis be5invis modified the milestones: 3.2, 4.0 Jun 11, 2020
@be5invis
Copy link
Owner

@dscorbett AFAIK such CGJ-based tie-marks are not supported by any fonts I know. Could you please provide an example of one font supported that?

@be5invis be5invis modified the milestones: 4.0, 3.2 Jun 11, 2020
@be5invis
Copy link
Owner

This must be the trickiest OTL feature I ever made, but it works. The idea is that if an above mark is after an above tie, then it will be replaced into a mark with the same shape but different mark class, and that attaches to the tie.
Close as fixed.

image

The string is u\u0303\u0361\u034f\u030ei\u030a u\u030e u\u034f\u030e u\u0303\u035f\u034f\u0348i\u030a u\u0348 u\u034f\u0348.

@dscorbett
Copy link
Author

The only other fonts I know that support this are Noto Sans, Noto Sans Mono, and Noto Serif.
ũ͡͏̎i̊ũ͡͏̎i̊ũ͡͏̎i̊
They manage it without substituting marks for clones in different mark classes. Can’t you use the same anchor for attaching U+030E to U+0361 as for U+030E to (e.g.) U+0300? The only difference is that U+0361 would have no attaching mark anchor point for that anchor, just a base mark anchor point.

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

2 participants