OLD | NEW |
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--2015 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2004--2015 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 size_t name_to_index (string) const; | 57 size_t name_to_index (string) const; |
58 SCM get_glyph_outline (size_t signed_idx) const; | 58 SCM get_glyph_outline (size_t signed_idx) const; |
59 Box get_glyph_outline_bbox (size_t signed_idx) const; | 59 Box get_glyph_outline_bbox (size_t signed_idx) const; |
60 Box get_unscaled_indexed_char_dimensions (size_t) const; | 60 Box get_unscaled_indexed_char_dimensions (size_t) const; |
61 Box get_scaled_indexed_char_dimensions (size_t) const; | 61 Box get_scaled_indexed_char_dimensions (size_t) const; |
62 | 62 |
63 Stencil pango_item_string_stencil (PangoGlyphItem const *) const; | 63 Stencil pango_item_string_stencil (PangoGlyphItem const *) const; |
64 | 64 |
65 virtual Stencil text_stencil (Output_def *output_state, | 65 virtual Stencil text_stencil (Output_def *output_state, |
66 const string &text, bool music) const; | 66 const string &text, |
| 67 bool music, |
| 68 const string &features_str) const; |
67 virtual void derived_mark () const; | 69 virtual void derived_mark () const; |
68 }; | 70 }; |
69 | 71 |
70 PangoFontDescription * | 72 PangoFontDescription * |
71 symbols_to_pango_font_description (SCM family, | 73 symbols_to_pango_font_description (SCM family, |
72 SCM style, | 74 SCM style, |
73 SCM variant, | 75 SCM variant, |
74 SCM weight, | 76 SCM weight, |
75 SCM stretch); | 77 SCM stretch); |
76 | 78 |
77 Font_metric * | 79 Font_metric * |
78 select_pango_font (Output_def *layout, SCM chain); | 80 select_pango_font (Output_def *layout, SCM chain); |
79 | 81 |
80 const int PANGO_RESOLUTION = 1200; | 82 const int PANGO_RESOLUTION = 1200; |
81 PangoFontDescription *properties_to_pango_description (SCM chain, Real text_size
); | 83 PangoFontDescription *properties_to_pango_description (SCM chain, Real text_size
); |
82 | 84 |
83 #endif /* HAVE_PANGO16 */ | 85 #endif /* HAVE_PANGO16 */ |
84 #endif /* PANGO_FONT_HH */ | 86 #endif /* PANGO_FONT_HH */ |
85 | 87 |
OLD | NEW |