Prev | Current Page 356 | Next

Matthew MacDonald

"Pro WPF with VB 2008: Windows Presentation Foundation with .NET 3.5"

(Oblique is an ???artificial???
way to create italic text on a computer that doesn??™t have the required italic font.
Letters are taken from the normal font and slanted using a transform. This
usually creates a poor result.)
FontWeight The heaviness of text, as represented as a FontWeight object. You get the
FontWeight preset you need from the shared properties of the FontWeights
class. Bold is the most obvious of these, but some typefaces provide other
variations such as Heavy, Light, ExtraBold, and so on.
FontStretch The amount that text is stretched or compressed, as represented by a
FontStretch object. You get the FontStretch preset you need from the shared
properties of the FontStretches class. For example, UltraCondensed reduces
fonts to 50% of their normal width, while UltraExpanded expands them to
200%. Font stretching is an OpenType feature that is not supported by many
typefaces. (To experiment with this property, try using the Rockwell font,
which does support it.)
Obviously, the most important of these properties is FontFamily. A font family is a collection
of related typefaces??”for example, Arial Regular, Arial Bold, Arial Italic, and Arial Bold
Italic are all part of the Arial font family. Although the typographic rules and characters for
each variation are defined separately, the operating system realizes they??™re related.


Pages:
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368