9_f09_Text_Font - Text and Fonts in Windows DrawString...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Text and Fonts in Windows DrawString() • Graphics class member method to display a string on a graphics object • Six overloaded forms • All have Font as an argument
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Fonts • FONT: Typeface, style, size, attributes of characters in a character set – Provide control over the visual appearance of text Categories of Fonts Windows System Fonts – Always available Logical Fonts – Defined in separate resource files – Stroke fonts • Consist of line/curve segments – scalable, rotatable • Slow to draw • Legibility not good – Raster fonts--Bitmaps • Rotating and Scaling by non-integer scaling factor difficult • Fast to display • Legibility very good – TrueType/OpenType (Adobe) fonts--Rasterized stroke fonts • Stored as strokes with hints to convert to bitmap • Continuously scalable • Fast to display • Legibility very good • Combine best of both stroke and raster fonts Device fonts – Native to output device (e.g., built-in printer fonts)
Background image of page 2
Windows System Fonts Some Stroke Fonts
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Some Bitmapped Fonts Some TrueType Fonts
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 8

9_f09_Text_Font - Text and Fonts in Windows DrawString...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online