word processing fonts and styles. fonts an array of pictures indexed by an ascii character code

30
Word Processing Fonts and Styles

Upload: kristian-oliver

Post on 13-Dec-2015

221 views

Category:

Documents


1 download

TRANSCRIPT

Word Processing

Fonts and Styles

Fonts

• An array of pictures indexed by an ASCII character code

Arial

Arial[99] =

Arial[97] =

Arial[110]=

99 97 110

49 150 251 352 4

. . .

65 A66 B67 C

. . .

87 W88 X89 Y90 Z

. . .

97 a98 b99 c

100 d101 e

ArialItalic

ArialItalic[99] =

ArialItalic[97] =

ArialItalic[110]=

99 97 110

49 150 251 352 4

. . .

65 A66 B67 C

. . .

87 W88 X89 Y90 Z

. . .

97 a98 b99 c

100 d101 e

Analisa Bookman Footloose Wingdings

Each font is a different array of pictures

Analisa Bookman Footloose Wingdings

To change the font, use a different array

Where are Fonts Stored?

• With each document?– Where do new documents get them from?

• With each application (EXCEL, Word, Netscape)?– Why do the same fonts appear in all

applications?

• In the operating system– Shared by all applications and all documents

Fonts and document sharing

• If I have the font (ABRACADABRA) and I use it in a document, and I email that document to you, what will happen?

• What if you don’t have (ABRACADABRA)?– Tries to substitute a different font

PDF – Portable Document Format

• You can print documents into a PDF file

• PDF stores the fonts so that they will always be correct when they arrive on a new computer.

Properties of Fonts

• Type face– Times, Ariel, Helvetica etc.

• Spacing– Fixed (all characters the same width)

– Proportional (each character has its own width)

Properties of Fonts

• Serifs– Serifs - simplifies reading lines of text

R

– Sans Serif - good for headings or posters

R no little feet

Serifs are the little feet

Styles

• A style is a named collection of style attributes including– Font face and size, color, bold, underline,

indentation, etc.

• Applying a style will apply all of the attributes at once.

Creating a Style

Creating a Style

Creating a Style

Give your style a name

Two types of styles

Creating a Style

Creating a StyleFont

Color

Size

Style

Using a Style

Using a Style

Changing a Style

Changing a Style

Changing a Style

Changing a Style Changes all of the uses of the style

Document treedocument

section

para para

This is a lot of text that we are going to use to show how styles work. There are many things that you can do with

styles.

style

They can be used to create highlights, special type, and other

coolthings.

style

HighlightColor: RedFont: BookmanStyle: BoldAll caps: No

Document treedocument

section

para para

This is a lot of text that we are going to use to show how styles work. There are many things that you can do with

STYLES.

style

They can be used to create highlights, special type, and other

COOLthings.

style

HighlightColor: blueFont: BookmanStyle: regularAll caps: Yes

Document treedocument

section

para para

This is a lot of text that we are going to use to show how styles work. There are many things that you can do with

st

style

They can be used to create highlights, special type, and other

coolthings.

style

HighlightColor: RedFont: BookmanStyle: boldAll caps: No

yl

es.

black

Document treedocument

section

para para

This is a lot of text that we are going to use to show how styles work. There are many things that you can do with

ST

style

They can be used to create highlights, special type, and other

COOLthings.

style

Highlight

YL

ES.

black

Color: blueFont: BookmanStyle: regularAll caps: Yes

What is a paragraph style?

• A style that can only be applied to paragraphs– Indentation, tabs, alignment, and other

paragraph attributes

Review

• Font is an array of pictures indexed by the ASCII code for a character– Bold, Italic are just different pictures for same

letters– To change the font just change the array being

used.

• Fonts are stored on each computer. – If you send a document to a computer that

doesn’t have that font, a substitute will be supplied

Review

• Styles– Named groups of attributes– Change a style changes all uses of that style– Styles can be overridden by other attribute

settings

• Character styles and paragraph styles