2 all-fonts.hh -- declare All_font_metrics
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "file-path.hh"
14 #include "font-metric.hh"
17 Interface to all .afm files living in the filesystem.
19 class All_font_metrics
21 Scheme_hash_table *afm_p_dict_;
22 Scheme_hash_table *tfm_p_dict_;
23 Scheme_hash_table *otf_p_dict_;
24 File_path search_path_;
26 All_font_metrics (All_font_metrics const&);
28 All_font_metrics (String 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 Open_type_font *find_otf (String name);
35 SCM font_descriptions () const;
38 extern All_font_metrics *all_fonts_global;
40 #endif /* ALL_FONTS_HH */