LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 2004--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2004--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 Index_to_charcode_map index_to_charcode_map_; | 39 Index_to_charcode_map index_to_charcode_map_; |
40 Open_type_font (FT_Face); | 40 Open_type_font (FT_Face); |
41 | 41 |
42 DECLARE_CLASSNAME (Open_type_font); | 42 DECLARE_CLASSNAME (Open_type_font); |
43 public: | 43 public: |
44 SCM get_subfonts () const; | 44 SCM get_subfonts () const; |
45 SCM get_global_table () const; | 45 SCM get_global_table () const; |
46 SCM get_char_table () const; | 46 SCM get_char_table () const; |
47 SCM glyph_list () const; | 47 SCM glyph_list () const; |
48 | 48 SCM get_glyph_outline (size_t signed_idx) const; |
| 49 Box get_glyph_outline_bbox (size_t signed_idx) const; |
49 string get_otf_table (string tag) const; | 50 string get_otf_table (string tag) const; |
50 static SCM make_otf (string); | 51 static SCM make_otf (string); |
51 string font_name () const; | 52 string font_name () const; |
52 ~Open_type_font (); | 53 ~Open_type_font (); |
53 Offset attachment_point (string) const; | 54 Offset attachment_point (string) const; |
54 size_t count () const; | 55 size_t count () const; |
55 Box get_indexed_char_dimensions (size_t) const; | 56 Box get_indexed_char_dimensions (size_t) const; |
| 57 Box get_unscaled_indexed_char_dimensions (size_t) const; |
56 size_t name_to_index (string) const; | 58 size_t name_to_index (string) const; |
57 //size_t glyph_name_to_charcode (string) const; | 59 //size_t glyph_name_to_charcode (string) const; |
58 size_t index_to_charcode (size_t) const; | 60 size_t index_to_charcode (size_t) const; |
59 void derived_mark () const; | 61 void derived_mark () const; |
60 SCM sub_fonts () const; | 62 SCM sub_fonts () const; |
61 Real design_size () const; | 63 Real design_size () const; |
62 }; | 64 }; |
63 | 65 |
64 string get_otf_table (FT_Face face, string tag); | 66 string get_otf_table (FT_Face face, string tag); |
65 FT_Face open_ft_face (string str, FT_Long idx); | 67 FT_Face open_ft_face (string str, FT_Long idx); |
66 | 68 |
67 #endif /* OPEN_TYPE_FONT_HH */ | 69 #endif /* OPEN_TYPE_FONT_HH */ |
LEFT | RIGHT |