~ubuntu-branches/ubuntu/feisty/pango1.0/feisty

« back to all changes in this revision

Viewing changes to pango/pangoatsui-private.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-04-10 00:59:24 UTC
  • mfrom: (20.1.23 feisty)
  • Revision ID: james.westby@ubuntu.com-20070410005924-bbuu8vi6fw9f1fn1
Tags: 1.16.2-0ubuntu1
* New upstream version
  - Fixed various bug in the OpenType Layout code
  - Improved documentation
  - Improved ATSUI backend
  - Misc build system fixes
  - Bugs fixed in this release:
    - pangowin32-fontmap.c:using function without prototype
    - Don't create coverage every time it's asked for

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * pangoatsui-private.h:
3
3
 *
4
4
 * Copyright (C) 2003 Red Hat Software
5
 
 * Copyright (C) 2005 Imendio AB
 
5
 * Copyright (C) 2005-2007 Imendio AB
6
6
 *
7
7
 * This library is free software; you can redistribute it and/or
8
8
 * modify it under the terms of the GNU Library General Public
44
44
 
45
45
#define PANGO_RENDER_TYPE_ATSUI "PangoRenderATSUI"
46
46
 
 
47
typedef struct _PangoATSUIFamily       PangoATSUIFamily;
 
48
typedef struct _PangoATSUIFace         PangoATSUIFace;
 
49
 
47
50
typedef struct _PangoATSUIFontMap      PangoATSUIFontMap;
48
51
typedef struct _PangoATSUIFontMapClass PangoATSUIFontMapClass;
49
52
typedef struct _PangoATSUIFont         PangoATSUIFont;
74
77
                                      gconstpointer               key_a,
75
78
                                      gconstpointer               key_b);
76
79
 
77
 
  PangoATSUIFont * (* create_font) (PangoATSUIFontMap          *fontmap,
78
 
                                    PangoContext               *context,
79
 
                                    const char                 *postscript_name,
80
 
                                    const PangoFontDescription *desc);
 
80
  PangoATSUIFont * (* create_font)   (PangoATSUIFontMap          *fontmap,
 
81
                                      PangoContext               *context,
 
82
                                      PangoATSUIFace             *face,
 
83
                                      const PangoFontDescription *desc);
81
84
};
82
85
 
83
86
struct _PangoATSUIFont
84
87
{
85
88
  PangoFont parent_instance;
86
89
 
87
 
  char *postscript_name;
 
90
  PangoATSUIFace *face;
88
91
  PangoFontDescription *desc;
89
92
  PangoMatrix matrix;
90
93
  gpointer context_key;
100
103
GType pango_atsui_font_map_get_type (void);
101
104
GType pango_atsui_font_get_type (void);
102
105
 
 
106
const char *   _pango_atsui_face_get_postscript_name (PangoATSUIFace *face);
 
107
PangoCoverage *_pango_atsui_face_get_coverage        (PangoATSUIFace *face,
 
108
                                                      PangoLanguage  *language);
 
109
 
103
110
G_END_DECLS
104
111
 
105
112
#endif /* __PANGOATSUI_H__ */