本文介绍了有没有技巧在Firefox中显示Arial Black?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于Arial黑色是firefox中的bug,有没有办法显示它没有嵌入与@ font-face?
Since Arial black is buggy in firefox, is there a way to show it without embedding it with @font-face?
我已经看过一些使用
font-weight: 900;
font-family:'Arial Black', Gadget, sans-serif;
但是这种方法对我来说不行。建议?
However that method does not work for me. Suggestions?
推荐答案
问题(根据错误)是,Firefox使用的Windows DirectWrite API Arial Black
as font-family:Arial; font-weight:bold;
(),因此根据,您需要使用:
The problem (according to the bug) is that the Windows DirectWrite API that Firefox uses treats Arial Black
as font-family: Arial; font-weight: bold;
(comment #8), so according to comment #10 you need to use:
font-family: "Arial Black", Arial;
font-weight: 900;
这篇关于有没有技巧在Firefox中显示Arial Black?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!