cfdocument doesn't work with my font size
Hi All,
My font size doesn't work inside my cfdocument using css
Here is my code:
<cfdocument format="flashpaper" pagetype="letter" fontembed="yes" margintop="0.3" marginbottom="1.25" marginleft="1" marginright="1.25" unit="in">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<head>
<style type="text/css" media="print">
@import url(assets/css/preview.css);
</style>
</head>
In My css file I have this:
body {
font-family:"times new roman";
font-size: 18px;
line-height: 20px;
}
The font is a TTF and it shows in my cfadmin as:
| Font Family | Font Face | Postscript Name | Font Type | Useable In | Path |
|---|
| times new roman | Times New Roman | TimesNewRomanPSMT | TRUETYPE | PDF/FlashPaper | c:\windows\fonts\times.ttf |
I try using postscript name and the same issue. If I increase the font size it actually reduce the size on the screen.
I'm using windows 2008 with CF8 with the latest hotfix 8,0,1,195765
Any ideas?
Thanks in advance.
Johnny
