Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
fonts.c File Reference
#include "config.h"
#include "fonts.h"
#include "mdvi.h"
+ Include dependency graph for fonts.c:

Go to the source code of this file.

Data Structures

struct  fontinfo
 

Functions

void mdvi_register_fonts (void)
 

Variables

static int registered = 0
 
DviFontInfo pk_font_info
 
DviFontInfo pkn_font_info
 
DviFontInfo gf_font_info
 
DviFontInfo vf_font_info
 
DviFontInfo ovf_font_info
 
DviFontInfo afm_font_info
 
DviFontInfo tfm_font_info
 
DviFontInfo ofm_font_info
 
static struct fontinfo known_fonts []
 

Function Documentation

void mdvi_register_fonts ( void  )

Definition at line 44 of file fonts.c.

45 {
46  struct fontinfo *type;
47 
48  if (!registered) {
49  for(type = known_fonts; type->info; type++) {
50  mdvi_register_font_type(type->info, type->klass);
51  }
52  registered = 1;
53  }
54  return;
55 }

+ Here is the caller graph for this function:

Variable Documentation

DviFontInfo afm_font_info

Definition at line 60 of file tfm.c.

DviFontInfo gf_font_info

Definition at line 66 of file gf.c.

struct fontinfo known_fonts[]
static
Initial value:
= {
{&vf_font_info, "Virtual fonts", 0},
{&ovf_font_info, "Omega's virtual fonts", 0},
{&pk_font_info, "Packed bitmap (auto-generated)", 1},
{&pkn_font_info, "Packed bitmap", -2},
{&gf_font_info, "Metafont's generic font format", 1},
{&ofm_font_info, "Omega font metrics", -1},
{&tfm_font_info, "TeX font metrics", -1},
{&afm_font_info, "Adobe font metrics", -1},
{0, 0}
}
DviFontInfo ofm_font_info

Definition at line 46 of file tfm.c.

DviFontInfo ovf_font_info

Definition at line 44 of file vf.c.

DviFontInfo pk_font_info

Definition at line 70 of file pk.c.

DviFontInfo pkn_font_info

Definition at line 84 of file pk.c.

int registered = 0
static

Definition at line 5 of file fonts.c.

DviFontInfo tfm_font_info

Definition at line 32 of file tfm.c.

DviFontInfo vf_font_info

Definition at line 30 of file vf.c.