#include "all-font-metrics.hh"
-#include "open-type-font.hh"
+//#include "open-type-font.hh"
#include "config.hh"
#include "main.hh"
#include "warn.hh"
#include "scm-hash.hh"
#include "kpath.hh"
-static const char *default_font_str0_ = "cmr10";
+static char const *default_font_str0_ = "cmr10";
All_font_metrics::All_font_metrics (String path)
{
return dynamic_cast<Adobe_font_metric*> (unsmob_metrics (val));
}
+#if 0
Open_type_font*
All_font_metrics::find_otf (String name)
return dynamic_cast<Open_type_font*> (unsmob_metrics (val));
}
-
+#endif
Tex_font_metric*
All_font_metrics::find_tfm (String name)
Font_metric*
All_font_metrics::find_font (String name)
{
- Font_metric *f = find_otf (name);
-
+ //Font_metric *f = find_otf (name);
+ Font_metric *f = 0;
if (!f &&
- (name.left_string (4) == "feta")
- || (name.left_string (8) == "parmesan")
- || (name.left_string (2) == "lm"))
+ (name.left_string (4) == "feta"
+ || (name.left_string (8) == "parmesan")
+ || (name.left_string (2) == "lm")))
{
f = find_afm (name);
if (!f)