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

Home » Public Forums » archive » Re: Why the font is smaller in the IDLgrBuffer ?
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: Why the font is smaller in the IDLgrBuffer ? [message #65420 is a reply to message #65333] Fri, 27 February 2009 11:53 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
I'm pretty sure you need to change the resolution of the IDLgrBuffer so
it matches your screen resolution. The default DPI is 72 which is
usually not your window manager's DPI. I think MS Windows is 96 by
default but I don't know. You can run 'xdpiinfo' (?) on x-windows based
machines to see what your DPI is (or something like that, I'm on a
windows box now so I can't check).

-Rick


David Fanning wrote:
> bernat writes:
>
>> I've an IDLgrView with some IDLgrTexts using a certain IDLgrFont and I
>> convert all of that to an IDLgrImage using an IDLgrBuffer.
>> The Buffer has the same dimensions of the View and I use the Draw and
>> Read methods.
>>
>> On the result, the font of all texts is modified and smaller than the
>> original.
>> Why ?
>
> This is a fairness issue. Direct graphics programmers have
> had to deal with this since, well, forever with the Z-graphics
> buffer. So the good folks at ITTVIS couldn't let the object
> graphics programmers get off scott free. They figured
> mental anguish should be the right of *all* IDL programmers.
>
> Cheers,
>
> David
>
> P.S. I don't know this for a fact. It's just my theory. :-)
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Hide functions from other procedures
Next Topic: Re: 1e38 limit?

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

Current Time: Thu Oct 09 16:20:26 PDT 2025

Total time taken to generate the page: 0.79528 seconds