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

Home » Public Forums » archive » Re: Nice Fonts in Direct Graphics
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: Nice Fonts in Direct Graphics [message #65113 is a reply to message #65110] Tue, 10 February 2009 09:09 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
"Direct Graphics" and "Nice Fonts" are two terms that should not be used in
the same sentence. :-) Seriously David's solution is as godd as it gets, so
use it...


"bernat" <bernat.puigdomenech@gmail.com> wrote in message
news:cf356b79-7a87-4bdc-aeaa-21977e304e18@p37g2000yqd.google groups.com...
> I do a lot of work in the Direct Graphics and I would like to use nice
> looking fonts..
> I found this routine in the coyote library for display nice fonts in Z-
> graphics buffer:
>
> data = Dist(41)
> Window, XSize=300, YSize=300, Title='Normal Picture'
> Surface, data, XTitle='This is X Title', YTitle='This is Y Title', $
> ZTitle='This is Z Title', Font=1, Charsize=2.5, $
> Position=[0.25, 0.15, 0.90, 0.90, 0.15, 0.95]
> thisDevice = !D.Name
> Set_Plot, 'Z'
> Device, Set_Resolution=[1200, 1200]
> Surface, data, XTitle='This is X Title', YTitle='This is Y Title', $
> ZTitle='This is Z Title', Font=1, Charsize=2.5*4, $
> XThick=4, YThick=4, ZThick=4, Thick=4, $
> Position=[0.25, 0.15, 0.90, 0.90, 0.15, 0.95]
> snapshot = TVRD()
> Set_Plot, thisDevice
> Window, 1, XSize=300, YSize=300, Title='Z Buffer Picture'
> TV, Rebin(snapshot, 300, 300)
>
> I want something like that for my program... Maybe I could use the
> same code to change my fonts in my plots but maybe there is another
> way to do that.
> Thanks,
>
> Bernat
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: idlgrcontour and clip_planes ?
Next Topic: implementation of geotiff keys

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

Current Time: Sun Oct 12 07:22:34 PDT 2025

Total time taken to generate the page: 0.56094 seconds