[haiku-bugs] Re: [Haiku] #16221: Web+: Garbled text on Github

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 01 Jul 2021 19:36:36 -0000

#16221: Web+: Garbled text on Github
---------------------------+----------------------------
  Reporter:  bitigchi      |      Owner:  pulkomandy
      Type:  bug           |     Status:  closed
  Priority:  normal        |  Milestone:  R1/beta3
 Component:  Kits/Web Kit  |    Version:  R1/Development
Resolution:  fixed         |   Keywords:
Blocked By:  16213         |   Blocking:
  Platform:  All           |
---------------------------+----------------------------
Comment (by madmax):

 Replying to [comment:31 pulkomandy]:

I have switched Glyph and CGGlyph to 32bit types in HaikuWebKit and now
 it's working fine.


 Cool.

 But that should just avoid aliasing emojis (and other stuff) to different
 characters. There would still be the garbling issue that needs to either
 keep the identity map in GlyphPageTreeNodeHaiku.cpp (by always emitting
 the character instead of glyph 0) or detect the 0 in FontHaiku.cpp and do
 something about it. If it works without that it may be just because with
 Noto Emoji we have all the glyphs necessary for that specific page. Can
 you try without that font?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16221#comment:32>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: