Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/font.hh
blob: 5f34c073cca63a2d15af30c83e976fe6675a119b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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