Skip to content

Commit

Permalink
Gujarati: add initial-Ra,Halant and ZWJ to base-finding algorithm.
Browse files Browse the repository at this point in the history
  • Loading branch information
n8willis committed Apr 27, 2020
1 parent 11668bb commit 97dc058
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opentype-shaping-gujarati.md
Original file line number Diff line number Diff line change
Expand Up @@ -744,11 +744,12 @@ encountered during the base-consonant search must be tagged

The algorithm for determining the base consonant is

- If the syllable starts with "Ra" and the syllable contains
- If the syllable starts with "Ra,Halant" and the syllable contains
more than one consonant, exclude the starting "Ra" from the list of
consonants to be considered.
- Starting from the end of the syllable, move backwards until a consonant is found.
* If the consonant is the first consonant, stop.
* If the consonant is preceded by the sequence "Halant,ZWJ", stop.
* If the consonant has a below-base form, tag it as
`POS_BELOWBASE_CONSONANT`, then move to the previous consonant.
* If the consonant has a post-base form, tag it as
Expand Down

0 comments on commit 97dc058

Please sign in to comment.