Bug 257746 - Text opacity shows glyph overlap for cursive scripts
Summary: Text opacity shows glyph overlap for cursive scripts
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 16
Hardware: Unspecified macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-06 07:07 PDT by r12a
Modified: 2023-06-13 07:08 PDT (History)
2 users (show)

See Also:


Attachments
N'Ko text showing no overlaps in opaque cursive text (12.84 KB, image/png)
2023-06-06 07:07 PDT, r12a
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description r12a 2023-06-06 07:07:08 PDT
Created attachment 466603 [details]
N'Ko text showing no overlaps in opaque cursive text

This issue is likely to apply to all cursive script text.

Text in 'cursive' writing systems is joined by overlapping glyphs with the appropriate joining forms. If those glyphs are made opaque, the joins should not become apparent. For example, N'Ko should look like shown in the attached image.

css-color was updated to clarify that opacity should be applied to a whole element, not to individual letters, so that this shouldn't happen.

WebKit works as expected for Arabic, Devanagari, Syriac & N'Ko, but not for Adlam (Fulah), Mongolian, or Hanifi Rohingya.

It seems that a fix has been applied for certain scripts, but needs to be extended for those mentioned (plus Mandaic).



Tests

Interactive test, Applying opacity to cursive text doesn't produce dark patches where glyphs overlap
https://github.com/w3c/character_phrase_tests/issues/40


I18n test suite, Text opacity
https://w3c.github.io/i18n-tests/results/cursive#text_opacity
Comment 1 Radar WebKit Bug Importer 2023-06-13 07:08:17 PDT
<rdar://problem/110708611>