    glyph_index;
  FT_Vector     pen;                 <span class="comment">/* untransformed origin */</span>
  int           n;


  ... initialize library ...
  ... create face object ...
  ... set character size ...

  slot = face-&gt;glyph;                <span class="comment">/* a small shortcut */</span>

  <span class="comment">/* set up matrix */</span>
  matrix.xx = (FT_Fixed)( cos( angle ) * 0x10000L );
  matrix.xy = (FT_Fixed)(-sin( angle ) * 0x10000L );
  matrix.yx = (FT_Fixed)( sin( angle ) * 0x