4 #include "dl-dvi-file.hh"
5 #include "dl-dvi-fontdefinition.hh"
10 class VfChar : public AbstractCharacter {
16 virtual void paint (DviRuntime& runtime)
19 program->execute (runtime); // FIXME push, pop, etc.
22 virtual int get_tfm_width () { return tfm_width; }
25 class VfFontPreamble : public RefCounted {
30 vector <DviFontdefinition *> fontdefinitions;
33 class VfFont : public AbstractFont {
34 VfFontPreamble *preamble;
35 map <int, VfChar *> chars;
38 VfFont (AbstractLoader& l, int at_size);
39 virtual VfChar *get_char (int ccode)
43 int get_design_size ()
45 return preamble->design_size;
47 virtual int get_at_size ()
49 /* FIXME (what is the correct thing to do here?) */
55 #endif /* DL_VFFONT_HH__ */