Reguler & True type
There are two types of fonts. Reguler fonts and true type fonts.
Regular fonts comes with .FON extensiton while true type fonts have .TTF or .TTC (true type collection) extension.
True type fonts have additional drawing enhancements like antialiaing and clear type drawing.
These font enhancement settings are available in control panel and these are user configurable.
Enhancements can be seen in default quality if is is selected in font setup.
The output quality depends on values of the parameter fdwQuality.
The output quality defines how carefully GDI must attempt to match the logical-font attributes to those of an actual physical font. It can be one of the following values.
|ANTIALIASED_QUALITY||Font is antialiased, or smoothed, if the font supports it and the size of the font is not too small or too large.
||CLEARTYPE_QUALITY||If set, text is rendered (when possible) using ClearType antialiasing method. See Remarks for more information.
|DEFAULT_QUALITY||Appearance of the font does not matter.
|DRAFT_QUALITY||Appearance of the font is less important than when the PROOF_QUALITY value is used. For GDI raster fonts, scaling is enabled, which means that more font sizes are available, but the quality may be lower. Bold, italic, underline, and strikeout fonts are synthesized, if necessary.
|NONANTIALIASED_QUALITY||Font is never antialiased, that is, font smoothing is not done.
|PROOF_QUALITY||Character quality of the font is more important than exact matching of the logical-font attributes. For GDI raster fonts, scaling is disabled and the font closest in size is chosen. Although the chosen font size may not be mapped exactly when PROOF_QUALITY is used, the quality of the font is high and there is no distortion of appearance. Bold, italic, underline, and strikeout fonts are synthesized, if necessary.
If the output quality is DEFAULT_QUALITY, DRAFT_QUALITY, or PROOF_QUALITY, then the font is antialiased if the SPI_GETFONTSMOOTHING system parameter is TRUE. Users can control this system parameter from the Control Panel. (The precise wording of the setting in the Control panel depends on the version of Windows, but it will be words to the effect of "Smooth edges of screen fonts".)
You have viewed 1 page out of 109. Your VC++ learning is 0.00% complete. Login to check your learning progress.
Similar topics related to this section
Programming Windows, Fifth Edition (Developer Reference)
Programming Applications for Microsoft Windows (Microsoft Programming Series)
Programming Windows with MFC, Second Edition
Visual C++ Programming
Programming Microsoft Visual C++, Fifth Edition
| #1 webmaster Sun 27 Apr/2014 01:06:12(GMT) || 0 || 0|
We are pleased to inform you that a forum/blog has been incorporated with www.mybestnotes.co.in. You are welcomed to add your comments, requests, codes, solutions and feedback to it. Please login(if already a member) or signup(for free) to avail to this facility.
Your message goes here: