#include <string.h>
-#include "warn.hh" // error()
+#include "warn.hh" // error ()
#include "libc-extension.hh"
#include "afm.hh"
-#include "molecule.hh"
+#include "stencil.hh"
#include "dimensions.hh"
Adobe_font_metric::Adobe_font_metric (AFM_Font_info * fi)
}
/*
- return a molecule, without fontification
+ return a stencil, without fontification
*/
-Molecule
+Stencil
Adobe_font_metric::find_by_name (String s) const
{
AFM_CharMetricInfo const *cm = find_char_metric (s);
Why don't we return empty?
*/
- Molecule m;
+ Stencil m;
m.set_empty (false);
return m;
}
// at= fontify_atom ((Font_metric*)this, at);
Box b = afm_bbox_to_box (cm->charBBox);
- return Molecule (b, at);
+ return Stencil (b, at);
}