Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 0da03bb1805d73f1aaf1c06fe3cffe2f > files > 126

fontforge-1.0-1.20120731.9.mga5.x86_64.rpm

<HTML>
<HEAD>
  <!-- Created with AOLpress/2.0 -->
  <!-- AP: Created on: 13-Apr-2008 -->
  <!-- AP: Last modified: 13-Apr-2008 -->
  <TITLE>The Insert Text Dialog</TITLE>
  <LINK REL="icon" href="fftype16.png">
  <LINK REL="stylesheet" TYPE="text/css" HREF="FontForge.css">
</HEAD>
<BODY>
<DIV id="in">
  <H1 ALIGN=Center>
    The Insert Text Dialog
  </H1>
  <P>
  <IMG SRC="InsertTxtDlg.png" ALIGN="Right" WIDTH="474" HEIGHT="410">Generally
  when designing a font you will not want to use this dialog. What is the point
  of a glyph which is made up of precomposed text?
  <P>
  But occasionally it is useful. A company's logo might want to live in a single
  glyph.
  <P>
  This dialog looks rather like the <A HREF="display.html">print dialog</A>.
  You may enter text, display it in a given font, and at a desired pointsize.
  You may apply OpenType features.
  <P>
  Once you have composed your text, you may insert it into a glyph. The text
  will be insert as the outlines of the characters you entered. In the simplest
  case, the text will much as you entered them at the origin of the glyph.
  <P ALIGN=Center>
  <IMG SRC="TextUnbound.png" WIDTH="290" HEIGHT="76">
  <P>
  The text will be scaled. If you entered the text with a pointsize of 12,
  then the outlines will be scaled so that the em-size is 12. If you use a
  font where the em-size is 1000, and the character "H" is 662, then after
  scaling the "H" will be 12*662/1000 = 7.9 units high.
  <P>
  (You can, of course, rescale the outlines once they are in the glyph).
  <P>
  If you enter a lot of text, it will wrap. The dialog shows the length of
  the longest line, and the location at which text will wrap.
  <P>
  Complications arise if you select a path in the glyph before invoking the
  Insert Text dialog -- then you can bind the text you enter so that it curves
  with the path. You can have FontForge scale your text so that it exactly
  fits the path length, or you can position your text at the start, middle
  or end of the path. Text is bound so that if the path is a horizontal line
  running from left to right the text will use the path as a baseline and be
  oriented as you would expect for left to right text, if the path is a horizontal
  line running right to left, then the text will appear up-side-down. If you
  don't want the text to use the path as its baseline (if you'd like a gap
  between the two) then enter a value in "Offset text from path"
  <P>
  Finally FontForge has two modes for binding text. Either it will use the
  place where the center of the glyph aligns on the path and rotate the entire
  glyph appropriately for that point, or it will distort each bit of the glyph
  as is appropriate for where that bit aligns on the path. In the first aproach
  the letters are cleaner individually but the text as a whole is more jagged.
  <TABLE BORDER ALIGN="Center">
    <TR>
      <TH>path</TH>
      <TH>Glyphs bound as a unit</TH>
      <TH>Glyphs distorted by binding</TH>
    </TR>
    <TR>
      <TD><IMG SRC="PathToBind.png" WIDTH="200" HEIGHT="143"></TD>
      <TD><IMG SRC="TextBoundUnitaryGlyph.png" WIDTH="200" HEIGHT="143"></TD>
      <TD><IMG SRC="TextBoundDistortedGlyphs.png" WIDTH="200" HEIGHT="143"></TD>
    </TR>
  </TABLE>
  <P>
</DIV>
</BODY></HTML>