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

Should text stroke cut the top bar in Devanagari, Bengali, etc? #119

Open
r12a opened this issue Feb 9, 2022 · 2 comments
Open

Should text stroke cut the top bar in Devanagari, Bengali, etc? #119

r12a opened this issue Feb 9, 2022 · 2 comments
Labels
i:cursive Cursive text l:bn Bengali language & script l:hi Hindi, Devanagari script l:pa Punjabi, Gurmukhi script question Further information is requested

Comments

@r12a
Copy link
Contributor

r12a commented Feb 9, 2022

In w3c/alreq#220 i describe a problem for cursive scripts, such as Arabic, caused by using -webkit-text-stroke: the glyph overlaps at the join acquire double breaks, as shown in this picture:

Devanagari and other indic scripts are not normally referred to as cursive, but they do have joining characters. My question is: should browsers also avoid break the top bar and other glyph joining points in the way you see it happening in this screen snap:

I ask, principally, because i know that the top bar can be broken when letter-spacing is applied, however, i suspect that the breaks should not appear when text-stroke is used - and at least, there should be some tidying up, such as in the त्म conjunct.

I'm about to raise a bug against the main browser implementations for the Arabic case, and would like to know whether to include the indic case too.

@r12a r12a added question Further information is requested i:cursive Cursive text i:letterforms Letterform slopes, weights, & italics labels Feb 9, 2022
@lianghai
Copy link

No one expects there to be invisible gaps that somehow just get revealed by merely applying text strokes. It’s not text stroking’s responsibility to disconnect the headstroke.

Also it’s pretty much the same problem that darken bands are visible in the headstroke at the glyph gaps when text has transparency (or even just opaque, but resolution is low enough to reveal the semi-transparent, rasterized top/bottom edges of a headstroke).

@r12a r12a added l:hi Hindi, Devanagari script l:bn Bengali language & script l:pa Punjabi, Gurmukhi script labels May 5, 2023
@r12a
Copy link
Contributor Author

r12a commented Aug 30, 2023

See also w3c/alreq#220

@r12a r12a removed the i:letterforms Letterform slopes, weights, & italics label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i:cursive Cursive text l:bn Bengali language & script l:hi Hindi, Devanagari script l:pa Punjabi, Gurmukhi script question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants