[haiku-bugs] Re: [Haiku] #13389: FirstBootPrompt: can't display Chinese and Japanese text.

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 24 Mar 2017 06:17:31 -0000

#13389: FirstBootPrompt: can't display Chinese and Japanese text.
----------------------------------+----------------------------
   Reporter:  mt                  |      Owner:  perelandra
       Type:  bug                 |     Status:  reopened
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Servers/app_server  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by pulkomandy):

 There is a strange thing about the Noto CJK: the latin characters used
 there for some reason aren't from Noto Sans, but from some other font,
 which is indeed lighter by default.

 I suspect something strange is happening because normally, for missing
 characters, there should be an "empty square" shown, and currently there
 isn't. This means the characters were found somewhere, but are empty. It
 could be a bug in the way I implemented the multiple font fallback, or it
 could be a problem further down, in the way we detect wether a font
 contains a glyph or not.

 As for monospace, Noto Sans CJK can't be used there, because it is not a
 monospace font. We should check BFont.IsFullAndHalfFixed(), but that
 function isn't implemented so IIRC there is a check for the width of some
 characters only to filter out obviously not monospace fonts.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13389#comment:15>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: