summaryrefslogtreecommitdiff
path: root/Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/efont/afm.hh
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/efont/afm.hh')
-rw-r--r--Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/efont/afm.hh59
1 files changed, 0 insertions, 59 deletions
diff --git a/Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/efont/afm.hh b/Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/efont/afm.hh
deleted file mode 100644
index 5c37d1e942e..00000000000
--- a/Build/source/texk/lcdf-typetools/lcdf-typetools-src/include/efont/afm.hh
+++ /dev/null
@@ -1,59 +0,0 @@
-// -*- related-file-name: "../../libefont/afm.cc" -*-
-#ifndef EFONT_AFM_HH
-#define EFONT_AFM_HH
-#include <efont/metrics.hh>
-class Slurper;
-class Filename;
-class ErrorHandler;
-namespace Efont {
-class AfmParser;
-
-struct AfmMetricsXt: public MetricsXt {
-
- Vector<PermString> opening_comments;
- PermString notice;
- PermString encoding_scheme;
-
- PermString kind() const { return "AFM"; }
-
-};
-
-class AfmReader { public:
-
- static Metrics *read(const Filename &, ErrorHandler *);
- static Metrics *read(Slurper &, ErrorHandler *);
-
- private:
-
- Metrics *_afm;
- AfmMetricsXt *_afm_xt;
- AfmParser &_l;
- ErrorHandler *_errh;
-
- mutable bool _composite_warned;
- mutable bool _metrics_sets_warned;
- mutable int _y_width_warned;
-
- void lwarning(const char *, ...) const;
- void lerror(const char *, ...) const;
- void composite_warning() const;
- void metrics_sets_warning() const;
- void y_width_warning() const;
- void no_match_warning(const char *context = 0) const;
-
- double &fd(int i) { return _afm->fd(i); }
- GlyphIndex find_err(PermString, const char *) const;
-
- void read_char_metric_data() const;
- void read_char_metrics() const;
- void read_kerns() const;
- void read_composites() const;
-
- bool read();
-
- AfmReader(AfmParser &, Metrics *, AfmMetricsXt *, ErrorHandler *);
-
-};
-
-}
-#endif