Better HN
topnewbestaskshowjobs
Log inSign up

saadat

16 karma · joined May 13, 2016 (10y ago) · 12 submissions

Website: https://saadatmand.pk
Submissions

comment 4mo ago · link · parent

Ah!

Or, it could be that out of all system fonts on MacOS, only Noto Nastaliq Urdu has a glyph for the bismillah, and thus the system uses it as a fallback...

comment 5mo ago · link · parent

In your iMessage screenshot, this character is being rendered in Noto Nastaliq Urdu[1], which is a font that uses the nastaliq flavor of the Arabic script (as compared to the more widely used naskh flavor, which you're most probably seeing in Chrome's rendering).

What's curious to me is that Apple only uses Noto Nastaliq Urdu if Urdu is enabled in preferred languages and is higher than any other Arabic-script language. [2] Is that so on your machine?

[1] https://fonts.google.com/noto/specimen/Noto+Nastaliq+Urdu?pr... (There's a slight difference in the placement of diacritics here because of a newer font version.)

[2] https://support.apple.com/guide/mac-help/latin-fonts-correct...

comment 4y ago · link · parent

Well, there's Scribus, which may or may not suit your desktop publishing needs: https://www.scribus.net/

comment 4y ago · link · parent

The CSS property leading-trim [1][2] is designed to solve this alignment problem (among others). However, it's still at the Working Draft stage, so it's going to take a while before browsers start supporting it.

[1]: https://www.w3.org/TR/css-inline-3/#leading-trim [2]: https://medium.com/microsoft-design/leading-trim-the-future-...

comment 7y ago · link · parent

Or use the Reader View/Reader mode in Firefox/Safari.

comment 7y ago · link · parent

That link omits some parts of the essay. Complete version here: http://hermiene.net/essays-trans/relativity_of_wrong.html

comment 9y ago · link · parent

Look at the PDF's "PDF Producer", "Creator", or "Application" metadata fields in a PDF reader application.

comment 9y ago · link · parent

Are you using Firefox? I see the same black box in Firefox too (which is actually an SVG inside an <img> tag), but in Chrome, it renders fine: https://imgur.com/a/NdvKN

comment 10y ago · link · parent

Monotype has published a case study too: http://www.monotype.com/resources/case-studies/more-than-800...

comment 10y ago · link · parent

Google's announcement [1] about OT font variations mentions that a CSS proposal is in the works:

> Together with other browser makers, we’re already working on a proposal to extend CSS fonts with variations. Once everyone agrees on the format, we’ll support it in Google Chrome.

[1] http://opensource.googleblog.com/2016/09/introducing-opentyp...

comment 10y ago · link · parent

The same is true for Urdu as well, so if you want to distinguish Urdu from Persian: look for a backward moving (i.e. towards the right) horizontal stroke at the end of a word. This stroke will always run under the preceding letters of the word, except that some dots of the preceding letters may be moved beneath the stroke in order to avoid collision.