BookmarkSubscribeRSS Feed
jins
Fluorite | Level 6

When I move the run between windows and UNIX for ODS EXCEL OUPUT, the font changes. I am aware it is OS dependent but is there a style or so which can make it consistent? or any options?

3 REPLIES 3
ballardw
Super User

Are you specifying a STYLE on the ODS Excel statement? If not then two different installs may be using different styles as the default.

 

I would start by finding a style common to both installs and using that. Note that the installs may have different styles available.

 

proc template;

list/where=(lowcase(type)='style');

run;

 

will generate output with the available styles.

jins
Fluorite | Level 6
So if we specifically list the style, it should be independent of the OS with regards to all the attributes like font size, font , etc.
Cynthia_sas
SAS Super FREQ
Hi:
Maybe. It depends on the style and the font settings in the style. The fonts in the style have to be available on the OS. Many of the newer SAS styles have a specification like this:
'TitleFont' = ("<MTsans-serif>, Albany AMT",11pt,bold)
where the font in the greater than and less than symbols is going to be defined in the SAS registry. You have to look under the ODS --> Fonts registry entry to see that (in my system, on Windows), the MTsans-serif font is defined as Albany AMT.

So, you might find that the MTsans-serif font on one operating system is different in the registry than the MTsans-serif font in the registry in another operating system.

This page lists the fonts http://go.documentation.sas.com/?docsetId=lrcon&docsetTarget=n04qo8tw2712qln1mzugjoorkj7j.htm&docset... just scroll down to the table on the page that has the title: True Type fonts supplied by SAS.

Cynthia

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 772 views
  • 0 likes
  • 3 in conversation