Page 1 of 1
the fontSizes not working well on Win32
Posted: Mon Jan 25, 2010 6:01 pm
by massung
Try as I may, I can't get this function to work well. Anyone have any hints for me or do I need to submit a bug report? Even just opening the message box and doing:
Code: Select all
put the fontSizes of "Courier New"
That results in "0" for me any many friends (on XP, Vista, and Windows 7). "Courier" returns 3 sizes, but it's the exception - and certainly Courier has far more than 3 acceptable font sizes available

.
Jeff M.
Re: the fontSizes not working well on Win32
Posted: Mon Jan 25, 2010 6:24 pm
by oliverk
Hi Jeff,
I've never actually used the fontSizes function in an application before, but a quick look in the docs for the function at:
http://docs.runrev.com/Function/fontSizes suggests that a return value of 0 means the font will work at any size you choose.
What are you using the function for? Perhaps there is another way to achieve the same result.
Regards
Oliver
Re: the fontSizes not working well on Win32
Posted: Mon Jan 25, 2010 6:49 pm
by massung
Ugh. Helps if I [completely] read the docs. This was me being stupid...
Thanks for pointing out the obvious to me
Jeff M.