Closed sridatta1 closed 1 year ago
This issue should ideally be fixed for all Indic scripts that have spacing Anusvara and Visarga and not just for Devanagari.
Apparently this issue still reproducible
The fixing of this issue will depend on what encoding order Unicode decides. See http://www.unicode.org/L2/L2021/21054-svara-markers.pdf
The fixing of this issue will depend on what encoding order Unicode decides. See http://www.unicode.org/L2/L2021/21054-svara-markers.pdf
https://github.com/harfbuzz/harfbuzz/issues/2017#issuecomment-1046057529 :
Recommendation: There was no consensus to make a change.
My understanding of the state of this issue is that
If this is correct, then I'll add reordering routines in the font logic. But please let me know which characters should be reordered - just svarita and anudatta? All of the top and bottom vedic tones? (If anyone could put together a list of characters for me that would be helpful.)
My understanding of the state of this issue is that
- Unicode is going to stick with the current encoding approach (i.e. the text should be नः॑ यः॑ तः॒ and not न॑ः य॑ः त॒ः)
- This ends up with the marks attaching to the visarga instead of the base, which is not ideal
- Therefore it is the responsibility of the font to reorder the svarita and anudatta before the visarga so that they can be anchored correctly over the base.
Caveats
᳢ to ᳨
of vedic extensions should combine with the visarga itself.
As far as tone marks are concerned, reordering is necessary even with the following
If this is correct, then I'll add reordering routines in the font logic. But please let me know which characters should be reordered - just svarita and anudatta? All of the top and bottom vedic tones? (If anyone could put together a list of characters for me that would be helpful.)
All the vedic tones. Those are
These tones are applicable to all brAhmic scripts
꣺ ꣻ᳭ᳺ
(cc @sridatta1 @jamadagni )But please let me know which characters should be reordered - just svarita and anudatta? All of the top and bottom vedic tones?
I think it’s everything. Chapter 12 says “In Vedic, vowels are marked for tone, as are certain non-vocalic characters that are syllabified in Vedic recitation (visarga and anusvāra); the tone marks directly follow the vowel or other character that they modify.”
I've fixed this, at least for the Visarga and at least for Noto Sans Devanagari. The fix will go out with the next release, which will be hopefully at the end of next month. If there are similar issues in other scripts, please open an issue in the appropriate script's repo.
Defect Report
Use this template for filing a defect report. For feature requests and other matters, you can use part of the template and delete what you don't need.
Title
Font
Where the font came from, and when
Font Version
Issue
Observed results Expected results The vedic mark should be placed on/below the previous consonant/vowel.
Additional information
In printed texts,
In a manuscript
Character data