comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ImageMagick option not showing up in Coyote Graphics window
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: ImageMagick option not showing up in Coyote Graphics window [message #90400 is a reply to message #90399] Fri, 27 February 2015 15:34 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Phillip Bitzer writes:

>
> 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

True-type fonts (sometimes called Outline fonts) are always polygon
filled fonts. I presume drawing the (many!) polygons is what causes the
"scratches.' (I'm not sure at which point anti-aliasing enters into the
equation.) Hardware fonts (always the default when creating PostScript
output with Coyote Graphics routines, unless you tell me something
different) are not polygon filled, so presumably wouldn't be subject to
scratches. I'm using IDL version 8.2.3 and I haven't noticed anything
funny about the PostScript files when using True-Type fonts. Nor am I
aware of any change to the PostScript device that could account for
this.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: data with number of columns variables
Next Topic: WIDGET_TABLE and /ALL_EVENTS

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:36:16 PDT 2025

Total time taken to generate the page: 0.00429 seconds