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

Home » Public Forums » archive » Re: Font differences between IDL 5.6 and IDL 6.0
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: Font differences between IDL 5.6 and IDL 6.0 [message #38236 is a reply to message #38235] Fri, 27 February 2004 08:22 Go to previous messageGo to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
"Lynn" <lwhanigan@hotmail.com> wrote in message
news:ef2dfe4c.0402270632.5a50ff99@posting.google.com...
> There seems to be a difference in which IDL5.6 and 6.0 handles fonts.
> IDL6.0 does not appear to be consistant when displaying characters in
> size and alignment. For me, new lines do not always line up
> vertically. In addition, lines with only text, (i.e. no numbers),
> seem to appear smaller than do lines with text and numbers. Has
> anyone else encountered this? And if so, have you found a way to fix
> these problems? Or maybe know what IDL is doing differently? I've
> appended a small test program which illustrates my problem.

IDL 6.0 uses the Freetype library to render text glyphs for Object Graphics.
One of the techniques Freetype uses to improve glyph appearance is called
"hinting" or grid-fitting. Sometimes the library may jiggle the position of
a glyph slightly in order to position it better on the pixel grid for better
appearance, and this may be causing the alignment issues you are noticing.
In most cases, the result is much better than the triangle rendering used
before 6.0.

You can revert back to the triangle rendering if you really want to by using
RENDER_METHOD=1 on IDLgrText. I noticed that your test is making printer
output. On a printer device, which has a LOT of resolution, the text
rendered with triangles can look really good, so that may not be a bad
choice when printing.

Karl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Inserting space between a 'widget_droplist' and a 'widget_button'
Next Topic: Re: amoeba/mpfit/etc with a quantized variable?

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

Current Time: Fri Oct 10 15:30:21 PDT 2025

Total time taken to generate the page: 2.23673 seconds