 |
 |

01-14-2004, 08:14 PM
|
 |
Centurion
|
|
Join Date: Dec 2003
Location: Missouri
Posts: 143
|
|
Another Font Aliasing Thread...
|
On my splash screen, I have six labels in 14pt MS Sans Serif. They're all very jaggy. I need this to look smooth and nice.
In the last version, I ended up having to use images for each of these because it just looked too bad. I'd like to be able to use Labels though, and some of this text may need to be dynamicly generated.
Any ideas?
Chad
|
__________________
Chad
|

01-15-2004, 09:45 AM
|
 |
Coder of Fortune
Retired Leader * Expert *
|
|
Join Date: Dec 2002
Location: Troy, NY USA
Posts: 3,120
|
|
|
The hard way would be to generate the text double size and interpolate it down. I think that in newer version of Windows, there may also be smooth-text drawing routines, but I'm not sure what lib they're in or what they're called.
|
__________________
-- The Gavster
Like to IRC? Try irc.randomirc.com
GavServer
|

01-15-2004, 10:39 AM
|
|
Freshman
|
|
Join Date: Jan 2004
Location: Here
Posts: 33
|
|
Quote: Originally Posted by GavinO The hard way would be to generate the text double size and interpolate it down. I think that in newer version of Windows, there may also be smooth-text drawing routines, but I'm not sure what lib they're in or what they're called.
I'm not good at calling windows DLLs and I'm not sure if this can help, but here goes nothing: When you open the Fonts folder and open a font with the font previewer (by double-clicking on the font), the text goes as big as 72 pts... Maybe someone could find the linked DLL for that action...
|
|

01-15-2004, 11:24 AM
|
 |
Centurion
|
|
Join Date: Dec 2003
Location: Missouri
Posts: 143
|
|
Same effect in smaller font...
|
I see the same jaggies in all smaller font sizes (12, 10).
Anyone getting anywhere on this? It's getting quite close to a deadline, and my big show-stopper is "look and feel"... because of this look.
Tomorrow I may have to use images of these words instead of labels, and make it a bigger file, have more resources to track, and have to create new versions of every image for each version change/toolname change.
Please save me.
|
__________________
Chad
|

01-15-2004, 01:07 PM
|
 |
Coder of Fortune
Retired Leader * Expert *
|
|
Join Date: Dec 2002
Location: Troy, NY USA
Posts: 3,120
|
|
You can enable system wide font smoothing with this API: http://msdn.microsoft.com/library/de...metersinfo.asp
Kinda mean to make a system-wide, performance-crippling change, though. The 'jagged' appearance of 14pt ms sans serif really isn't that bad, seeings as the rest of the Windows UI uses that font (albeit a bit smaller), so it will blend in.
|
__________________
-- The Gavster
Like to IRC? Try irc.randomirc.com
GavServer
|

01-15-2004, 04:07 PM
|
 |
Centurion
|
|
Join Date: Dec 2003
Location: Missouri
Posts: 143
|
|
Agreed...
|
You're right... I can't do that to my users' PCs.
I'm doing Pics, instead.
|
__________________
Chad
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
 |
|