Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/font.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dvi/font.hh')
-rwxr-xr-xdvi/font.hh23
1 files changed, 23 insertions, 0 deletions
diff --git a/dvi/font.hh b/dvi/font.hh
new file mode 100755
index 0000000..5f34c07
--- /dev/null
+++ b/dvi/font.hh
@@ -0,0 +1,23 @@
+#ifndef FONT_HH
+#define FONT_HH
+
+#include "dl-dvi-program.hh"
+#include "dl-font.hh"
+
+// Font factories
+
+class AbstractFontFactory : public DviLib::RefCounted {
+public:
+ virtual DviLib::AbstractFont *create_font (std::string name,
+ int dpi,
+ int at_size) = 0;
+};
+
+class FontFactory : public AbstractFontFactory {
+public:
+ virtual DviLib::AbstractFont *create_font (std::string name,
+ int dpi,
+ int at_size);
+};
+
+#endif