cant get the font on PDF document and alignment


i cant font on pdf document , alignment eventhough have margins 0 still getting space top , left side.

 

i have added fonts cf admin , restarted still same issue. able see fonts added in cf admin.

i suspect there little bit of padding between html content , edge of pdf page. solve problem specifying fonts , margins using html style property, this, example:

 

<cfdocument format="pdf" pagetype="a4" marginbottom="0" marginleft="0" marginright="0" margintop="0">

<head>

        <meta http-equiv="content-type" content="text/html; charset=utf-8" />

    <style>

        body{font-family:arial,sans-serif;font-size:100%;margin-top: 0px; margin-left: 0px; padding: 0;}

        p{font-family:"times new roman", times, serif;font-size:14px}

    </style>

</head>

<body>

<!--- content of document --->

</body>   

</cfdocument>



More discussions in Advanced Techniques


adobe

Comments

Popular posts from this blog

Is this Captcha code corrupt?

How to Grab email address from webform and insert into form action

Thread: lower arc in openoffice draw