BookmarkSubscribeRSS Feed
Andre
Obsidian | Level 7
I have this return on the log for a submitted program under linux through an X11 interface(Nx).
[pre]
31 goptions vsize=15cm hsize=18cm ftext="Albany AMT" target=dj1200pm;
32 title h=0.52 cm f="Cumberland AMT" 'Box Plot pour les tubes en cuivre' ;
33 proc boxplot data=Newtubes;
34 plot Diameter*Batch;
35 run;

NOTE: Processing beginning for PLOT statement number 1.
WARNING: Font Cumberland AMT could not be used.
Font SIMULATE substituted for font Cumberland AMT.
NOTE: There were 75 observations read from the data set WORK.NEWTUBES.
NOTE: PROCEDURE BOXPLOT used (Total process time):
real time 0.72 seconds
cpu time 0.13 seconds
[/pre]

I did not find the reason of the warning about the Cumberland font
as Albany was found!

in our sasv9.cfg on the linux server
the parameter -fontloc !SASROOT/misc/fonts was well passed!
of course none of those fonts are visible in the list of x11 provided fonts
available by example for choosing a font for the PGM editor with the tools menu

Of course If i open [pre] ods graphics on; [/pre]
the situation was changed without any warning more
but there are then png files written in the work space disk
in place of grseg in a gseg catalog.

Can anybody make a recap explanation about (what i missed)?
as in the linux/unix configuration manual page 53
there is question of the host xcolor implicit device
but i have never applied a proc fontreg for Albany and Cumberland.

Does it finally means that only ftext= but not f= are passing
the localisation of the two fonts under ods graphics off; ?

I tried but the result is infirming this
[pre]
91 goptions vsize=15cm hsize=18cm ftext="Cumberland AMT" target=dj1200pm;
92 title h=0.52 cm f="Albany AMT" 'Box Plot pour les tubes en cuivre' ;
93 proc boxplot data=Newtubes;
94 plot Diameter*Batch;
95 run;

NOTE: Processing beginning for PLOT statement number 1.
WARNING: Font Cumberland AMT could not be used.
Font SIMULATE substituted for font Cumberland AMT.
NOTE: There were 75 observations read from the data set WORK.NEWTUBES.
NOTE: PROCEDURE BOXPLOT used (Total process time):
real time 0.06 seconds
cpu time 0.05 seconds
[/pre]

Andre
2 REPLIES 2
Andre
Obsidian | Level 7
May i add that when i try the print of a grseg
in the list of the fonts Albany Cumberland and Thorndale are well present

Andre
Andre
Obsidian | Level 7
I have found what was the problem

If i change the device to 'sasprtc' in place of 'dj1200pm'
the warning was disappearing and sas linux was using the freetype font

All my comments about ftext= and f=
inside or outside ods graphics
has no more reason to be invoked.

Andre

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 2 replies
  • 948 views
  • 0 likes
  • 1 in conversation