views:

34

answers:

1

I am trying to print web pages contains external css reference which uses web fonts (I mean @font-face attribute) but in print preview web fonts are disappeared , Could any one know a solution with out using the web font locally?

A: 

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

Kennethvr
I'm already include my css in media print, but no response in print preview, The problem is in using @font face attribute, it is n supported in printing, I am trying to find some hack or Firefox plug-in or even a script to make my web font printable.
loll
can't you separate your font attributes? font-family, font-size, ... in your css?
Kennethvr
Kennethvr
yes you are right this is a ff bug, but I hope to find a hack to solve this problem temporarily
loll