#17258: WebKit 613.1.1 - scrambled fonts on some pages
---------------------------------------+-------------------------
Reporter: vidrep | Owner: pulkomandy
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/WebPositive | Version: R1/beta3
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
---------------------------------------+-------------------------
Comment (by madmax):
B2IA messages have Ctrl-C characters in them.
I can't test it now, but this is probably due to an
[https://github.com/haiku/haikuwebkit/commit/f1c80ff75f5aa44090538da318ebc2d30223b36a
#diff-696cbe79f4bf6dfa09759fe04d989d32044cac848658c499847efd7cd7dc31a2
upstream change] to make some control characters visible. The
implementation changes them to the .notdef glyph, which is code 0. In our
port that transforms into a NULL character that is not added to the string
and we get characters and advances out of sync.
We could revert that or change the 0 (either there or in FontHaiku) for
the replacement character, another non-character (that hopefully won't
have a glyph and so come as .notdef), the white square (as was proposed
when we had a similar problem before) or whatever. The same should be done
wherever we return the advances.
--
Ticket URL: <https://dev.haiku-os.org/ticket/17258#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.