News for hackers. Stuff that matters.

saadat

Re:Deciphering Basmala on Monday June 29, 2026 @10:24PM (#48727871)
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...

Re:Deciphering Basmala on Monday June 29, 2026 @03:15AM (#48715878)
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...

Well, there's Scribus, which may or may not suit your desktop publishing needs: https://www.scribus.net/
Re:System Font Stack on Saturday May 28, 2022 @09:03PM (#31545252)
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-...

Re:Rethinking Files on Monday June 03, 2019 @01:18AM (#20080577)
Or use the Reader View/Reader mode in Firefox/Safari.
Re:What a Newfound Kingdom Means for the Tree of Life on Tuesday December 18, 2018 @10:38PM (#18712819)
That link omits some parts of the essay. Complete version here: http://hermiene.net/essays-trans/relativity_of_wrong.html
Re:Limecv – A LaTeX CV Document Class on Tuesday November 07, 2017 @12:51AM (#15641307)
Look at the PDF's "PDF Producer", "Creator", or "Application" metadata fields in a PDF reader application.
Re:Beautiful Racket v1.0 on Thursday March 16, 2017 @02:36AM (#13883017)
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
Re:Google Noto Fonts on Friday October 07, 2016 @12:48AM (#12658254)
Re:Introducing OpenType Variable Fonts on Thursday September 15, 2016 @12:06AM (#12503335)
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...

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.