Data visualization with SAS programming

accessing sas freetype fonts under linux

Reply
Super Contributor
Posts: 273

accessing sas freetype fonts under linux

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
Super Contributor
Posts: 273

Re: accessing sas freetype fonts under linux

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
Super Contributor
Posts: 273

Re: accessing sas freetype fonts under linux

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
Post a Question
Discussion Stats
  • 2 replies
  • 191 views
  • 0 likes
  • 1 in conversation