diff options
author | Nickolay V. Shmyrev <nshmyrev@yandex.ru> | 2005-04-07 15:28:06 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-04-07 15:28:06 (GMT) |
commit | c3e1500a4815225f08e1b20dd066559e8c92c280 (patch) | |
tree | 7474fe16fce807cda4845df116fec07c60b161e6 /dvi/dvilib/dl-vffont.cc | |
parent | 52f67b9ce7a9f2282b2c85139d1d10f8c4df5786 (diff) |
Recent files support.
2005-04-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* 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:
Diffstat (limited to 'dvi/dvilib/dl-vffont.cc')
-rwxr-xr-x | dvi/dvilib/dl-vffont.cc | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/dvi/dvilib/dl-vffont.cc b/dvi/dvilib/dl-vffont.cc deleted file mode 100755 index 36d570f..0000000 --- a/dvi/dvilib/dl-vffont.cc +++ /dev/null @@ -1,41 +0,0 @@ -#include "dl-vffont.hh" -#include "dl-dvi-parser.hh" - -using namespace DviLib; - -void -VfFont::fixup_fontmap (DviFontMap *fontmap) -{ - typedef std::map<int, DviFontdefinition *>::iterator It; - for (It i = fontmap->fontmap.begin(); i != fontmap->fontmap.end(); ++i) - { - (*i).second->at_size = ((*i).second->at_size / 1048576.0) * preamble->design_size; -#if 0 - (*i).second->design_size = 1048576; -#endif - } -} - -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; - ch->fontmap = preamble->fontmap; - } - - /* fixup fontmap - * - * FIXME: I don't think this is correct, but vftovp.web isn't - * totally clear on the issue - */ - - fixup_fontmap (preamble->fontmap); -} - |