Test program
I think it is not your fault, it is sas font's fault . why not make other font to be larger than superscript ?
"~{NEWLINE}~{super a} ~S={fontsize=20px}Grd. = Severity, 1 = mild, 2 = moderate, 3 = severe, 4 = life-threatening, 5 = fatal"
Xia Keshan
I don't want a work-around I want to know why it works as expected with the default font but not when I change it.
Hi:
If you want to know EXACTLY why, then you need to open a track with Tech Support. However, using Arial with ODS PDF is just something that I don't do. I usually use either Arial Unicode MS or Albany AMT or Helvetica with PDF. There was a whole kerfuffle over Arial and Adobe and I believe that to get something that looks like the Microsoft Arial used in ODS PDF, you have to refer to it as Arial Unicode MS in ODS PDF styles. This article about Arial has more of the background about the kerfuffle: The Scourge of Arial – Notebook – Mark Simonson. In the early days of ODS, like version 7 and early version 8, it used to be (according to one of the developers) that if you specified just plain Arial for ODS PDF, you got Helvetica substituted as the font behind the scenes. That doesn't happen anymore, but in the "old days", the way around that was to specify the Arial Unicode MS font, which is the Adobe version of plain old Arial. Then, in SAS 9.2, we included some TrueType fonts and the Albany AMT font became the Arial "look-alike".
BTW, there are some good font explanations of the differing behavior here http://support.sas.com/resources/papers/proceedings10/035-2010.pdf, but none talk specifically about the Arial MS issue.
But for the final, definitive WHY, you should open a track with Tech Support.
cynthia
What version of SAS? On Windows using SAS 9.4 m0 release both are using the same arial fonts and have the same extra spaces between lines.
Unix SAS 9.3.
@Tom good question. I remember to have seen a post that before SAS 9.3 the OS font is used and 9.3 and later are using the JAVA font.
When you use Windows latin1 font there should be no great differences but on Unix latin1 is having some other symbols (first 32 above 7F).
Fonts can behave different all that time as the versions are changing.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.