diff options
author | Søren Sandmann <sandmann@redhat.com> | 2004-12-21 23:57:26 (GMT) |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2004-12-21 23:57:26 (GMT) |
commit | 4296951e94a43c723e9522b588cab178eb66d144 (patch) | |
tree | 63ba229741d10df67fe87f24b6241903e16e9764 /dvi/font.hh | |
parent | 3e73e947a3a8c03da8f35f52e2a42ba066e2be2a (diff) |
New directory with the beginning of a .dvi backend.
Tue Dec 21 18:55:06 2004 Søren Sandmann <sandmann@redhat.com>
* dvi/*: New directory with the beginning of a .dvi backend.
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 |