[haiku-bugs] Re: [Haiku] #7961: Select the right font depending on language

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 29 May 2017 05:36:52 -0000

#7961: Select the right font depending on language
-------------------------------+----------------------------
   Reporter:  pulkomandy       |      Owner:  pulkomandy
       Type:  bug              |     Status:  new
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/Locale Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:  7816             |   Blocking:  6967
Has a Patch:  0                |   Platform:  All
-------------------------------+----------------------------

Comment (by pulkomandy):

 CJK has the additionnal problem that even if you know which blocks from
 the font you need, you can't tell wether the glyphs in there are drawn the
 appropriate way for each language. I'm not sure how fontconfig handles
 this, but it should be possible as well.

 Anyway, the idea for the ReadOnlyBootPrompt is to perform the initial
 system setup so the application that run as part of the install process
 (Installer, DriveSetup) or the desktop, if you decide to start it, looks
 correct and you don't have to reach the preference panels to configure
 things yourself. This is why it should set the system font to one which
 can render the selected language (in the same way it sets the locale
 preferences and the keyboard layout already).

 The "font overlay" to replace missing glyphs with ones from another font
 is nice as a fallback, but it means the user has little control on how the
 font looks. If most of the text on display is in Japanese, it then looks
 like changing the (latin-only) system font has no effect at all on the
 rendered text.

 For other cases, I agree there should be a way to query the interface kit
 for a font suitable for a given language.

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

Other related posts: