开发者

Printing web fonts in Firefox

开发者 https://www.devze.com 2023-01-22 08:04 出处:网络
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

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

精彩评论

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