alreq icon indicating copy to clipboard operation
alreq copied to clipboard

Text opacity shows glyph overlap

Open r12a opened this issue 5 years ago • 6 comments

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

When opacity is applied to text, Gecko and Blink produce dark patches where the cursive glyphs overlap, but Webkit and Legacy Edge don't. See the test.

text-opacity

For more details, see this GitHub issue, which is being used to track this gap.

r12a avatar Feb 02 '20 16:02 r12a

The first comment in this issue contains text that will automatically appear in one or more gap-analysis documents as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the document. Proposals for changes or discussion of the content can be made in comments below this point.

Relevant gap analysis documents include: AdlamArabic/PersianKashmiriN'KoUIghur

r12a avatar Feb 02 '20 16:02 r12a

I would like permission to use the above image, or (better) the image in 3.4.7.2 Transparency, as an illustration in CSS Color 4, 13. Transparency: the opacity property. This is in response to the i18n review which suggested this be mentioned.

svgeesus avatar Jul 20 '20 18:07 svgeesus

@svgeesus, no objections here. Editors, please chime in if otherwise.

shervinafshar avatar Jul 20 '20 21:07 shervinafshar

Updated the topic text to add a pointer to the CSS Fonts edit.

r12a avatar Jul 27 '20 10:07 r12a

On https://w3c.github.io/i18n-tests/results/cursive#text_opacity instead of linking to https://drafts.csswg.org/css-color-3/#transparency it would be better to link to https://www.w3.org/TR/css-color-4/#transparency for several reasons:

  • Color 4 is the current implementation target
  • Color 4 is vastly better specified than Color 3
  • Color 4 explicitly addresses glyph overlap and opacity, and has the arabic text example

svgeesus avatar Jun 23 '24 18:06 svgeesus