4 * Copyright (C) 2000 Red Hat Software
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
22 #ifndef __PANGOXFT_PRIVATE_H__
23 #define __PANGOXFT_PRIVATE_H__
25 #include <pango/pangoxft.h>
26 #include <pango/pango-renderer.h>
32 PangoFcFont parent_instance;
34 XftFont *xft_font; /* created on demand */
35 PangoFont *mini_font; /* font used to display missing glyphs */
37 guint mini_width; /* metrics for missing glyph drawing */
41 GHashTable *glyph_info; /* Used only when we can't get
42 * glyph extents out of Xft because
43 * we have a transformation in effect
47 PangoXftFont *_pango_xft_font_new (PangoXftFontMap *xftfontmap,
50 void _pango_xft_font_map_get_info (PangoFontMap *fontmap,
54 PangoRenderer *_pango_xft_font_map_get_renderer (PangoXftFontMap *xftfontmap);
56 PangoFont *_pango_xft_font_get_mini_font (PangoXftFont *xfont);
60 #endif /* __PANGOXFT_PRIVATE_H__ */