HTML to PDF/RTF Java converter and tools › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › PDF Font support This topic has 1 reply, 2 voices, and was last updated May 25, 201012:30:50 by PD4ML. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts vs.mukesh May 25, 2010 at 06:26 #26396 when export in to pdf existing font and size are changed in to some staic values… need to maintain same font and size what already exists in html text this issues occured in asp.net 2.0 thanks PD4ML May 25, 2010 at 12:30 #28039 By default PD4ML converts all sizes, given in physical units to screen pixels using 72dpi as scale factor. After that it renders document as for a screen presentation. The resulting layout is mapped to chosen paper format. The mapping scale factor may be calculated like that: scale = (pageFormat.width – insets.left – insets.right) / htmlWidth So you have two methods to get the desired PDF font size: 1. to play with htmlWidth value to achieve the needed scale and font sizes 2. to define all important sizes in “pt”, “in”, “cm” and to trigger protectPhysicalUnitDimensions() API method. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The forum ‘General questions / FAQ’ is closed to new topics and replies.