source file of the GNU LilyPond music typesetter
- (c) 1999--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
{
String path;
- if (path.empty_b ())
+ if (path.is_empty ())
path = search_path_.find (name + ".afm");
- if (path.empty_b ())
+ if (path.is_empty ())
{
String p = kpathsea_find_afm (name.to_str0 ());
if (p.length ())
path = p;
}
- if (path.empty_b ())
+ if (path.is_empty ())
return 0;
if (verbose_global_b)
{
String path;
- if (path.empty_b ())
+ if (path.is_empty ())
{
String p = kpathsea_find_tfm (name.to_str0 ());
if (p.length ())
path = p;
}
- if (path.empty_b ())
+ if (path.is_empty ())
path = search_path_.find (name + ".tfm");
- if (path.empty_b ())
+ if (path.is_empty ())
return 0;
if (verbose_global_b)
Font_metric *
All_font_metrics::find_font (String name)
{
- if (name.left_string (4) == "feta")
+ if ((name.left_string (4) == "feta") ||
+ (name.left_string (8) == "parmesan"))
{
Font_metric * f = find_afm (name);
if (f)