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

Shape of U+2026 HORIZONTAL ELLIPSIS in Urdu text #100

Open
saadatm opened this issue Feb 23, 2023 · 0 comments
Open

Shape of U+2026 HORIZONTAL ELLIPSIS in Urdu text #100

saadatm opened this issue Feb 23, 2023 · 0 comments

Comments

@saadatm
Copy link
Contributor

saadatm commented Feb 23, 2023

In Gulzar, an interesting bit of OpenType magic is how U+0021 EXCLAMATION MARK and U+003A COLON change their shape based on their adjacent English/Urdu characters:

hb-view Result
hb-view -o exclm-en.png Gulzar-Regular-1.002.ttf "Hi!" exclm-en
hb-view -o exclm-ur.png Gulzar-Regular-1.002.ttf "ہائے!" exclm-ur
hb-view -o colon-en.png Gulzar-Regular-1.002.ttf "a:b" colon-en
hb-view -o colon-ur.png Gulzar-Regular-1.002.ttf "ا:ب" colon-ur

Can we also apply the same magic to U+2026 HORIZONTAL ELLIPSIS too?

hb-view Result
hb-view -o ellipsis-en.png Gulzar-Regular-1.002.ttf "a… b" ellipsis-en
hb-view -o ellipsis-ur.png Gulzar-Regular-1.002.ttf "ا… ب" ellipsis-ur

Currently (as seen above), the ellipsis’ shape remains the same in both English and Urdu text, but it would be nice if, when used in Urdu text, the dots in the ellipsis use the same shape as the dots in the colon or the exclamation mark.

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

1 participant