Title:
Bug 79644:(Watson Migration Closure)Summary: CFDOCUMENT struggles to kern bold text in a sans-serif fontI'm raising this on behalf of cwmcguire on the Adobe support forums
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 08/31/2009
Components: Document Management, PDF generation
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
Problem:
Summary: CFDOCUMENT struggles to kern bold text in a sans-serif fontI'm raising this on behalf of cwmcguire on the Adobe support forums. See the steps to reproduce. When rendering the PDF in Arial (or perhaps any sans-serif font?) it seems that any bold chars are not kerned properly in relation to the normal characters around them.Running the same code with the TIMES option, the text renders OK.
Method:
<!--- code borrow from BKBK on the Adobe forums. Cheers. ---><cfparam name="URL.style" type="regex" pattern="(?i)^(arial|times)$"><cfif URL.style eq "arial"><cfset sStyle="font-family:Arial, Helvetica, sans-serif; font-size:12px;"><cfelse><cfset sStyle="font-family: 'Times New Roman', Times, serif; font-size: 12px;"></cfif><cfdocumentformat="PDF"backgroundvisible="yes"fontembed="yes"orientation="portrait"pagetype="letter"pageheight="11"pagewidth="8.5"marginbottom=".25"marginleft=".25"marginright=".25"margintop=".25"unit="in"scale="100"><cfoutput><div style="#sStyle#"></cfoutput>Lorem ipsum dolor sit amet, <strong>consectetur adipisicing elit</strong>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. <strong>Excepteur sint occaecat</strong> cupidatat non proident, sunt in culpa qui officia <strong>deserunt</strong> mollit anim id est laborum.</div></cfdocument>
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039826
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 08/31/2009
Attachments:
Comments: