The SAS Output Delivery System and reporting techniques

Possible to use font Verdana in a .pdf file?

Reply
N/A
Posts: 0

Possible to use font Verdana in a .pdf file?

Hi,

I'm currently working on a .pdf report and would like to use the font Verdana in it. I have modified my template:
proc template;
define style mystyle;
parent=styles.printer;
style usertext from usertext /
foreground=Blue;
replace fonts /
'TitleFont2' = ("Verdana",4,Bold Italic)
'TitleFont' = ("Verdana",5,Bold Italic)
'StrongFont' = ("Verdana",4,Bold)
'EmphasisFont' = ("Verdana",3,Italic)
'FixedEmphasisFont' = ("Verdana",2,Italic)
'FixedStrongFont' = ("Verdana",2,Bold)
'FixedHeadingFont' = ("Verdana",2)
'BatchFixedFont' = ("Verdana",2)
'FixedFont' = ("Verdana",2)
'headingEmphasisFont' = ("Verdana",4,Bold Italic)
'headingFont' = ("Verdana",4,Bold)
'docFont' = ("Verdana",3);
end;
run;

But get the message: "WARNING: Font specification "Verdana" failed. Using default font family instead." and that's not pretty...! What to do?

:-) Jenny

PS.: I'm running SAS v913 on pc, servicepack 4.
SAS Employee
Posts: 88

Re: Possible to use font Verdana in a .pdf file?

Posted in reply to deleted_user
You can use PROC FONTREG to register TrueType fonts with the SAS Registry. Using this procedure and pointing to the location that your fonts are located, you should be able to use any of the TruType fonts. Below is an example which can be used on Windows.

proc fontreg;
fontpath "%sysget(systemroot)\fonts";
run;
N/A
Posts: 0

Re: Possible to use font Verdana in a .pdf file?

Posted in reply to Chevell_sas
Excellent! That did the trick

Thanks a lot
:-D
Jenny
Ask a Question
Discussion stats
  • 2 replies
  • 414 views
  • 0 likes
  • 2 in conversation