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

Home » Public Forums » archive » Re: GUI size on different screens
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: GUI size on different screens [message #51455] Sat, 25 November 2006 09:58 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
lory writes:

> How can I find which font and which character size are used by default
> (before changing it)?

You can't. :-(

(I put this out more as a challenge than as a statement of fact.
But, I have never discovered how to do it reliably.)

> My code should run under different OS, with
> different "system" font, and I would change only the size of the
> characters.

If you want your code to run under different operating systems,
leave fonts ALONE! Don't muck with them. Let the users use the
fonts they want to use. You are going down a path here that leads
to complete ruin and frustration!

> Another question: I do not fully understand the string you assigned to
> default_font, could you explain all the modifiers? The description of
> default_font in the IDL help is very short ...

This explanation will help only for users with a particular operating
system and for users who have this particular font installed. (Some
will and some, for whatever inexplicable reason, will not.) Take
everything you learn with a grain of salt, and IGNORE ALL ADVICE.
Leave fonts ALONE!

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Non maxima supression
Next Topic: A case where FOR loops are unavoidable?

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

Current Time: Sun Oct 12 05:49:41 PDT 2025

Total time taken to generate the page: 1.36156 seconds