Opened 9 years ago

Closed 8 years ago

#6194 closed bug (fixed)

lack of Chinese fonts

Reported by: kurain Owned by: pulkomandy
Priority: high Milestone: R1/beta1
Component: Preferences/Locale Version: R1/Development
Keywords: Chinese fonts Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


There are no default Chinese fonts in Haiku. This makes it very hard for Chinese users to use or test Haiku. So it is necessary to port some Chinese fonts under some free license to haiku.

Change History (21)

comment:1 by kurain, 9 years ago

I have used some other open OS like different linux releases. They have some default Chinese fonts, and all these fonts are under GPL license, which is I am caring about. I don't whether the fonts under GPL could be accepted by Haiku project under MIT license. these fonts are a series of fonts,below is the website of this project--- is its English page).

this series of fonts have been used for so long time by so many open projects, so it's relatively stable and acceptable. And it is still being developed by many people, it will be of great help to Haiku project.

comment:2 by xeon3d, 9 years ago

Fixed Link: English Project Page

In addition, there are more open-sourced fonts here listed with their respective license:

comment:3 by pulkomandy, 9 years ago

I just found this page : It may or may not be interesting, but there is a list of font with various licences that could fit us.

comment:4 by kurain, 9 years ago

I have tested that nightly build haiku has support Chinese. but when showing Chinese names of files or file folders, haiku couldn't give a complete name. And when showing Chinese documents in text files, it just show "?" in a small black diamond everywhere. so I want to know which fonts are you using, and that kind of Chinese fonts may not be complete. Maybe we have to test some other Chinese fonts.

Last edited 9 years ago by kurain (previous) (diff)

comment:5 by dru_ed, 9 years ago

Kurain recommends this font:

It is GPL licensed with font embedding exception per the included README. The Apache license is included as well because Droid fonts are used as "fallback."

As a special exception, if you create a document which uses this font, and embed this font or unaltered portions of this font into the document, this font does not by itself cause the resulting document to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the document might be covered by the GNU General Public License. If you modify this font, you may extend this exception to your version of the font, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

comment:6 by Disreali, 9 years ago

I just found a fontset that include Chinese characters that was made for BeOS/Zeta/Haiku.

It works well.

comment:7 by Disreali, 9 years ago

It is a Japanese fontset and the page is Japanese.

Google translate link below:
Last edited 9 years ago by Disreali (previous) (diff)

in reply to:  6 comment:8 by citi324, 9 years ago

Replying to Disreali:

I just found a fontset that include Chinese characters that was made for BeOS/Zeta/Haiku.

Konatsu is a Japanese font, so it is very unlikely that it is adequate to display Chinese.

comment:9 by scottmc, 9 years ago

Can you check these fonts and see if one or more of them contains the full Chinese set needed.

comment:10 by scottmc, 9 years ago

Milestone: R1R1/alpha3
Version: R1/alpha2R1/Development

in reply to:  9 comment:12 by kurain, 9 years ago

the droid fonts may include Chinese fonts, for I know that Wen Quan Yi Micro Hei font[1] is based on it. so I still adviced that we use Wen Quan Yi fonts by default, which is beautiful and licensed under Apache2.0 or GPLv3 .

[1] the release notes:

Last edited 9 years ago by kurain (previous) (diff)

comment:13 by scottmc, 9 years ago

Looks like the wqy-microhei font will work for this:

comment:14 by mmadia, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev40673. For builds other than @alpha-*, WQY-MicroHei needs to be added either through UserBuildConfig or via installoptionalpackage .

Please reopen if this font does not support the charset as expected. Thanks!

comment:15 by mmadia, 9 years ago

Resolution: fixed
Status: closedreopened

As Stephan mentioned on the commit list, The user has to select the font, though, before switching to Chinese. I don't really consider the ticket fixed, yet, especially since you can switch to Chinese in ReadOnlyBootPrompt before being able to select another system font. The best short term solution would be to include the new font in the fall-back mapping inside app_server. I'd love some Chinese developer to send a patch for this.,1

comment:16 by scottmc, 9 years ago

Milestone: R1/alpha3R1/beta1

comment:17 by axeld, 8 years ago

Milestone: R1/beta1R1/alpha3
Priority: normalhigh

We should either remove the non-working languages from ReadOnlyBootPrompt, or fix the font issue for alpha 3.

comment:18 by scottmc, 8 years ago

Perhaps the default font for ReadOnlyBoot Prompt could be set to WQY-MicroHei, and if the user picks Chinese, Japanese or Korean, switch the system defaults to WQY-MicroHei.

comment:19 by scottmc, 8 years ago

Milestone: R1/alpha3R1/beta1

looks like this isn't going to be fixed in time for alpha3, so moving to next release milestone.

comment:20 by leavengood, 8 years ago

This can probably be fixed by implementing a Dan0-like overlay preference tab in the Font prefs, as I talked about in ticket 6967.

comment:21 by pulkomandy, 8 years ago

Resolution: fixed
Status: reopenedclosed

Closing this for now. Selecting the right font from locale is a different issue than not having a font at all.

Note: See TracTickets for help on using tickets.