Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/dvilib/dl-vffont.cc
blob: 91109d8843f4224633804f088a3b601a72ab30e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "dl-vffont.hh"
#include "dl-dvi-parser.hh"

using namespace DviLib;

VfFont::VfFont (AbstractLoader &l, int at_size_arg) :
    at_size (at_size_arg)
{
    DviParser parser (l);
    preamble = parser.parse_vf_font_preamble ();

    VfChar *ch;
    while ((ch = parser.parse_vf_char ()) != NULL)
	chars[ch->character_code] = ch;
}