When I print to the PDF viewer using a scaled font, it sometimes cuts off the bottom of lowercase letters that hang below the line such as g, y, j. It appears to do this whenever I provide the bottom right corner of the text area. I've tried various alignments and sizes for the text area with no change in the results. Below is a sample program and PNG of the output.
Am I doing something improperly? This does not happen when the output is a *WINPRT* device. Including the Microsoft Print to PDF or the Adobe PDF printer. I believe it is something happening inside *PDF*.
BTW, I am specifying the bottom right corner because I want the text to be cut-off if it is too long for the print area.
Best Regards,
Jeff
BEGIN
Cols_Reqd = 102, loop = 0, font$ = "Arial"
OPEN (UNT)"*PDF*;VIEW;MARGINS=500:500:500:500"; prn=LFO
! Scale the font
PRINT (prn)'Font'(font$,-12),'DF',
WHILE (MXC(prn)<Cols_Reqd AND ++loop<5)
PRINT (prn)'Font'(font$, MXC(prn)/Cols_Reqd),'DF', ! Scale the font
WEND
s$="These dangling letters are jetting below the line yet are cut off."
x = 50, l = 1
PRINT (prn)'Text'(@X(1),@Y(l),@X(x),@Y(l),STR(l)+": "+s$,"T"),
l+=2
PRINT (prn)'Text'(@X(1),@Y(l),@X(x),@Y(l+2),STR(l)+": "+s$,"T"),
l+=2
PRINT (prn)'Text'(@X(1),@Y(l),@X(x),@Y(l+3),STR(l)+": "+s$,"T"),
l+=2
PRINT (prn)'Text'(@X(1),@Y(l),@X(x),@Y(l+4),STR(l)+": "+s$,"T"),
l+=2
PRINT (prn)'Text'(@X(1),@Y(l),STR(l)+": "+s$),
END