File: pango-fontmap-private.h

package info (click to toggle)
pango1.0 1.56.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,860 kB
  • sloc: ansic: 59,051; cpp: 778; python: 298; sh: 166; perl: 56; makefile: 50; javascript: 7
file content (49 lines) | stat: -rw-r--r-- 1,662 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/* Pango
 * pango-font.h: Font handling
 *
 * Copyright (C) 2000 Red Hat Software
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 */

#ifndef __PANGO_FONTMAP_PRIVATE_H__
#define __PANGO_FONTMAP_PRIVATE_H__

#include <pango/pango-font-private.h>
#include <pango/pango-fontset.h>
#include <pango/pango-fontmap.h>

G_BEGIN_DECLS

typedef struct {
  PangoFont * (* reload_font) (PangoFontMap *fontmap,
                               PangoFont    *font,
                               double        scale,
                               PangoContext *context,
                               const char   *variations);

  gboolean (* add_font_file)  (PangoFontMap  *fontmap,
                               const char    *filename,
                               GError       **error);

} PangoFontMapClassPrivate;

PANGO_DEPRECATED_IN_1_38
const char   *pango_font_map_get_shape_engine_type (PangoFontMap *fontmap);

G_END_DECLS

#endif /* __PANGO_FONTMAP_PRIVATE_H__ */