為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Some Chinese as well as other CJK fonts display as boxes

  • 6 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 yesen77

more options

CJK characters are displayed as boxes when font-weight set to bold in Firefox 57. Does anyone know how to submit a bug and get this fixed ASAP?

CJK characters are displayed as boxes when font-weight set to bold in Firefox 57. Does anyone know how to submit a bug and get this fixed ASAP?

由 yesen77 於 修改

所有回覆 (6)

more options

Can you provide a link to a page demonstrating this problem?

When I look up CJK it appears there are potentially many variables in what fonts Firefox might use: https://en.wikipedia.org/wiki/CJK_characters

more options

you can visit baidu.com and search for anything. On the result page, you will find the boxes. Right click and inspect element, find don't weight: bold and check it off and the characters are back

more options

Thanks, I don't have Firefox 57 on this computer, but I viewed the Baidu results page in Firefox 59 ("Nightly" test version). On my Windows 7, the Meiryo Bold font is used. (Screenshot attached.)

Can you check what font is used on yours? In the Inspector, switch from the Rules panel to the Fonts panel. If the heading is not visible, try the little triangle at the end of that row of headings.

more options

Thank you for your feedback. I tried the same page got the same problem in Firefox 58. But now I have a better understanding of the problem. The webpage sets Arial as the font-family and whenever font-weight goes beyond 600 or set to bold, the browser will use Arial Black as the font and caused the boxes. I forced user setting of Noto Sans to replace the webpage setting of fonts, and boxes are gone. The same page displays properly in chrome. So I think it is still the brower's problem. It should fallback to the user font setting when it can't handle the font. When font weight is 500 or below, it does. When it goes beyond 600, it doesn't.

more options

It's odd because Firefox should know better than to try to find those characters in Arial Black...

If you check your font settings, do they look like the attached? This is from the English U.S. version.

  • Windows: "3-bar" menu button (or Tools menu) > Options
  • Mac: "3-bar" menu button (or Firefox menu) > Preferences
  • Linux: "3-bar" menu button (or Edit menu) > Preferences
  • Any system: type or paste about:preferences into the address bar and press Enter/Return to load it

Under Language and Appearance, click the "Advanced" button. Then use the selector at the top to check different character sets.

more options

Yes, the default font setting is the same, but it doesn't work properly. I compared with Edge and the same element in Edge will automatically fall back to Yahei no matter what font-weight it has. In Firefox 58, it will fall back to Yahei when font-weight is 500 or below, but when font-weight is 600 or above, it won't fall back and stick with Arial Black.