Garamond - a serif font.

Arial - a sans serif font. |
Serif
|
Decorative line, circle, or other flourish at the end of a
stroke in a letter. Sans serif is without decoration.
|
Baseline
|
Imaginary line on which most lowercase letters appear to rest.
|
Midline
|
Imaginary line at the top of most lowercase letters.
|
x-height
|
Distance between baseline and midline.
|
Font
|
Set of all printable characters in a specific style and size.
Example:
14-point Arial bold
<span style="font-size:14pt; font-face:
Arial; font-style:bold">
|
Typeface
|
Design for a set of fonts. Example: Times New Roman bold.
|
Family
|
Typeface family or font family consists of all the sizes and
variations (bold, italic, etc.). Example: Times New Roman
|
Point
|
1/72nd of an inch, generally used to measure
vertical sizes and distances. The size of a type is given in
points as measured from the bottom of the lowest descender to the
top of the highest ascender, plus a little bit which varies
from one typeface to another. The little bit is designed to
prevent adjacent lines from touching.
This should
be 1/4 inch or 18-point Times New Roman.
<font face="Times New Roman"
style="font-size:18pt">
|
Pica
|
1/6th of an inch, generally used to measure
horizontal sizes and distances. 12 points in a pica.
|
em
|
Linear measure equal to the point size of the font. In any
12-point font, one em is 12 points or 1/6th of
an inch. While pica and points are absolute sizes, em is relative
to the current point size. For a 24-point font, one em is 1/3
inch.
Current size 12 pt Verdana.
1 em.
2 em. 3 em.
4 em. 5 em. 6 em.
<font size="5em">
|
Roman
|
Normal or upright versus italic.
|
Pixel
|
A single point on a computer display. 800 pixels wide by 600
tall is common resolution, yielding 80 pixels per inch on a 10
inch screen. Screen height to width ratio is normally 3/4. On a
typical monitor today, one pixel is about one point.
|
Exercise 0
|
- How many pixels should used to display a 36-point font on a
640x480 monitor?
- On a 800x600?
- Will the size of the display change the size the of the font?
|
Proportional
Monospaced
|
Monospaced characters are each the same size while proportional
characters use more space for larger letters such M than smaller
characters such a .
Monospacing is commonly used in display of program code of
other text where horizontal alignment is important. For example,
in Courier and Times New Roman:
function DaysInMonth(month, year ) {
if(month==1 || month==3 || month==5 || month==7)
return 31;
if(month==4 || month==6 || month==9 || month==11)
return 30;
if(month==2)
if((year%4)==0 && (year%100)!=0 || (year%400)==0)
return 29;
else return 28;
}
function DaysInMonth(month, year )
{
if(month==1 || month==3 || month==5 || month==7)
return 31;
if(month==4 || month==6 || month==9 || month==11)
return 30;
if(month==2)
if((year%4)==0 && (year%100)!=0 ||
(year%400)==0)
return 29;
else return 28;
}
|