Skip to content

Commit

Permalink
Fixed Shadda with other Tashkeel is not distinguishable
Browse files Browse the repository at this point in the history
Fixes : #13
  • Loading branch information
pnarimani committed Mar 30, 2019
1 parent 38035d9 commit 08d0307
Show file tree
Hide file tree
Showing 10 changed files with 164 additions and 61 deletions.
2 changes: 1 addition & 1 deletion Fonts/segoeui Numbers SDF.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Fonts/segoeui RTL Fixed SDF.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Fonts/segoeui RTL Glow SDF.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Fonts/segoeui RTL Outline SDF.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Fonts/segoeui RTL SDF.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Fonts/segoeui Tashkil SDF.asset.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Fonts/segoeui.ttf.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Ranges/TashkilRanges.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
00064b-00065f,000670
00064b-00065f,000670,00FC5E-00FC63
199 changes: 148 additions & 51 deletions Scripts/Runtime/RTLSupport.cs

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion Scripts/Runtime/TashkeelCharacters.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
namespace RTLTMPro
{
// Note that if you add to these characters, you also need to define
// characters inside Range file and TextMesh Pro font asset unicode range.
public enum TashkeelCharacters
{
Fathan = 0x064B,
Expand All @@ -12,8 +14,11 @@ public enum TashkeelCharacters
Sukun = 0x0652,
MaddahAbove = 0x0653,
SuperscriptAlef = 0x670,
ShaddaWithDammatanIsolatedForm = 0xFC5E,
ShaddaWithKasratanIsolatedForm = 0xFC5F,
ShaddaWithFathaIsolatedForm = 0xFC60,
ShaddaWithDammaIsolatedForm = 0xFC61,
ShaddaWithKasraIsolatedForm = 0xFC61
ShaddaWithKasraIsolatedForm = 0xFC62,
ShaddaWithSuperscriptAlefIsolatedForm = 0xFC63
}
}

0 comments on commit 08d0307

Please sign in to comment.