[Webkit-unassigned] [Bug 255298] New: Object replacement character (0xFFFC) generates null (0) glyph

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 11 12:30:48 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=255298

            Bug ID: 255298
           Summary: Object replacement character (0xFFFC) generates null
                    (0) glyph
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: vitor.roriz at apple.com
                CC: mmaxfield at apple.com,
                    webkit-bug-importer at group.apple.com

We are getting an empty glyphData object (thus a null glyph (0)) when the input character is the object replacement character (0xFFFC).
If such input is decorated with text-emphasis-marker, this will cause the marker not to be painted after https://github.com/WebKit/WebKit/pull/12471 is merged.

This is because, the null glyph gets replaced by the deleted glyph (0xFFFF) and after the PR is merged, we no longer will draw markers for associated deleted glyphs.

How to reproduce it:


<p class="foo">X</p>

.foo {
  writing-mode:vertical-lr;
  text-combine-upright:all;
  text-emphasis:filled;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230411/0f88c6a0/attachment.htm>


More information about the webkit-unassigned mailing list