silnrsi / font-scheherazade

Scheherazade is a general-purpose Arabic font including many characters needed for minority languages.
SIL Open Font License 1.1
20 stars 4 forks source link

Large superscript alef on tatweel and thin spaces #7

Open amarakon opened 1 year ago

amarakon commented 1 year ago

I can enable the longer superscript alef with the OpenType feature setting cv76=1. This takes effect on all yeh, sad and seen-like characters. I think it would be better if it also took effect on the Arabic tatweel character (U+0640).

LornaSIL commented 1 year ago

Thanks for you request. We will add this to our list of issues for the next version of our font. Since we just did a release we do not have immediate plans for an update.

amarakon commented 1 year ago

I think it should also take effect on a thin space (U+2009) and a non-breaking thin space (U+202F). In the following images, I would like for the superscript alef to be taller, but still starting from the same spot to not confuse it with a regular alef.

import-2023-05-14_00:29:16

sanabel-al-firdaws commented 3 months ago

for the word above when using 400 weight it it dosen't show up correctly

Screenshot_20240806_181614_com microsoft emmx

the same thing with google preview it dosen't show up for 400 weight but shows up for the others correctly

i made an issue for google and now its fixed how can i fix it too for my website ?

bobh0303 commented 3 months ago

Where did you get the fonts from? Also, what exactly is the text that isn't rendering correctly... please give Unicode character numbers or provide a plain text document with the word in it.

sanabel-al-firdaws commented 3 months ago

Where did you get the fonts from? Also, what exactly is the text that isn't rendering correctly... please give Unicode character numbers or provide a plain text document with the word in it.

word that dosen't render correctly

ذَ ٰ⁠لِكَ

where did i get it

https://fontsource.org/fonts/scheherazade-new

copy the above word and paste it in their preview

this happened to me with google preview also but after reporting it to google apperantly its fixed

bobh0303 commented 3 months ago

Thanks for your reply.

In spite of the name of the above-mentioned download file, scheherazade-new_5.0.20.zip, the files within the zip are based on our current release, version 4.0 -- I don't know what the "5.0.20" is supposed to imply.

Also, you can see that within that zip the files are divided into arabic, latin, and latin-ext subsets. This division is characteristic of the Google Fonts service (https://fonts.google.com). To make fonts smaller and thus quicker to download, Google strips out a lot of functionality from the fonts it delivers, including all logic for user-selectable features such as cv76. To further speed up font delivery, Google also subsets the font, removing many characters all together.

I tried your test string on https://fonts.google.com/specimen/Scheherazade+New/tester and get similar results.

The fonts I downloaded from https://fontsource.org do not include any of the various whitespace characters from U+2000 EN QUAD through U+2008 PUNCTUATION SPACE, nor do they include U+2060 WORD JOINER (which your text also uses).

Two suggestions to try:

  1. If you are needing web font dynamically loaded from someone else's font service, try switching from fontsource.org to fonts.google.com. I'd be interested in this result as we have some indication that Google has improved their Arabic font subsetting so you may get better results.
  2. If your web pages are hosted on a server that can deliver its own fonts, download Scheherazade from https://software.sil.org/scheherazade/ and use the woff font files from that zip file on your server.
sanabel-al-firdaws commented 3 months ago

after downloading the font from the og website its working

i am making a pwa so i can just include the woff and woff2 files in the cache