为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Weird font rendering issues on some websites

more options

Hi everyone,

There seems to be a some kind of issue when it comes to rendering Vietnamese characters on Google Translate. Vietnamese characters look weird when it comes to diacritical marks, when I inspect the text there is Arial out of nowhere.

I tried clearing the cache and start Firefox in safe mode but both didn't work. I also tried to re-install Roboto font on my machine, but that didn't work either. This problem appeared in both Linux and Windows 10.

It looks normal on Chrome and other Chromium-based browser, but not in Firefox.

In the image below, the one on left is Firefox, the one on the right is Chrome.

Anyone have any idea how to resolve or further investigate this problem?

Thank you in advance.

Hi everyone, There seems to be a some kind of issue when it comes to rendering Vietnamese characters on Google Translate. Vietnamese characters look weird when it comes to diacritical marks, when I inspect the text there is Arial out of nowhere. I tried clearing the cache and start Firefox in safe mode but both didn't work. I also tried to re-install Roboto font on my machine, but that didn't work either. This problem appeared in both Linux and Windows 10. It looks normal on Chrome and other Chromium-based browser, but not in Firefox. In the image below, the one on left is Firefox, the one on the right is Chrome. Anyone have any idea how to resolve or further investigate this problem? Thank you in advance.
已附加屏幕截图

所有回复 (2)

more options

I see this in Firefox. For me the Fonts tab in the Inspector shows Roboto and DejaVu Sans. Roboto is downloaded as a remote woff2 font.

The Ccomputed tab shows: pre>font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; inline:1 Best Match th inherit inline:1 Parent Match body Roboto, RobotoDraft, Helvetica, Arial, sans-serif</pre>

由cor-el于修改

more options

My bad, I do see and understand the font-family but I didn't mention that in the original question. The thing that bugged me is that I have Roboto installed locally on my machine but it still shows both Roboto and Arial, not Roboto alone. And the way the font is rendered does not look like what I'm familiar with.

Thank you for mentioning that the Roboto font is a remote woff2 font, I did not aware of that at all. I guess there is some problem rendering woff2 fonts in Firefox? Or at least the Roboto on Google Translate?