>I have code that can get the available fonts...no big deal. What I need to know is how to find the available font sizes for a specific font.
>
>Is there an easy way to get the font sizes? These will be used in a richtext control. Thanks!!
If they're scalable fonts (e.g. TrueType) I'm not sure there's such a thing as "available sizes". For example, in Word you may be offered sizes 20, 22 and 24 point when formatting text, but there's nothing stopping you from typing in 21.5 point in the size box, and that's what you'll get. Word seems to impose some restrictions (you can't use 22.89, for example) but in principle I think you can use an arbitrary value.
My understanding is a practical lower limit for font sizes is 3 or 4 point, using fonts optimized for small sizes (e.g. phone books) such as Bell Centennial. I don't know if there is any upper limit, it seems to be over 1,000 point:
http://discuss.joelonsoftware.com/default.asp?joel.3.458979.11
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up