Back to index

texmacs  1.0.7.15
Classes | Defines | Functions
tex_rubber_font.cpp File Reference
#include "font.hpp"
#include "translator.hpp"
#include "Metafont/load_tex.hpp"

Go to the source code of this file.

Classes

struct  tex_rubber_font_rep
struct  tex_dummy_rubber_font_rep

Defines

#define conv(x)   ((SI) (((double) (x))*unit))

Functions

font tex_rubber_font (string trl_name, string family, int size, int dpi, int dsize)
font tex_dummy_rubber_font (font base_fn)

Define Documentation

#define conv (   x)    ((SI) (((double) (x))*unit))

Definition at line 53 of file tex_rubber_font.cpp.


Function Documentation

font tex_dummy_rubber_font ( font  base_fn)

Definition at line 305 of file tex_rubber_font.cpp.

                                     {
  string name= "tex-dummy(" * base_fn->res_name * ")";
  return make (font, name, tm_new<tex_dummy_rubber_font_rep> (name, base_fn));
}

Here is the caller graph for this function:

font tex_rubber_font ( string  trl_name,
string  family,
int  size,
int  dpi,
int  dsize 
)

Definition at line 94 of file tex_rubber_font.cpp.

                                                            {
  string name= "tex-rubber:"*family * as_string (size) * "@" * as_string(dpi);
  return make (font, name,
    tm_new<tex_rubber_font_rep> (name, trl_name, family, size, dpi, dsize));
}

Here is the call graph for this function:

Here is the caller graph for this function: