More details on WebKit bug, including link to bug tracker

This commit is contained in:
Ben Harris 2024-10-03 23:16:08 +01:00
parent 79c1606966
commit 51f37a4975

10
NOTES
View File

@ -512,4 +512,12 @@ characters. Most of them end up not being narrowed, but some instead
end up with negative width, as though different layers of the browser
are calculating the widths of spaces differently. The problem doesn't
appear to affect any characters other than spaces. Other characters,
including punctuation, get displayed correctly.
including punctuation, get displayed correctly.
Adding a GSUB lookup that replaces space with a glyph with a smaller
advance width doesn't help: the new glyph is used, but with the
original glyph's width. Replacing each U+0020 SPACE with U+00A0
NO-BREAK SPACE followed by U+200B ZERO WIDTH SPACE leads to all the
spaces' being too wide, but consistently so without any overlaps.
This bug appears to be https://bugs.webkit.org/show_bug.cgi?id=236307.