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 "lily-guile.hh"
20 Interface to all .afm files living in the filesystem.
22 class All_font_metrics
24 Dictionary<Adobe_font_metric*> afm_p_dict_;
25 Dictionary<Tex_font_metric*> tfm_p_dict_;
26 Dictionary<Scaled_font_metric*> scaled_p_dict_;
27 File_path search_path_;
30 Adobe_font_metric *find_afm (String name);
31 Tex_font_metric *find_tfm (String);
32 Font_metric *find_font (String name);
33 Scaled_font_metric* find_scaled (String , int);
35 All_font_metrics (String search_path);
37 SCM font_descriptions () const;
43 #endif /* ALL_FONTS_HH */