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

Position of vedic marks with spacing signs in Kannada and Telugu #34

Open
sridatta1 opened this issue Jul 27, 2022 · 2 comments
Open

Position of vedic marks with spacing signs in Kannada and Telugu #34

sridatta1 opened this issue Jul 27, 2022 · 2 comments

Comments

@sridatta1
Copy link

sridatta1 commented Jul 27, 2022

Similar to issue #19 , the vedic marks need to be attached to the previous syllable
image
image
image
image

image
image
image
image

Will apply to all vedic signs

@tiroj
Copy link
Contributor

tiroj commented Jul 28, 2022

Hmm. This could get very complicated in the Tiro Telugu font because of the way in which I use both non-spacing mark and spacing non-mark glyphs for postscript consonant forms and vowel signs. Depending on the context of the cluster, at the end of the GSUB processing sometimes the postscript is a mark (the case if preceded by a subscript that is wider the underhang of the postscript relative to the base) and sometimes it is a spacing glyph (the case if kerned to the base). This is to make the GPOS handling of anchor attachment versus kerning easier to manage. If the postscript glyph at the end of the GSUB processing is a spacing non-mark, there is no way to skip it in the anchor attachment of the Vedic marks.

This would all have been a lot simpler if Unicode had allowed for visual ordering of Vedic marks, rather than shoving them to the end of the cluster.

I’ll give some thought to how best to handle this. The Tiro Telugu handling for arbitrary conjunct shaping was really difficult to get right, and I am wary about trying to replace it with what will probably be even more complex if I try to make everything but the base into marks. So I might try contextually moving the Vedic marks closer to the base, so they can be more easily anchored where they need to be.

@tiroj
Copy link
Contributor

tiroj commented Aug 1, 2022

The Kannada handling is complicated by the fact that the subscript consonants and postscript signs in Tiro Kannada are not classed as marks at all, since their positioning is handled via kerning rather than mark anchor attachment.

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