Re: ImageMagick option not showing up in Coyote Graphics window [message #90399 is a reply to message #90368] |
Fri, 27 February 2015 15:09   |
Phillip Bitzer
Messages: 223 Registered: June 2006
|
Senior Member |
|
|
On Thursday, February 26, 2015 at 11:41:36 AM UTC-6, David Fanning wrote:
>
> If I had some assurances the anti-aliasing theory had been addressed, I
> would be looking for alternate explanations, too. :-)
>
> Cheers,
>
> David
> --
OK, I'm leaning toward a font thing. Consider this:
cgWindow
cgText, 0.5, 0.5, 'Is this ugly?', COLOR='black', /NORMAL, /ADD, ALIGN=.5, CHARSIZE=10
cgControl, OUTPUT='test.pdf', PS_DELETE=0 ;don't delete the PS file....
cgControl, /DESTROY
cgPS_OPEN, 'test2.pdf', TT_FONT='Helvetica'
cgText, 0.5, 0.5, 'Is this ugly?', COLOR='black', /NORMAL, ALIGN=.5, CHARSIZE=10
cgPS_CLOSE
Leave off the TT_FONT='Helvetica' in the second example, and the text is fine. Looks like the text in the PS file also has this issue, so I don't think it's a GS/ImageMagick issue.
It'll be a couple days before I can roll up my sleeves and figure out what's happening, but perhaps somehow forcing the use of hardware fonts with cgControl will help in the meantime. (Although setting PS_FONT=0 in the call to cgControl doesn't seem to work.)
Current config:
Mac OS 10.9.5
IDL Version 8.2.2
GPL Ghostscript 9.07 (2013-02-14)
ImageMagick 6.8.3-3 2013-02-21
|
|
|