mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-26 21:05:55 +03:00
[GH-ISSUE #589] Chinese characters displayed as tofu #303
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xfq on GitHub (Aug 19, 2020).
Original GitHub issue: https://github.com/BoostIO/BoostNote-App/issues/589
Originally assigned to: @Rokt33r on GitHub.
Current behavior
First, thank you for working on Boost Note!
I used it for the first time today and encountered some issues: some Chinese characters can be displayed normally in the editor, but the rendering is "tofu" (i.e., font fallback box glyph). The four characters after
#are 管理仓库 (all of them are common Simplified Chinese characters).In
Preferences > General, I tried changing the Interface Language to 中文 (CN), but the result is the same.In
Preferences > Editor,Editor Font FamilyisSFMono-Regular,Consolas,Liberation Mono,Menlo,monospace, which is the default value.Expected behavior
管理仓库 should be rendered as... 管理仓库.
Steps to reproduce
Environment
Desktop
@Rokt33r commented on GitHub (Aug 28, 2020):
I think we should allow to customize UI fonts. @xfq Btw, which font would be the best for Chinese characters?
@xfq commented on GitHub (Aug 29, 2020):
Here is a sans-serif font stack used in a project I'm involved in, for your reference:
github.com/w3c/clreq@c545424c68/local.css (L1-L7)They are mainly fonts that come with operating systems. The advantage of this is that it matches what the current OS uses, so it can be a comfortable look.
@Rokt33r commented on GitHub (Sep 1, 2020):
https://github.com/BoostIO/BoostNote.next/issues/492 This should be related
@wu-yue-yu commented on GitHub (Jan 21, 2021):
Hi! I have an idea. This font Consolas-with-Yahei makes Chinese characters and English characters looks good.
@Rokt33r commented on GitHub (Feb 22, 2021):
@CindyCyber Thanks for the suggestion. But I couldn't find any license of this font.... Do you know any other options? if you don't, I think I should make the app font configurable and write a document so users can resolve this issue by theirselves.
Libalias #718