2 all-fonts.hh -- declare All_font_metrics
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "dictionary.hh"
14 #include "file-path.hh"
15 #include "lily-proto.hh"
16 #include "font-metric.hh"
17 #include "scm-hash.hh"
20 Interface to all .afm files living in the filesystem.
22 class All_font_metrics
24 Scheme_hash_table afm_p_dict_;
25 Scheme_hash_table tfm_p_dict_;
26 Scheme_hash_table scaled_p_dict_;
28 File_path search_path_;
31 Adobe_font_metric *find_afm (String name);
32 Tex_font_metric *find_tfm (String);
33 Font_metric *find_font (String name);
34 Scaled_font_metric* find_scaled (String , int);
36 All_font_metrics (String search_path);
38 SCM font_descriptions () const;
41 Font_metric * unsmob_metrics (SCM s);
44 #endif /* ALL_FONTS_HH */