Skip to content

Text opacity shows glyph overlap #14

Open

Description

@r12a

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 this:

Screenshot 2022-02-01 at 15 02 18

The GAP

When opacity is applied to text, some browsers produce dark patches where the cursive glyphs overlap. Here is an example in the Adlam script.

Screenshot 2021-01-22 at 15 52 10

And here is an N'Ko example.

Screenshot 2021-02-16 at 09 01 14

Gecko and Blink browsers show the unwanted overlaps. WebKit works as expected for Arabic, Devanagari, Syriac & N'Ko, but not for Adlam (Fulah), Mongolian, or Hanifi Rohingya.

Tests

Interactive test, Applying opacity to cursive text doesn't produce dark patches where glyphs overlap

I18n test suite, Text opacity

Contains similar tests for Arabic and Mongolian text, with the same results, except that WebKit browsers don't display Mongolian as cursive text, so the test is moot in that case.

Action taken:

Issue, Add note for text opacity applied to cursive scripts Closed.

Browser bug reports:

Gecko • Blink • WebKit

Outcomes:

2020-07-27: 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.

Priority:

Marking as advanced, since this is a decorative feature.

Activity

  1. added
    gap
    i:cursive
    p:advanced
    on Jan 22, 2021
  2. r12a commented on Jan 22, 2021

    @r12a
    ContributorAuthor

    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:
    Adlam • Arabic/Persian • N'Ko

  3. xfq commented on Nov 8, 2021

    @xfq
    Member

    css-fonts should be css-color in the Specs section.

  4. added
    l:ff
    l:nqo
    on May 3, 2024
  5. moved this to Browser bug raised in Gap-analysis pipelineon Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    doc:adlmdoc:nkoogapi:cursivel:ffl:nqop:advanceds:adlms:nkoox:adlmx:alreqx:blinkx:geckox:nkoo

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions