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

Arabic digits are missing #112

Open
ibo-o opened this issue Jul 22, 2024 · 5 comments
Open

Arabic digits are missing #112

ibo-o opened this issue Jul 22, 2024 · 5 comments

Comments

@ibo-o
Copy link

ibo-o commented Jul 22, 2024

Arabic-Indic Digits don't exist in the GlyphBrowser.
(These digits you can access via Arabic Keyboard)

٠ Arabic-Indic Digit zero  U+0660
١ Arabic-Indic Digit one   U+0661
٢ Arabic-Indic Digit two   U+0662
٣ Arabic-Indic Digit three U+0663
٤ Arabic-Indic Digit four  U+0664
٥ Arabic-Indic Digit five  U+0665
٦ Arabic-Indic Digit six   U+0666
٧ Arabic-Indic Digit seven U+0667
٨ Arabic-Indic Digit eight U+0668
٩ Arabic-Indic Digit nine  U+0669

Only extended Arabic-Indic Digits are available in the list.
(These digits you can access via Persian Keyboard)

۰ arzero  U+06F0
۱ arone   U+06F1
۲ artwo   U+06F2
۳ arthree U+06F3
۴ arfour  U+06F4
۵ arfive  U+06F5
۶ arsix   U+06F6
۷ arseven U+06F7
۸ areight U+06F8
۹ arnine  U+06F9
@typoman
Copy link

typoman commented Jul 22, 2024

Those last set of numbers are commonly used by Persian and Urdu readers can be named like these:

۰ perzero  U+06F0
۱ perone   U+06F1
۲ pertwo   U+06F2
۳ perthree U+06F3
۴ perfour  U+06F4
۵ perfive  U+06F5
۶ persix   U+06F6
۷ perseven U+06F7
۸ pereight U+06F8
۹ pernine  U+06F9

Or they can be prefixed with far instead of per. G app uses a different scheme one-ar for Arabic ones and oneFarsi-ar for Persian ones.

@LettError
Copy link
Owner

The proposal is to rename the ar* glyphs to per*, and then use the ar names for the missing values. Is that correct, @typoman? @typemytype

٠ arzero   U+0660	(was:   missing )
١ arone    U+0661	(was:   missing )
٢ artwo    U+0662	(was:   missing )
٣ arthree  U+0663	(was:   missing )
٤ arfour   U+0664	(was:   missing )
٥ arfive   U+0665	(was:   missing )
٦ arsix    U+0666	(was:   missing )
٧ arseven  U+0667	(was:   missing )
٨ areight  U+0668	(was:   missing )
٩ arnine   U+0669	(was:   missing )

۰ perzero  U+06F0	(was: ٠ arzero  )
۱ perone   U+06F1	(was: ١ arone   )
۲ pertwo   U+06F2	(was: ٢ artwo   )
۳ perthree U+06F3	(was: ٣ arthree )
۴ perfour  U+06F4	(was: ٤ arfour  )
۵ perfive  U+06F5	(was: ٥ arfive  )
۶ persix   U+06F6	(was: ٦ arsix   )
۷ perseven U+06F7	(was: ٧ arseven )
۸ pereight U+06F8	(was: ٨ areight )
۹ pernine  U+06F9	(was: ٩ arnine  )```

@ibo-o
Copy link
Author

ibo-o commented Jul 22, 2024

I'm not sure, but it might not be a good idea to disconnect the Farsi numbers from the Arabic script. Finding a similar solution what G app has might be more informative.

Something like this:

۰ arPerzero  U+06F0
۱ arPerone   U+06F1
۲ arPertwo   U+06F2
۳ arPerthree U+06F3
۴ arPerfour  U+06F4
۵ arPerfive  U+06F5
۶ arPersix   U+06F6
۷ arPerseven U+06F7
۸ arPereight U+06F8
۹ arPernine  U+06F9

@LettError
Copy link
Owner

Ok. What are the arguments for "Persian" over "Farsi"?

I do need to think about the repercussions of the re-assigning of the name arzero from U+06F0 to U+0660

@typoman
Copy link

typoman commented Jul 22, 2024

Persian in English is preferred over Farsi. Farsi is the transliteration from the original name in this language.

LettError added a commit that referenced this issue Oct 7, 2024
Changed my mind, let's go with the "perzero" and friends.
```۰ arPerzero  U+06F0
۱ arPerone   U+06F1
۲ arPertwo   U+06F2
۳ arPerthree U+06F3
۴ arPerfour  U+06F4
۵ arPerfive  U+06F5
۶ arPersix   U+06F6
۷ arPerseven U+06F7
۸ arPereight U+06F8
۹ arPernine  U+06F9```
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

3 participants