2.1 Different Text Attributes Font A set of printable or displayable text characters with its style and size specified Arial 16 point bold Arial 32 point normal Arial 48 point italic Three different Arial fonts
Dec 26, 2015
2.1 Different Text Attributes Font
A set of printable or displayable text characters with its style and size specified
Arial 16 point bold
Arial 32 point normal
Arial 48 point italicThree different Arial
fonts
2.1 Different Text Attributes Typeface
The type design for a set of fonts Example: Courier, Times New Roman Typeface family: a collection of
typefaces of the same design but different display styles
Example,
The Arial typeface family
Arial Black
Arial NarrowArial Unicode MS
Arial
2.1 Different Text Attributes Typeface
Font typefaces are either ‘serif’ or ‘sans serif’
A serif is a line or a curve, for decorative purpose, extending from the stroke end of a character
Aserif
‘Sans’ is a French word meaning without, so ‘sans serif’ means without serif
2.1 Different Text Attributes Typeface
Serif creates a visual effect that there seems a line running along the base of the text
This serves as a guide to users in viewing the screen display → increases readability
ABCDEFGHIJK
ABCDEFGHIJK
A virtual line
2.1 Different Text Attributes Font Style
Boldface, italics and underline are common font styles
Boldface ShadowShadow
Italics EmbossEmboss
Underline EngraveEngraveDifferent font styles for Times New Roman
2.1 Different Text Attributes Font Size
Font sizes are usually expressed in points One point is about 1/72 of an inch Truetype fonts remain smooth when enlarged Bitmapped fonts become ragged when enlarged
2.1 Different Text Attributes Font Size
On web pages, font sizes are specified either on,an absolute scale of 1 to 7, ora relative scale of -1 to +7
2.1 Different Text Attributes Font Size
On web pages, font sizes are specified either on,an absolute scale of 1 to 7, ora relative scale of -1 to +7
2.2 Text Layout Text Layout
The arrangement of text in a document
Alignment Text can be left aligned, right aligned,
centre aligned or justified
2.2 Text Layout Line Spacing
In general, the greater the line spacing, the more readable the text is
A balance has to be made between readability and the amount of text displayed
2.2 Text Layout Line Spacing
In general, the greater the line spacing, the more readable the text is.
A balance has to be made between readability and the amount of text displayed
2.3 Different Text File Formats
Plain Text File (TXT) A plain text file has the extension .txt Contains only ASCII characters with few
or even no text formatting features Commonly handled with Windows
Notepad Advantage
Can be opened by most word processors → suitable for file exchange
DisadvantageFont styles, font sizes and graphics
cannot be preserved
2.3 Different Text File Formats
Word Processing Document (DOC, ODT)
Produced by a word processor Contains plain text and formatting code Software-specific formatting code → the
need to exchange the document file format
File extensionMicrosoft Word document file: .docOpenOffice document file: .odt
2.3 Different Text File Formats
Word Processing Document (DOC, ODT)
Microsoft Word Document (DOC)
OpenOffice document (ODT)
2.3 Different Text File Formats
Rich Text Format (RTF) A file format designed for exchanging
documents across different platforms Preserves text formatting features and
graphics Standard file format in Windows
WordPad Format compatible among common word
processors
2.3 Different Text File Formats
Portable Document Format (PDF) Developed by Adobe Systems A cross-platform file format for sharing
documents Can be opened by software other than
that used to create the file, namely Adobe Reader
2.3 Different Text File Formats
Portable Document Format (PDF) Features
Fonts, graphics and text layout are preserved across platforms
Content can be magnified for visually impaired
Support full text search
2.3 Different Text File Formats
HTML Document A plain text file specifying the display
properties of the text on a web page Can be created using
Web authoring softwareWord processorsNotepad
To view the document, use browsers such asInternet ExplorerNetscape Browser
2.3 Different Text File Formats
HTML Document
A web page displayed in a browser (left) and the corresponding HTML document in Notepad (right)
2.3 Different Text File Formats
HTML Document
A web page displayed in a browser (left) and the corresponding HTML document in Notepad (right)
2.4 Conversions of Text File Formats
Format Conversions It is common to convert text file formats
when we need to share documents
2.4 Conversions of Text File Formats
Format ConversionsWord processor
File typeMicrosoft Word
OpenOffice.org 2.0 Writer
Plain Text File (TXT)
Import
Export
Word Processing Document (DOC)
Import
Export
Rich Text Format (RTF)
Import
Export
Portable Document Format (PDF)
Import
Export
HTML Document (HTML)
Import
Export Possible conversions of text file formats in some common word processors
2.4 Conversions of Text File Formats
Format ConversionsWord processor
File typeWordPad Notepad
PDF995 Suite
Plain Text File (TXT)
Import
Export
Word Processing Document (DOC)
Import
Export
Rich Text Format (RTF)
Import
Export
Portable Document Format (PDF)
Import
Export
HTML Document (HTML)
Import
Export Possible conversions of text file formats in some common word processors
2.4 Conversions of Text File Formats
Format ConversionsWord processor
File typeWordPad Notepad
PDF995 Suite
Plain Text File (TXT)
Import
Export
Word Processing Document (DOC)
Import
Export
Rich Text Format (RTF)
Import
Export
Portable Document Format (PDF)
Import
Export
HTML Document (HTML)
Import
Export Possible conversions of text file formats in some common word processors