The SAS Output Delivery System and reporting techniques

Using Proportional Font(Arial) in ODS PDF - Problem with Line-up

Reply
New Contributor
Posts: 4

Using Proportional Font(Arial) in ODS PDF - Problem with Line-up

Hello,

I have a problem with line-up in ODS PDF output using proportional font (Arial); I know I have to use monospace font to do so;

The problem is that the requirement from the users indicates that the developers must use "ARIAL" only in that report.

I suppose I could create a dynamic format for that particular column, which displays the name of the state and followed by dots (below is the example.

But, I am wondering if there is any way in ODS to line-up the value in PDF file.

example:

monospaceArial
Alabama .........Alabama ........
California ......California .........

For state_name column, it is 100 bytes long and contains "name of the state" and "dots(.)"

In proc report, the column is 1.75 in.

the code is attached. the problem area is "COMPUTE" area; with SAS Monospace, it shows uniformed spacing.

Thanks.

Hana

Attachment
Super User
Super User
Posts: 6,502

Re: Using Proportional Font(Arial) in ODS PDF - Problem with Line-up

What is the purpose of the dots?

SAS Super FREQ
Posts: 8,744

Re: Using Proportional Font(Arial) in ODS PDF - Problem with Line-up

Hi:

  Is this is a duplicate posting? This question has been answered in a different post (https://communities.sas.com/message/158378#158378).  Is there a new development to the other question or to the answer?

cynthia

New Contributor
Posts: 4

Re: Using Proportional Font(Arial) in ODS PDF - Problem with Line-up

Hello,

Yes it is; I posted this earlier.  Sorry about that.

The dots are for filling in the column of the state name; e.g. the column is char(50). so state_name = "Florida ......." or "Texa ......."

Using Arial font does not meet the clients' satisfaction; however, Ms. Cynthia's explanation gave them the reason to look at other wasy to produce the reports.  Many thanks to Ms. Cynthia.

Best Regards,

Hyunjoo Reed

Ask a Question
Discussion stats
  • 3 replies
  • 301 views
  • 0 likes
  • 3 in conversation