"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Graphics/Bitmap_fonts/bitmap_font.cpp" between
TeXmacs-1.99.4-src.tar.gz and TeXmacs-1.99.5-src.tar.gz

About: GNU TeXmacs is a what-you-see-is-what-you-get scientific text editor, which was both inspired by TeX and GNU Emacs.

bitmap_font.cpp  (TeXmacs-1.99.4-src):bitmap_font.cpp  (TeXmacs-1.99.5-src)
skipping to change at line 37 skipping to change at line 37
bool font_metric_rep::exists (int char_code) { bool font_metric_rep::exists (int char_code) {
(void) char_code; return true; } (void) char_code; return true; }
SI font_metric_rep::kerning (int left_code, int right_code) { SI font_metric_rep::kerning (int left_code, int right_code) {
(void) left_code; (void) right_code; return 0; } (void) left_code; (void) right_code; return 0; }
/****************************************************************************** /******************************************************************************
* Standard bitmap metrics * Standard bitmap metrics
******************************************************************************/ ******************************************************************************/
static metric error_metric; metric error_metric;
struct std_font_metric_rep: public font_metric_rep { struct std_font_metric_rep: public font_metric_rep {
int bc, ec; int bc, ec;
metric* fnm; metric* fnm;
std_font_metric_rep (string name, metric* fnm, int bc, int ec); std_font_metric_rep (string name, metric* fnm, int bc, int ec);
metric& get (int char_code); metric& get (int char_code);
}; };
std_font_metric_rep::std_font_metric_rep ( std_font_metric_rep::std_font_metric_rep (
skipping to change at line 83 skipping to change at line 83
font_glyphs_rep::font_glyphs_rep (string name): font_glyphs_rep::font_glyphs_rep (string name):
rep<font_glyphs> (name), bad_font_glyphs (false) {} rep<font_glyphs> (name), bad_font_glyphs (false) {}
font_glyphs_rep::~font_glyphs_rep () { font_glyphs_rep::~font_glyphs_rep () {
FAILED ("not yet implemented"); } FAILED ("not yet implemented"); }
/****************************************************************************** /******************************************************************************
* Standard bitmap fonts * Standard bitmap fonts
******************************************************************************/ ******************************************************************************/
static glyph error_glyph; glyph error_glyph;
struct std_font_glyphs_rep: public font_glyphs_rep { struct std_font_glyphs_rep: public font_glyphs_rep {
int bc, ec; int bc, ec;
glyph* fng; // definitions of the characters glyph* fng; // definitions of the characters
std_font_glyphs_rep (string name, glyph* fng, int bc, int ec); std_font_glyphs_rep (string name, glyph* fng, int bc, int ec);
glyph& get (int char_code); glyph& get (int char_code);
}; };
std_font_glyphs_rep::std_font_glyphs_rep ( std_font_glyphs_rep::std_font_glyphs_rep (
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS