. with - in add.stem.
+2004-12-13 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/vaticana-ligature-engraver.cc (transform_heads): replace
+ . with - in add.stem.
+
2004-12-13 Jan Nieuwenhuizen <janneke@gnu.org>
* scm/encoding.scm (coding-alist): Fix encodings for fetaNumber
PACKAGE_NAME=LilyPond
MAJOR_VERSION=2
MINOR_VERSION=5
-PATCH_LEVEL=3
+PATCH_LEVEL=4
MY_PATCH_LEVEL=
tags = tags[:-1]
name = tags[1:]
global_info['DesignSize'] = string.atof (tags[4])
- global_info['FontName'] = string.join (name,'-')
+ global_info['FontName'] = string.join (name, '-')
global_info['FullName'] = string.join (name,' ')
global_info['FamilyName'] = string.join (name[1:-1],
'-')
def write_tex_defs (file, global_info, charmetrics):
+ nm = global_info['font
## nm = global_info['FontFamily']
nm = font_family
for m in charmetrics:
return otf->self_scm ();
}
+Open_type_font::Open_type_font(FT_Face face)
+{
+ face_ = face;
+ lily_character_table_ = SCM_EOL;
+ lily_global_table_ = SCM_EOL;
+
+ lily_character_table_ = load_scheme_table ("LILC", face_);
+ lily_global_table_ = load_scheme_table ("LILY", face_);
+ index_to_charcode_map_ = make_index_to_charcode_map (face_);
+}
+
void
Open_type_font::derived_mark () const
{
SCM char_alist = entry;
- SCM att_scm =scm_cdr (scm_assq (ly_symbol2scm ("attachment"), char_alist));
-
- return ly_scm2offset (att_scm);
+
+ SCM att_scm = scm_cdr (scm_assq (ly_symbol2scm ("attachment"), char_alist));
+
+ return point_constant * ly_scm2offset (att_scm);
}
Box
Real
Open_type_font::design_size () const
{
- return point_constant
- * scm_to_double (scm_hashq_ref (lily_global_table_,
- ly_symbol2scm ("staffsize"), SCM_BOOL_F));
+ SCM entry = scm_hashq_ref (lily_global_table_,
+ ly_symbol2scm ("staffsize"), SCM_BOOL_F);
+ return scm_to_double (entry);
}
font_table = scm_c_make_hash_table (11);
mod->set_variable (ly_symbol2scm ("scaled-fonts"), font_table);
}
-
SCM sizes = scm_hashq_ref (font_table, f->self_scm (), SCM_BOOL_F);
if (sizes != SCM_BOOL_F)
if (prefix_set & VIRGA)
{
glyph_name = "vaticana.punctum";
- primitive->set_property ("add.stem", ly_bool2scm (true));
+ primitive->set_property ("add-stem", ly_bool2scm (true));
}
else if (prefix_set & QUILISMA)
glyph_name = "vaticana.quilisma";
input feta-params;
-def abc_encode_int (expr i) =
- if i > 0:
- abc_encode_int (i div 26) & char (65 + i mod 26)
- else:
- "A"
- fi
-enddef ;
-
% we must let the design increase for each
% font to make sure that mftrace doesn't jack up the resolution too highly
% for the longer braces.