-
December 19th, 2012, 09:01 AM
#1
How to enumerate font styles for a given font
I recently switched from Visual C++ 6.0 to Visual C++ 2008.
With Visual C++ 6.0, I used a callback method to get available font styles for a given font. I don't think that is working correctly anymore.
What is the best approach for determining which font styles (e.g., bold, italic, etc.) are available for a given font. I am not using .Net.
-
December 20th, 2012, 03:35 PM
#2
Re: How to enumerate font styles for a given font
Jim
ATP BE400 CE500 (C550B-SPW) CE560XL MU300 CFI CFII
"The speed of non working code is irrelevant"... Of course that is just my opinion, I could be wrong.
"Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination are omnipotent. The slogan 'press on' has solved and always will solve the problems of the human race."...Calvin Coolidge 30th President of the USA.
-
January 3rd, 2013, 07:01 PM
#3
Re: How to enumerate font styles for a given font
Look into:
EnumFonts
EnumFontFamilies(Ex)
There are only 10 types of people in the world:
Those who understand binary and those who do not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|