5 ms·
Deciphering basmala
- tekacs 3mo ago﷽ <- the single codepoint the author is talking about. It's pretty great fun pasting it into various text entry fields to see how they behave. In standard-ish single-line-ish Apple text fields on my Mac (iMessage text entry field, Chrome Omnibox), it renders like this, which... I'm not sure is correct? https://cleanshot.com/share/0GkNJGQ7 https://cleanshot.com/share/0GkNJGQ7 On the other hand it renders akin to Chrome in TextEdit.
- Centigonal 3mo agoThat iMessage rendering looks correct, just typeset differently.
- tekacs 3mo agoThank you for sharing! I wonder what distinguishes e.g. Omnibox/iMessage from TextEdit/Chrome textareas (especially since iMessage's entry box can be made multiline) to cause the divergent rendering!
- slim 3mo agoit really is the same four words written in a different calligraphy and arranged in a different way (more horizontally). arabic calligraphy can take liberties with orientation of text and even arrangement of letters. the name of the game is make deciphering it a puzzle, but easy enough for the reader to have fun and not get bored.
- girvo 3mo agoThe Super-R run-command dialog on Windows, and Notepad make it look crazy
- saadat 3mo agoIn 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?preview.text=%EF%B7%BD&specimen.preview.text=%EF%B7%BD&preview.script=Arab&preview.lang=ur_Arab 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-correctly-mac-mchl14cc6599/mac#:~:text=For%20example%2C%20when%20Urdu%20is%20higher%20than%20Persian https://support.apple.com/guide/mac-help/latin-fonts-correct...
- ivanbakel 3mo agoIn some discussion about Arabic rendering on another website[0], it was pointed out that the Basmala is its own codepoint in part because it is (or was?) a legal requirement on Pakistani documents and comes from an Urdu character-set. It's possible that, as a character effectively originating from and used by Urdu speakers, Apple defaults it to Nastaliq regardless of your font settings. 0: https://lobste.rs/s/7s4sjp/u_fdfd_arabic_ligature_bismillah_ar https://lobste.rs/s/7s4sjp/u_fdfd_arabic_ligature_bismillah_...
- saadat 3mo agoAh! 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...
- farhanhubble 3mo agoIf anyone wants to take a peek into the Unicode codepoint, here's an indispensable tool: https://r12a.github.io/app-conversion/index.html https://r12a.github.io/app-conversion/index.html
- Cthulhu_ 3mo agoInterestingly, pasting it in a new VS Code tab renders it like the browser does (the wide version), but the tab and suggested filename is the Nastaliq style.
- mjd 3mo agoI've been having fun getting better at understanding where the letters begin and end. Something like this is easy for me now: https://commons.wikimedia.org/wiki/File:-516170388361w7xlt8czj.png https://commons.wikimedia.org/wiki/File:-516170388361w7xlt8c... Next I'm going to learn the rest of the letters and try to start reading menus.
- Cthulhu_ 3mo agoMakes me wonder how well people that grew up with Arabic script can learn european cursive. but I also wonder if younger generations still learn cursive, I can imagine it's impossible to read if you've never seen it before)
- Alien1Being 3mo agoArabic is a beautiful language. Seeing Arabic calligraphy has made me add Arabic to the list of languages I am very slowly teaching myself.
- noufalibrahim 3mo agoYup. I practice western calligraphy but haven't been able to make much inroads into Arabic. Partly because of the lack of high quality instruction material (which is available as books for Western calligraphy) and partly because of the complexity. The fact that it's right to left and I'm right handed presents some challenges too (my hand will come over letters I've just written and there's a risk of smudging them). The nibs are usually cut the other way and I'm still struggling drawing basic letters. Islam prohibits representational art and so, except for a few pockets, all the skills of Muslim artists went into two things - Calligraphy and geometric tessellations (what's called "arabesque" and which you see on mosques, rugs etc.). The calligraphy itself has several hands (which is what we call "fonts"). The most popular one is called https://en.wikipedia.org/wiki/Naskh_(script) https://en.wikipedia.org/wiki/Naskh_(script) which is the one used for the copies of the Koran from Saudi Arabia. It's very legible and doesn't lend itself to too much flourishing. The Basmala glyph mentioned in the article looks like Naskh with the S of Basmala (س) elongated. There are others too. Thuluth (which is used in the copies of the Koran for ornamental work like the titles of the chapters), Nastaliq (which people often call Urdu or Persian because of how those languages are usually written in this hand), Kufic (which is an angular hand that overlaps with tessellations in ornamental work), Mughlai (which is a denser hand that's common in the Indian Subcontinent) and several others. There are even local variants with which you can identify geography. This style is specific to the Malabar coast in Kerala and, as far as I know, it's seen only there. https://en.wikipedia.org/wiki/Arabi_Malayalam_script#/media/File:Multilingual_(Tamil_and_Malayalam_-_Arabic_script)_advertisement_-_catalogue_of_books_and_textiles_-_Ponnani_(1908).jpg https://en.wikipedia.org/wiki/Arabi_Malayalam_script#/media/...
- asibahi 3mo ago> right handed presents some challenges too (my hand will come over letters I've just written and there's a risk of smudging them You’re supposed to place your hand under the line you’re writing. Not to the right of it.
- chrismorgan 3mo agoThis is my favourite single character to demonstrate that you cannot lay text out without knowing the font, which people sometimes try to claim is possible in terminals: in some fonts, it’s 10em wide and less than 1em tall, but in others, it’s under 3em wide and perhaps 2em tall. (If people aren’t convinced by that, my next area is complex text layout, starting with my name in the Telugu script, <https://temp.chrismorgan.info/క్రిస్.svg https://temp.chrismorgan.info/క్రిస్.svg>, also augmenting that with how the r can be drawn to the left or underneath or even a little to the right of the k, which I really should add to that SVG file.)
- othmanosx 3mo agoArabic is so dense, and Quran came to perfect it. Reading the following verse from Quran, makes me proud that I'm a native Arabic speaker: "إِنَّا أَنزَلْنَاهُ قُرْآنًا عَرَبِيًّا لَّعَلَّكُمْ تَعْقِلُونَ" "Indeed, We have sent it down as an Arabic Qur'an that you might understand." Quran 12:2
- n4r9 3mo agoIn case anyone is interested in a secular perspective, I would phrase this as: "the Prophet's tribe's own linguistic heritage dominated following his success as a religious leader". At the time of Prophet Muhammad, Arabic was broken into various dialects, with a notable split between Western (Hijazi) and Eastern (Najdi) Arabic. Muhammad belonged to the Quraysh tribe in Mecca, whose dialect was Western. The Islamic empire rapidly grew to include different Arabic dialects and non-Arabs after Muhammad's death. A linguistic unification of the Quran's text and pronunciation was needed. The third "Caliph" (religious leader), Uthman ibn Affan, developed a single definitive version based on the Quraysh dialect and rigorously destroyed all variants. Subsequently, non-Arab scholars - who had less native intuition of the Quraysh dialect - codified Arabic grammar based on the Quran and pre-Quranic poetry. This included the system of lines and dots above and below letters to indicate the shape of short vowels.
- za3faran 3mo agoThat's not entirely accurate. The Quran, to this day, is recited in different "dialects"/recitations (Qira'aat), not just that of Quraish. In fact, Quraish did not use to pronounce the Hamzah (glottal stop) for example, in words such as Mu'min (مؤمن). However, the most popular recitation today (Hafs 'an 'Asim) recites with the glottal stop, as do some others. Other kinds of pronunciation include the way the Alif Maqsoorah is uttered. For example the name Moses is pronounced Moosa or Moosé (or varying degrees in between) depending on the recitation. These kinds of recitations trace their ways back to how different tribes spoke. You can hear an example of such recitations for the first Surah of the Quran here[1] [1] https://www.youtube.com/watch?v=OMVDdztN6fg https://www.youtube.com/watch?v=OMVDdztN6fg
- 3mo ago
- tamimio 3mo agoIt’s interesting to see an article to decipher the sentence when I know Arabic handwriting calligraphy in different fonts! The “bisme” itself btw is also a combination of two different words. And “kashida” is a persian word not Arabic, the Arabic one is probably “maddah”.
- quuxplusone 3mo ago> And “kashida” is a persian word not Arabic, the Arabic one is probably “maddah”. I thought it was "tatwil". I could be wrong, though. An interesting article on Arabic typography, whose correctness I can't judge: https://www.khtt.net/en/page/1821/the-big-kashida-secret https://www.khtt.net/en/page/1821/the-big-kashida-secret
- farhanhubble 3mo agoI started my software career maintaining and forking Unicode parsers. Arabic, Hindi, Chinese and Thai among many other complex languages. It was great fun and it helped me get a deep understanding of how complex writing was and appreciate the beauty of being able to reduce this complexity down to data structures and functions.
- firefoxd 3mo agoWe have a framed calligraphy at home, and it was fascinating to teach my wife how it is read. The one in the article (wikimedia picture) is actually read from the bottom up, yet it is somehow legible.
- smusamashah 3mo agoThe one on leaf is not top to bottom though. It's more lower right to top left.
- flossly 3mo agoThere seems to be a multiple-of-19 "code" in the Quran. Many of these observations require the Arab alphabet to be interpreted as numbers; in Mohammed's days the Abjad system was used for this (similar but simpler than the Roman numerals, that also re-use the letters as numbers). So using the Abjad system to give number values to the Arab letters there are many counts that add up to a multiple of 19. A critic (and I try to be one) so note that every 19 tries ("would this add up to a multiple of 19?") you are expected to find one that does add up to a multiple of 19! In order to show how many cases add up, I created a unit test suite to demonstrate the claims. See the code here: https://github.com/cies/quran-analysis/blob/master/replicate_claims.rb https://github.com/cies/quran-analysis/blob/master/replicate... Many of the claims involve the Bismallah (search for "bismallah" in that code).
- downsplat 3mo agoCool article, but the one it acknowledges and riffs off of, at https://lr0.org/blog/p/arabic/ https://lr0.org/blog/p/arabic/ , is much more informative, and tells all about how we got decent Arabic script rendering on our browers and OSs, but still notably imperfect. Which makes me think: come on, in the age of Claude, the gap between "we know what to do" and "here is the working code" is narrower than ever. Who will be the one to pick up the job? Has to be an Arabic speaker I guess!