/*
This file is part of LilyPond, the GNU music typesetter.
- Copyright (C) 2004--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ Copyright (C) 2004--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#ifndef OPEN_TYPE_FONT_HH
#define OPEN_TYPE_FONT_HH
-
#include "font-metric.hh"
Index_to_charcode_map make_index_to_charcode_map (FT_Face face);
-void get_unicode_name (char*s, FT_ULong code);
-void get_glyph_index_name (char*s, FT_ULong code);
+void get_unicode_name (char *s, FT_ULong code);
+void get_glyph_index_name (char *s, FT_ULong code);
class Open_type_font : public Font_metric
{
Index_to_charcode_map index_to_charcode_map_;
Open_type_font (FT_Face);
- DECLARE_CLASSNAME(Open_type_font);
+ DECLARE_CLASSNAME (Open_type_font);
public:
SCM get_subfonts () const;
SCM get_global_table () const;
SCM get_char_table () const;
SCM glyph_list () const;
-
+
string get_otf_table (string tag) const;
static SCM make_otf (string);
string font_name () const;
string get_otf_table (FT_Face face, string tag);
FT_Face open_ft_face (string str, FT_Long idx);
-
#endif /* OPEN_TYPE_FONT_HH */