I just moved from SAS 9.3 to SAS 9.4 and I'm trying to export a graph from proc gchart to a cgm file that I import into CorelDraw X5. I had been using device cgmlt97l but isn't available in 9.4 so I'm using cgmof97l instead. The graph is looking OK when it is imported into CorelDraw, but text from the annotations is curves instead of a font. Text from the rest of the chart in coming in as Helvetica. I'm pretty sure that it all came in as text before. Can anyone tell me what I need to change to get all the text to come in as text so I can manipulate it in CorelDraw as text? I’ve attached the three data files I am using and the graph I made last year with SAS 9.3 and CorelDraw X5 and I’ve included my code below. My operating system is Windows 7 64-bit. Thanks for any help you can provide.
I received help from SAS support. I'll post the reply in case anyone else comes looking here for the answer:
I made some fairly minor changes to your original SAS code and have attached the modified code to this email. When you have time, submit the attached code to SAS and let me know what happens. The biggest change I made to your SAS code is to make sure that SAS is creating your graphics output where all of the text on the graph is created using the Helvetica hardware font. When using a CGM device driver, you do this by specifying in your code the font name of HWCGM001.
This is why the modified GOPTIONS statement now looks like this:
I also noticed that since both of your Annotate data sets use the old SAS software font with the name of SWISS, I modified both Annotate data sets to change the old SWISS font to the HWCGM001 hardware font.
With the attached code, you might have to "tweak" the code a bit more (perhaps adjusting some text heights and text positioning). But the attached code should get you pretty close to what you are looking for.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.