1 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
11 class TeXFont_PK
: public TeXFont
{
13 TeXFont_PK(TeXFontDefinition
*parent
);
16 glyph
* getGlyph(quint16 character
, bool generateCharacterPixmap
=false, const QColor
& color
=Qt::black
);
19 // open font file or NULL
22 struct bitmap
*characterBitmaps
[TeXFontDefinition::max_num_of_chars_in_font
];
24 // For use by PK-decryption routines. I don't understand what these
25 // are good for -- Stefan Kebekus
27 unsigned int PK_input_byte
;
32 // PK-internal routines which were taken from xdvi. Again, I do not
33 // really know what they are good for -- Stefan Kebekus
34 inline void read_PK_char(unsigned int ch
);
35 inline int PK_get_nyb(FILE *fp
);
36 inline int PK_packed_num(FILE *fp
);
37 inline void read_PK_index();
38 inline void PK_skip_specials();