diff options
Diffstat (limited to 'dvi/font.hh')
-rwxr-xr-x | dvi/font.hh | 23 |
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 |