X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fopen-type-font.hh;h=6f20ffb5fb29fc032bf4ac9cf05e2c8558518d8e;hb=fcc66561444b7c55317674b29ebf4ce629c8126a;hp=9cd34497ab26240a7dbfb605af528d5370a42fbf;hpb=04974e9ea76a647fb5ded11d048017ad2e469157;p=lilypond.git diff --git a/lily/include/open-type-font.hh b/lily/include/open-type-font.hh index 9cd34497ab..6f20ffb5fb 100644 --- a/lily/include/open-type-font.hh +++ b/lily/include/open-type-font.hh @@ -1,9 +1,20 @@ /* - open-type-font.hh -- declare Open_type_font + This file is part of LilyPond, the GNU music typesetter. - source file of the GNU LilyPond music typesetter + Copyright (C) 2004--2010 Han-Wen Nienhuys - (c) 2004--2006 Han-Wen Nienhuys + LilyPond is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + LilyPond is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with LilyPond. If not, see . */ #ifndef OPEN_TYPE_FONT_HH @@ -42,7 +53,7 @@ public: ~Open_type_font (); Offset attachment_point (string) const; size_t count () const; - Box get_indexed_char (size_t) const; + Box get_indexed_char_dimensions (size_t) const; size_t name_to_index (string) const; //size_t glyph_name_to_charcode (string) const; size_t index_to_charcode (size_t) const; @@ -52,7 +63,7 @@ public: }; string get_otf_table (FT_Face face, string tag); -FT_Face open_ft_face (string str); +FT_Face open_ft_face (string str, FT_Long idx); #endif /* OPEN_TYPE_FONT_HH */