I’m running following code on mainframe in a JCL and receive following warning.
length style $ 8 text $ 31 html $ 200;
xsys="3"; ysys="3"; hsys="3"; x=5; y=50;
html='href="http://sas.com" target=_blank'; output;
proc ganno anno=anno name='hello';
WARNING: Font VERDANA could not be used.
Font SIMPLEX substituted for font VERDANA.
Does anyone know how can I make SAS to use Verdana font ? Is it possible on mainframe?
SAS can use any TrueType font on MVS provided that the font file exists somewhere on the system. Once a copy of the font is available on MVS, simply register the font using the FONTREG procedure to begin using the font with SAS.
According to Wikipedia, the Verdana font was available on Microsoft's website as freeware up until 2002 but newer versions of the font must be licensed now. Follow the link below for more information about the Verdana font.
You might consider looking for a Verdana substitute from the long list of freeware fonts available from Google Fonts.
Just a correction to my code above.
The style should be in quotation marks.
I have found which fonts are installed in our server by running following code:
proc registry list
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.