source file of the GNU LilyPond music typesetter
- (c) 1999--2004 Jan Nieuwenhuizen <janneke@gnu.org>
+ (c) 1999--2005 Jan Nieuwenhuizen <janneke@gnu.org>
some code shamelessly copied from GNU fontutils-0.6/tfm/tfm_input.c
*/
#include "tfm-reader.hh"
+
#include "string-convert.hh"
#include "warn.hh"
-#include "warn.hh"
#define format_string String_convert::form_string
#define FIX_UNITY \
: input_ (name)
{
- for (int i=0; i < TFM_SIZE; i++)
+ for (int i = 0; i < TFM_SIZE; i++)
ascii_to_metric_idx_.push (-1);
read_header ();
for (int i = info_.first_charcode; i <= info_.last_charcode; i++)
{
Tex_font_char_metric tfm_char = read_char_metric (i);
- if (tfm_char.exists_b_)
+ if (tfm_char.exists_)
ascii_to_metric_idx_[tfm_char.code_] = char_metrics_.size ();
char_metrics_.push (tfm_char);
}
/* Read the character. */
tfm_char = read_char ();
- if (tfm_char.exists_b_)
+ if (tfm_char.exists_)
tfm_char.code_ = code;
return tfm_char;
the first and last character codes given in the header. We've
already assumed that's true (or we couldn't be positioned at a
`char_info_word'). */
- tfm_char.exists_b_ = width_index != 0;
+ tfm_char.exists_ = width_index != 0;
if (tag == 1)
{