ODS and Base Reporting

Build reports by using ODS to create HTML, PDF, RTF, Excel, text reports and more!
BookmarkSubscribeRSS Feed
KimLeBouton
Quartz | Level 8
I’m going through a branding exercise with all of my PDF reports. I need to use the “Century Gothic” font. In addition, my client needs to be able to edit their PDF file using Adobe Acrobat Touch Up Text Tool. The original reports used the default ODS style shipped with SAS 9.13. I did not even need to touch PROC TEMPLATE. There were no problems editing these reports with Adobe Acrobat.

I’m learning more about True Type Fonts than I had ever planned. If I view FONTS in the Control Panel, I see the following:

Century Gothic (TrueType)
Century Gothic Bold (TrueType)
Century Gothic Bold Italic (TrueType)

Using http://support.sas.com/kb/10/970.html, I’ve run the following code to ensure that the SAS registry is updated.

proc fontreg;
fontpath "%sysget(systemroot)\fonts";
run;

I receive the following message:

SUMMARY:
Files processed: 298
Unusable files: 30
Files identified as fonts: 268
Fonts that were processed: 268
Fonts replaced in the SAS registry: 0
Fonts added to the SAS registry: 0
Fonts that could not be used: 268

Using the following simple code, I can only edit the header with Touch Up Text Tool (Adobe Acrobat V6, V8 or V9):

proc report data=sashelp.class nowd
style(REPORT)={font_face=' Century Gothic'}
style(HEADER)={font_face=' Century Gothic'}
style(COLUMN)={font_face=' Century Gothic'}
;
run;

I can also edit the title using the following statement:

Title h=13pt j=left f="Century Gothic" c=black bold "Example";

From Adobe Acrobat, I get the following error message when I try to edit the report, I receive "All or part of selection has no available system font. You cannot add or delete text using the currently select font."

What am I missing? I have ordered a Dummies Guide to Adobe Acrobat that hasn't showed up yet--but maybe today.

On the upside, the report looks nice.

Kim
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi, Kim:
When you open a track with Tech Support, if they don't know the answer, they will bump your question to the PDF folks. That may get you a more useful resolution.

cynthia

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1322 views
  • 0 likes
  • 2 in conversation