4 #include "dl-dvi-file.hh"
5 #include "dl-dvi-fontdefinition.hh"
10 class VfChar : public AbstractCharacter
18 virtual void paint (DviRuntime& runtime)
21 runtime.fontmap (fontmap);
23 cout << "vfchar (" << (int)fontmap << ')' << " " << character_code << endl;
24 program->execute (runtime); // FIXME push, pop, etc.
27 virtual int get_tfm_width () { return tfm_width; }
30 class VfFontPreamble : public RefCounted
39 class VfFont : public AbstractFont
41 VfFontPreamble *preamble;
42 map <int, VfChar *> chars;
44 void fixup_fontmap (DviFontMap *fontmap);
46 VfFont (AbstractLoader& l, int at_size);
47 virtual VfChar *get_char (int ccode)
51 int get_design_size ()
53 return preamble->design_size;
55 virtual int get_at_size ()
62 #endif /* DL_VFFONT_HH__ */