>>>I was able to correct the printout discrepancy by adding this code to the ReportListener. It removes any leading / trailing spaces on the objects being rendered. When this code is applied, the output from PDF3 is identical to that of CutePDF when captured on the normal print operation:
>>>
>>>
>>>PROCEDURE EvaluateContents
>>>LPARAMETERS nFRXRecno, toObj
>>>
>>> * Does it need extra spaces removed?
>>> IF ALLTRIM(toObj.text) == toObj.text
>>> RETURN
>>> ENDIF
>>>
>>> * We want to render just the content, not the leading/trailing spaces
>>> toObj.reload = .t.
>>> toObj.text = ALLTRIM(toObj.text)
>>>
>>>
>>>It may not work in everyone's case if you are expressly sending leading spaces, for example, for alignment. But in our app's case it does work.
>>>
>>
>>Hi Rick,
>>
>>Where do I add the above code that, hopefully, will fix my problem with bold fonts?
>
>Right there where it shows, at that location in that function.
I must be missing something simple. The entire PDF3 consists of one PDF3.PRG. And I don't see the function EvaluateContents(). I tried PDF3 just as it shows in the example (inside PDF3.PRG):
report form myReport object pdf3() to file "filename.pdf"
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham