/*
- pango-font-scheme.cc -- implement Pango_font
+ pango-font-scheme.cc -- implement Pango_font
source file of the GNU LilyPond music typesetter
- (c) 2004--2005 Han-Wen Nienhuys <hanwen@xs4all.nl>
-
+ (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
-
#define PANGO_ENABLE_BACKEND // ugh, why necessary?
#include <pango/pangoft2.h>
#include "warn.hh"
#if HAVE_PANGO_FT2
-#include "stencil.hh"
-
+#include "stencil.hh"
LY_DEFINE (ly_pango_font_p, "ly:pango-font?",
1, 0, 0,
(SCM f),
"Is @var{f} a pango font?")
{
- return scm_from_bool (dynamic_cast<Pango_font*> (unsmob_metrics (f)));
+ return scm_from_bool (dynamic_cast<Pango_font *> (unsmob_metrics (f)));
}
-
-
LY_DEFINE (ly_pango_font_physical_fonts, "ly:pango-font-physical-fonts",
1, 0, 0,
(SCM f),
- "Return alist of (PSNAME . FILENAME) tuples.")
+ "Return alist of @code{(PSNAME . FILENAME)} tuples.")
{
- Pango_font *pf = dynamic_cast<Pango_font*> (unsmob_metrics (f));
+ Pango_font *pf = dynamic_cast<Pango_font *> (unsmob_metrics (f));
SCM alist = SCM_EOL;
if (pf)