COMP Module
COMP Module
TEXT
Introducti
•
on
Text is obviously the simplest of data types and requires the
least amount of storage.
• Font Size
– Expressed in point
– Example : 18 point
(x)
Font
Terminology
• Baseline – the line on which the bases of characters are
arranged
• Leading – the distance between successive
baselines
• x-height – the distance between the baseline and the top of a
lower- case letter x
Classification of
Fonts
•Spacing: monospaced (fixed width)/proportional
•Shape: upright/italic/slanted
Slant is a vertical shear effect, italic uses different
glyph shapes
with a slant
•Weight: bold/normal/light
This example shows the Times New Roman font
Ascender
Cap height X-height
FD xhp
Point size Serif Baseline Descender
336
Serif
Tracking
Ascender
BD hp
Descender
Av
Ke r
Leading
ning
Tracking and
Kerning
Av
Unkerned
A
Font
Terminology
embossed or shadow
Colours
Some common fonts used today include:
Arial (or Helvetica)
A sans serif font
Times New Roman (or Times Roman)
A serif font
Courier New (or Courier)
A monospaced font (all characters have the
same width)
Refer to microsoft word.
Font
• mapping
Some fonts installed in your machine
may not be available in other user’s
machine.
Can you read this? It is easier because people will recognize shape of
characters easier this way.
Can you read this? It is easier because people will recognize shape of characters
easier this way.
Meaningful
• Text words
is use for titles and headlines,
menus, navigation, and content.
Unicode
– Unicode is the universal standard for
multi language characters published by
Unicode Consortium. Unicode
Characters
– Unicode 4.0 standard covers 96,382
characters using 16 bits uniform
encoding.
ﺥﺡﺝﺚﺙﺏﺍ
– Unicode can support a wide variety of non-
Roman alphabets including Han Chinese, αβγδεζ
Japanese, Arabic, Korean, Bengali, and so
on.