Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > efc75c1dcfa45d4b2a545c38cda30759 > files > 124

pfaedit-020312-2mdk.i586.rpm

<HTML>
<HEAD>
  <!-- Created with AOLpress/2.0 -->
  <!-- AP: Created on: 6-Dec-2000 -->
  <!-- AP: Last modified: 18-Dec-2000 -->
  <TITLE>The Metrics View</TITLE>
</HEAD>
<BODY>
<H1 ALIGN=Center>
  The Metrics View
</H1>
<P>
<IMG SRC="MetricsView.png" WIDTH="428" HEIGHT="323">
<P>
The metrics view allows you to examine how characters look together and to
alter the spacing between them.
<P>
If the metrics view is created from the font view then any selected characters
(up to about 15) will be displayed in the view. If it is created from an
outline or bitmap character view then only that character is displayed. If
it is created from a bitmap character view (or from the font view when that
view is displaying a bitmap font) then the metrics view will display bitmaps,
but will not allow you to edit the bitmaps metrics (you must do you editing
in one displaying outlines).
<P>
Underneath the menu bar is a text field which allows you to enter additional
unicode characters to be displayed.
<P>
The mid portion of the view is taken up with the displayed characters. For
outline characters these are sized so that the em-height of the font just
fits in this region. There are grey lines between the characters marking
the origin of the character on the right and the width of the character on
the left. The baseline is also drawn in grey.
<P>
One of the characters is active. That character has a green line on its left
(at its origin) and a blue line on its right (its width). You may change
the width by dragging this line. You may change the left side bearing (lbearing)
of the character by clicking on the character and dragging it left or right.
You may change the kerning between this character and the one to its left
by dragging the green line around.
<P>
The active character may be changed by clicking on any of the characters.
<P>
Underneath the display area are a set of text fields. You may type in new
numbers for any of these fields to change the corresponding metrics of the
character.
<P>
If the first character to be displayed is in Hebrew or Arabic (or any other
right to left language) then the entire display area will be shown right
to left
<P>
<STRONG>Note</STRONG> there is a very complicated algorithm given in the
Unicode spec for displaying mixed right to left and left to right passages.
This is not followed here. The direction determination is done by the first
character alone.
<P>
<STRONG>Note also </STRONG>that neither Arabic ligature nor form (initial,
terminal, medial, isolated) determination will be done in the display area
(though they will be done in the text field above). If you want to correct
form you must enter the unicode character for that form (as opposed to the
character for the letter).
<P>
<IMG SRC="HebrewMetrics.png" WIDTH="511" HEIGHT="323">
<H2>
  <A NAME="Entering">Entering non-ASCII characters</A>
