Back to index

tetex-bin  3.0
Classes | Defines | Enumerations | Functions
tex-glyph.h File Reference
#include <kpathsea/tex-file.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kpse_glyph_file_type

Defines

#define KPSE_GLYPH_FILE_NAME(f)   ((f).name)
#define KPSE_GLYPH_FILE_DPI(f)   ((f).dpi)
#define KPSE_GLYPH_FILE_FORMAT(f)   ((f).format)
#define KPSE_GLYPH_FILE_SOURCE(f)   ((f).source)
#define kpse_find_pk(font_name, dpi, glyph_file)   kpse_find_glyph (font_name, dpi, kpse_pk_format, glyph_file)
#define kpse_find_gf(font_name, dpi, glyph_file)   kpse_find_glyph (font_name, dpi, kpse_gf_format, glyph_file)
#define KPSE_BITMAP_TOLERANCE(r)   ((r) / 500.0 + 1)

Enumerations

enum  kpse_glyph_source_type { kpse_glyph_source_normal, kpse_glyph_source_alias, kpse_glyph_source_maketex, kpse_glyph_source_fallback }

Functions

KPSEDLL string kpse_find_glyph P4H (const_string font_name, unsigned dpi, kpse_file_format_type format, kpse_glyph_file_type *glyph_file)
KPSEDLL boolean
kpse_bitmap_tolerance 
P2H (double dpi1, double dpi2)

Class Documentation

struct kpse_glyph_file_type

Definition at line 36 of file tex-glyph.h.

Class Members
unsigned dpi
kpse_file_format_type format
string name
kpse_glyph_source_type source

Define Documentation

#define KPSE_BITMAP_TOLERANCE (   r)    ((r) / 500.0 + 1)

Definition at line 73 of file tex-glyph.h.

#define kpse_find_gf (   font_name,
  dpi,
  glyph_file 
)    kpse_find_glyph (font_name, dpi, kpse_gf_format, glyph_file)

Definition at line 66 of file tex-glyph.h.

#define kpse_find_pk (   font_name,
  dpi,
  glyph_file 
)    kpse_find_glyph (font_name, dpi, kpse_pk_format, glyph_file)

Definition at line 64 of file tex-glyph.h.

#define KPSE_GLYPH_FILE_DPI (   f)    ((f).dpi)

Definition at line 45 of file tex-glyph.h.

#define KPSE_GLYPH_FILE_FORMAT (   f)    ((f).format)

Definition at line 46 of file tex-glyph.h.

#define KPSE_GLYPH_FILE_NAME (   f)    ((f).name)

Definition at line 44 of file tex-glyph.h.

#define KPSE_GLYPH_FILE_SOURCE (   f)    ((f).source)

Definition at line 47 of file tex-glyph.h.


Enumeration Type Documentation

Enumerator:
kpse_glyph_source_normal 
kpse_glyph_source_alias 
kpse_glyph_source_maketex 
kpse_glyph_source_fallback 

Definition at line 27 of file tex-glyph.h.

{
  kpse_glyph_source_normal,  /* the searched-for font: already existed */
  kpse_glyph_source_alias,   /* : was an alias for an existing file */
  kpse_glyph_source_maketex, /* : was created on the fly */
  kpse_glyph_source_fallback /* : wasn't found, but the fallback font was */
} kpse_glyph_source_type;

Function Documentation

KPSEDLL boolean kpse_bitmap_tolerance P2H ( double  dpi1,
double  dpi2 
)
KPSEDLL string kpse_find_glyph P4H ( const_string  font_name,
unsigned  dpi,
kpse_file_format_type  format,
kpse_glyph_file_type glyph_file 
)