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

[Bari-ye] Collision rects and Multi-anchor attachment #6

Open
be5invis opened this issue Mar 1, 2019 · 1 comment
Open

[Bari-ye] Collision rects and Multi-anchor attachment #6

be5invis opened this issue Mar 1, 2019 · 1 comment

Comments

@be5invis
Copy link

be5invis commented Mar 1, 2019

Very rough thoughts, basic idea:

  • Glyphs can define various rects, and also corresponding "collision group" (an uint16_t).
  • A multi-anchor attachment lookup will define a series of anchors, and when performing attachment, the shaper would find the first anchor that the rects sharing same collision group in the mark and the bases (or base-marks. The glyphs that should be considered as "bases" are selected using a mask, pretty like the flags in the lookup flags) won't collide.

DISCLAIMER: This is NOT a proposal from Microsoft, just from me.

@tiroj
Copy link
Collaborator

tiroj commented Mar 1, 2019

cf. Page 39 of my 2014 TypeCon presentation on Problems of Adjacency

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

2 participants