</H2>
<P>
Most of us are stuck with keyboards that only have ASCII characters on them.
Or at best some sub-set of ISO 8859-1 characters. How can the full range
of unicode characters be entered?
<P>
Many versions of X supply a "Compose Character" key, or something equivalent.
The X software will map a sequence of keystrokes to one character in whatever
the native encoding may be.
<P>
My keyboard doesn't have such a key, and my X doesn't do this. But I have
implemented something along those lines for those of us with less expensive
keyboards. If you are in a mode where text entry is possible then press the
F12 key and follow it by a series of keystrokes. Accented characters may
be built using the following:
<TABLE CELLPADDING="2">
  <TR>
    <TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    <TD>`</TD>
    <TD>grave accent</TD>
    <TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    <TD>0</TD>
    <TD>ring</TD>
    <TD>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    <TD>"</TD>
    <TD>double grave (or tonos)</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>'</TD>
    <TD>acute accent</TD>
    <TD></TD>
    <TD>/</TD>
    <TD>slash</TD>
    <TD></TD>
    <TD>.</TD>
    <TD>dot above</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>:</TD>
    <TD>diaeresis (umlaut)</TD>
    <TD></TD>
    <TD>7</TD>
    <TD>breve</TD>
    <TD></TD>
    <TD>,</TD>
    <TD>dot below</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>^</TD>
    <TD>circumflex</TD>
    <TD></TD>
    <TD>6</TD>
    <TD>caron</TD>
    <TD></TD>
    <TD>5</TD>
    <TD>cedilla</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>~</TD>
    <TD>tilde</TD>
    <TD></TD>
    <TD>_</TD>
    <TD>macron</TD>
    <TD></TD>
    <TD>4</TD>
    <TD>ogonec</TD>
  </TR>
</TABLE>
<P>
So &Acirc; may be built by <KBD>[F12] ^ A</KBD>, and A with diaeresis and
macron may be built with <KBD>[F12] : _ A</KBD>.
<P>
Greek letters may also be created. If you start with <KBD>[F12] @</KBD> and
follow with:
<TABLE CELLPADDING="2">
  <TR>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>A</TD>
    <TD>Alpha</TD>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>B</TD>
    <TD>Beta</TD>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>C</TD>
    <TD>Chi</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>D</TD>
    <TD>Delta</TD>
    <TD></TD>
    <TD>E</TD>
    <TD>Epsilon</TD>
    <TD></TD>
    <TD>F</TD>
    <TD>Phi</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>G</TD>
    <TD>Gamma</TD>
    <TD></TD>
    <TD>H</TD>
    <TD>Eta</TD>
    <TD></TD>
    <TD>I</TD>
    <TD>Iota</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>J</TD>
    <TD>(technical) Theta</TD>
    <TD></TD>
    <TD>K</TD>
    <TD>Kappa</TD>
    <TD></TD>
    <TD>L</TD>
    <TD>Lamda</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>M</TD>
    <TD>Mu</TD>
    <TD></TD>
    <TD>N</TD>
    <TD>Nu</TD>
    <TD></TD>
    <TD>O</TD>
    <TD>Omicron</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>P</TD>
    <TD>Pi</TD>
    <TD></TD>
    <TD>Q</TD>
    <TD>Theta</TD>
    <TD></TD>
    <TD>R</TD>
    <TD>Rho</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>S</TD>
    <TD>Sigma</TD>
    <TD></TD>
    <TD>T</TD>
    <TD>Tau</TD>
    <TD></TD>
    <TD>U</TD>
    <TD>Upsilon</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>V</TD>
    <TD>final sigma</TD>
    <TD></TD>
    <TD>W</TD>
    <TD>Omega</TD>
    <TD></TD>
    <TD>X</TD>
    <TD>Xi</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>Y</TD>
    <TD>Psi</TD>
    <TD></TD>
    <TD>Z</TD>
    <TD>Zeta</TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
  </TR>
</TABLE>
<P>
This is the mapping used by the Symbol font. (Lower case letters are created
similarly so <KBD>[F12] @ a</KBD> yields a lower case alpha). Accented greek
letters may also be built up, <KBD>[F12] @ " A</KBD> yields Alpha tonos.
<P>
Finally the following special characters may be built:
<TABLE CELLPADDING="2">
  <TR>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>[F12] &lt;space&gt;</TD>
    <TD>&lt;no break space&gt;</TD>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>[F12] *</TD>
    <TD>&#176;</TD>
    <TD>&nbsp;&nbsp;&nbsp;</TD>
    <TD>[F12] @ *</TD>
    <TD>&lt;bullet&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] @ &lt;space&gt;</TD>
    <TD>&lt;em space&gt;</TD>
    <TD></TD>
    <TD>[F12] #</TD>
    <TD>&#163;</TD>
    <TD></TD>
    <TD>[F12] @ #</TD>
    <TD>&#165;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] $</TD>
    <TD>&lt;euro&gt;</TD>
    <TD></TD>
    <TD>[F12] @ $</TD>
    <TD>&#162;</TD>
    <TD></TD>
    <TD>[F12] !</TD>
    <TD>&#161;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] +</TD>
    <TD>&#177;</TD>
    <TD></TD>
    <TD>[F12] -</TD>
    <TD>&lt;soft-hyphen&gt;</TD>
    <TD></TD>
    <TD>[F12] @ -</TD>
    <TD>&lt;en dash&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] @ .</TD>
    <TD>&#183;</TD>
    <TD></TD>
    <TD>[F12] 7 2</TD>
    <TD>&#189;</TD>
    <TD></TD>
    <TD>[F12] ;</TD>
    <TD>. . .</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] &lt;</TD>
    <TD>&lt;less or equal&gt;</TD>
    <TD></TD>
    <TD>[F12] &gt;</TD>
    <TD>&lt;greater or equal&gt;</TD>
    <TD></TD>
    <TD>[F12] @ &gt;</TD>
    <TD>&lt;triangle bullet&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] =</TD>
    <TD>&lt;quote dash&gt;</TD>
    <TD></TD>
    <TD>[F12] ?</TD>
    <TD>&#191;</TD>
    <TD></TD>
    <TD>[F12] A</TD>
    <TD>&Aring;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] C</TD>
    <TD>&Ccedil;</TD>
    <TD></TD>
    <TD>[F12] H</TD>
    <TD>&lt;right index&gt;</TD>
    <TD></TD>
    <TD>[F12] O</TD>
    <TD>&lt;OE lig&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] P</TD>
    <TD>&#167;</TD>
    <TD></TD>
    <TD>[F12] [</TD>
    <TD>&lt;single right quote&gt;</TD>
    <TD></TD>
    <TD>[F12] ]</TD>
    <TD>&lt;single right quote&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] \</TD>
    <TD>&#171;</TD>
    <TD></TD>
    <TD>[F12] @ \</TD>
    <TD>&lt;single guillemot&gt;</TD>
    <TD></TD>
    <TD>[F12] a</TD>
    <TD>&aring;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] c</TD>
    <TD>&ccedil;</TD>
    <TD></TD>
    <TD>[F12] f</TD>
    <TD>&lt;female sign&gt;</TD>
    <TD></TD>
    <TD>[F12] g</TD>
    <TD>&copy;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] h</TD>
    <TD>&lt;left index&gt;</TD>
    <TD></TD>
    <TD>[F12] m</TD>
    <TD>&lt;male sign&gt;</TD>
    <TD></TD>
    <TD>[F12] o</TD>
    <TD>&lt;oe lig&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] p</TD>
    <TD>&#182;</TD>
    <TD></TD>
    <TD>[F12] r</TD>
    <TD>&reg;</TD>
    <TD></TD>
    <TD>[F12] s</TD>
    <TD>&szlig;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] t</TD>
    <TD>TM</TD>
    <TD></TD>
    <TD>[F12] z</TD>
    <TD>&lt;long s&gt;</TD>
    <TD></TD>
    <TD>[F12] {</TD>
    <TD>&lt;left dbl quote&gt;</TD>
  </TR>
  <TR>
    <TD></TD>
    <TD>[F12] }</TD>
    <TD>&lt;right dbl quote&gt;</TD>
    <TD></TD>
    <TD>[F12] |</TD>
    <TD>&#187;</TD>
    <TD></TD>
    <TD>[F12] @ |</TD>
    <TD>&lt;right single guillemot&gt;</TD>
  </TR>
</TABLE>
<P>
This still misses most unicode characters. But pressing [F12] twice will
bring up a dialog which will allow you to select any character in unicode.
<P>
If you type [F12] by mistake then and Escape will get you out of accent mode.
<P>
<P ALIGN=Center>
-- <A HREF="bitmapview.html">Prev</A> -- <A HREF="overview.html">TOC</A>
-- <A HREF="filemenu.html">Next</A> --
</BODY></HTML>