Problem with font and image

92 views
Skip to first unread message

sumit

unread,
May 21, 2012, 11:06:24 AM5/21/12
to dompdf
I am using version 0.6.0 beta 3. The proble I have that when I
increase the DPI to show the image properly the font size get
decreased. The image is showing perfect at 300 DPI but the size of
image is also decreased. Can anyone help me to fix this issue so that
I can have a good looking image with exact font-size which I have
entered in HTML file.

BrianS

unread,
May 31, 2012, 9:59:23 PM5/31/12
to dom...@googlegroups.com
Two quick possibilities I can think of:
  1. use a lower DPI and specify the dimensions of your image
  2. specify your font size in pt
I believe for fonts the only unit that is affected by the value of DOMPDF_DPI is px. If you are using px try using a different unit in your font size declarations.
Reply all
Reply to author
Forward
0 new messages