‎06-25-2009 07:31 AM
I know that I must include a custom ini file to specify font name AND size for target PCs (the ones where the EXE runs).
For example
appFont="Tahoma" 13
dialogFont="Tahoma" 13
systemFont="Tahoma" 13
Is there a way to specify only the font size and not the name? (i.e. I want to use the specific font for a given PC, but I want to set its size).
I tried with
appFont= 13
but this setting is ignored.
When I used
appFont= "0" 13
the size was correctly set, but what does the "0" mean?
Solved! Go to Solution.
‎06-25-2009 08:44 AM
Hi Vix,
Good afternoon and I hope your well today. Thanks for the post.
I have seen previously the "0" for the font type argument means default. I have though found it hard to locate a resource online which confirms this.
I believe this is similar to if you specify a font which the system doesn't have..
‎06-25-2009 08:49 AM
Hi Hillman,
thank you for your answer.
So when I specify "0" 13 I should be able to set size to 13 keeping that particular PC default font...
If this is true, this is exactly what I need
‎06-25-2009 08:57 AM
Hi Vix,
Yes I believe this will work.
You could confirm by the fact,
The default Application font is the Message Box Font which is Segoi UI and Tahoma for Windows VISTA and XP machines respectively. To verify this this on a Windows XP machine, complete the following steps:
.. does the font change between "0" and Tahoma for example..
‎06-25-2009 10:04 AM
I did the test you suggested, and I can confirm the assumption.
Kudos to you!
‎10-11-2010 07:48 AM
You may want to vote for this idea.