2012-02-05 48 views

回答

0

SVG標籤,添加shape-rendering = 'crispEdges'

這是否解決了問題?

您還可以嘗試將font-smooth : never添加到SVG的樣式中。

+0

我在SVG中沒有這個問題,我在VML中遇到了問題。 – 2012-02-05 10:36:25

0
  1. 嘗試使用不是pxfont-size。使用pt%
  2. 您可以使用@font-faceeot字體格式。自定義字體無需進行抗鋸齒渲染。

例子:

<html> 
<head> 
    <style type="text/css"> 
     @font-face { 
     font-family:comic; 
     src:url(http://valid_url/some_font_file.eot); 
     } 
    </style> 
</head> 
<body> 
    <p style="font-family: comic; font-size: 18pt;">This paragraph uses the font-face 
    rule defined in the above style element. The rule embeds an OpenType file for the 
    Comic Sans font. </p> 
</body> 
</html> 

您可以使用FontSquirrel生成器生成EOT字體文件。