开发者

Printing web fonts in Firefox

I am trying to print web pages that contain external CSS references and use web fonts (I mean @font-face attribute) but in print preview the web fonts disappear. Does anyone know a solution w开发者_Go百科ithout using the web font locally?


Looks like printing @font-face fonts is not yet implemented:

https://bugzilla.mozilla.org/show_bug.cgi?id=468568


Works as of Firefox 18! - Yippee!


inlcude the file not only for screen but also for print

<link rel="stylesheet" type="text/css" href="main.css" media="screen" />

but include the css also for print

<link rel="stylesheet" type="text/css" href="main.css" media="print" />

in your case the href should then go to an external url

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