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

Correct Spacing for LAM before Non-Arabic and BEH Before Number #189

Open
shervinafshar opened this issue Jul 11, 2018 · 8 comments
Open
Labels
i:spacing Text spacing l:arb Arabic question s:arab Arabic script (Used for arb + pes)

Comments

@shervinafshar
Copy link
Contributor

shervinafshar commented Jul 11, 2018

Unicode (9.2, p.369 in version 11.0):

The use of a joiner adjacent to a suitable letter permits that letter to form a cursive connection
without a visible neighbor. This provides a simple way to encode some special cases, such
as exhibiting a connecting form in isolation.

Common practice observed on some online reputable publications is LAM + TATWEEL + SPACE + ..., but this might be (a) to keep readability, (b) technical limitation in entering ZWJ.

Need to survey the experts for the correct and/or common method.

42552033-4a587620-848f-11e8-9817-401a8e528ae7

Testing with Google web-fonts:
screencapture-fonts-google-2018-07-10-22_29_50

Plain text for testing in other environments:

ل‍ W3C
لـW3C
لـ W3C
ب‍42
ب‍ 42
بـ42
بـ 42
@shervinafshar shervinafshar added this to Ideas + Discussions in Authoring ALReq 1.0 via automation Jul 11, 2018
shervinafshar pushed a commit to shervinafshar/alreq that referenced this issue Jul 11, 2018
shervinafshar pushed a commit to shervinafshar/alreq that referenced this issue Jul 11, 2018
@ntounsi
Copy link
Contributor

ntounsi commented Jul 12, 2018

Not only before non-arabic or numbers.
Same kind of joining behaviors appear before a text link, Arabic included. (for example, translation of sentence like "for something" where something is a text link.)
LAM<a href="">ARBIC TEXT LINK</a>

I remember an old issue that some inline markup, <a> here, may break cursive joining in some browsers.

@ntounsi
Copy link
Contributor

ntounsi commented Jul 12, 2018

A test here.

@shervinafshar
Copy link
Contributor Author

@ntounsi, while this is a valid case with the hyperlink breaking, but the question here is more about which method should be used to correct the gap caused by either of LAM+non-Arabic, BEH+number, or link. Do you happen to have any information on that?

@ntounsi
Copy link
Contributor

ntounsi commented Jul 13, 2018

@shervinafshar, I don't have any suitable information about "correct spacing for LAM before latin" . I often use to write LAM followed by W3C (to mean "for W3C"), and I do LAM+W3C, without any character between. Meanwhile I tried and I didn't find a rule around this case.
In some printings (I don't remember sources), I sometime see "LAM+latin-text", written indifferently with or without space before latin, LAM in isolated or joined form.

@asmusf
Copy link

asmusf commented Jul 14, 2018

Why are the ZWJ on the "far" side of the space character in the examples at the top?

@shervinafshar
Copy link
Contributor Author

shervinafshar commented Jul 14, 2018

@asmusf, was a mistake. Corrected that. could you please be more specific? I don't follow.

@asmusf
Copy link

asmusf commented Jul 15, 2018 via email

@shervinafshar
Copy link
Contributor Author

shervinafshar commented Jul 15, 2018

ZWJ appears immediately after character from the script subject to joining behavior to force initial/medial form from an standalone character.

@r12a r12a added the i:spacing Text spacing label Feb 5, 2020
@r12a r12a added the l:arb Arabic label Feb 15, 2023
@r12a r12a added the s:arab Arabic script (Used for arb + pes) label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i:spacing Text spacing l:arb Arabic question s:arab Arabic script (Used for arb + pes)
Projects
Authoring ALReq 1.0
  
Ideas + Discussions
Development

No branches or pull requests

4 participants