From c3e1500a4815225f08e1b20dd066559e8c92c280 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Thu, 07 Apr 2005 15:28:06 +0000 Subject: Recent files support. 2005-04-07 Nickolay V. Shmyrev * cut-n-paste/recent-files/Makefile.am: * data/evince-ui.xml, shell/Makefile.am: * shell/ev-application.c, shell/ev-application.h: * shell/ev-window.c: Recent files support. * configure.ac: Added "ru" to ALL_LINGUAS. * dvju: new backend to support DJVU files. * dvi: new backend to support DVI. * configure.ac, Makefile.am, shell/Makefile.am, ev-window.c: * ev-application.c: Support for new backends. * help, ev-window.c, main.c shell/Makefile.am: --- (limited to 'dvi/dvilib/dl-vffont.hh') diff --git a/dvi/dvilib/dl-vffont.hh b/dvi/dvilib/dl-vffont.hh deleted file mode 100755 index fff490b..0000000 --- a/dvi/dvilib/dl-vffont.hh +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef DL_VFFONT_HH__ -#define DL_VFFONT_HH__ - -#include "dl-dvi-file.hh" -#include "dl-dvi-fontdefinition.hh" -#include "dl-font.hh" - -namespace DviLib { - - class VfChar : public AbstractCharacter - { - public: - int tfm_width; - DviProgram *program; - DviFontMap *fontmap; - int character_code; - - virtual void paint (DviRuntime& runtime) - { - runtime.push(); - runtime.fontmap (fontmap); - runtime.font_num (0); - cout << "vfchar (" << (int)fontmap << ')' << " " << character_code << endl; - program->execute (runtime); // FIXME push, pop, etc. - runtime.pop(); - } - virtual int get_tfm_width () { return tfm_width; } - }; - - class VfFontPreamble : public RefCounted - { - public: - string comment; - uint checksum; - uint design_size; - DviFontMap *fontmap; - }; - - class VfFont : public AbstractFont - { - VfFontPreamble *preamble; - map chars; - int at_size; - void fixup_fontmap (DviFontMap *fontmap); - public: - VfFont (AbstractLoader& l, int at_size); - virtual VfChar *get_char (int ccode) - { - return chars[ccode]; - }; - int get_design_size () - { - return preamble->design_size; - } - virtual int get_at_size () - { - return at_size; - } - virtual ~VfFont () {} - }; -} -#endif /* DL_VFFONT_HH__ */ -- cgit v0.9.1