1 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
4 // Part of KDVI - A DVI previewer for the KDE desktop environment
6 // (C) 2003 Stefan Kebekus
7 // Distributed under the GPL
13 #include "TeXFontDefinition.h"
18 TeXFont(TeXFontDefinition
*_parent
)
26 void setDisplayResolution()
28 for(unsigned int i
=0; i
<TeXFontDefinition::max_num_of_chars_in_font
; i
++)
29 glyphtable
[i
].shrunkenCharacter
= QImage();
32 virtual glyph
* getGlyph(quint16 character
, bool generateCharacterPixmap
=false, const QColor
& color
=Qt::black
) = 0;
34 // Checksum of the font. Used e.g. by PK fonts. This field is filled
35 // in by the constructor, or set to 0.0, if the font format does not
39 // If the font or if some glyphs could not be loaded, error messages
44 glyph glyphtable
[TeXFontDefinition::max_num_of_chars_in_font
];
45 TeXFontDefinition
*parent
;