pango 1.1.9-x86-mingw32 → 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +12 -1
- data/lib/1.8/pango.so +0 -0
- data/lib/1.9/pango.so +0 -0
- data/vendor/local/bin/libpango-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
- data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
- data/vendor/local/bin/pango-querymodules.exe +0 -0
- data/vendor/local/bin/pango-view.exe +0 -0
- data/vendor/local/etc/pango/pango.modules +14 -1
- data/vendor/local/include/pango-1.0/pango/pango-attributes.h +27 -2
- data/vendor/local/include/pango-1.0/pango/pango-bidi-type.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pango-context.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-engine.h +7 -5
- data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +47 -38
- data/vendor/local/include/pango-1.0/pango/pango-features.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-fontmap.h +4 -2
- data/vendor/local/include/pango-1.0/pango/pango-fontset.h +3 -3
- data/vendor/local/include/pango-1.0/pango/pango-glyph.h +7 -0
- data/vendor/local/include/pango-1.0/pango/pango-gravity.h +14 -0
- data/vendor/local/include/pango-1.0/pango/pango-layout.h +2 -1
- data/vendor/local/include/pango-1.0/pango/pango-matrix.h +2 -2
- data/vendor/local/include/pango-1.0/pango/pango-script.h +15 -1
- data/vendor/local/include/pango-1.0/pango/pango-utils.h +2 -0
- data/vendor/local/include/pango-1.0/pango/pangocairo.h +1 -0
- data/vendor/local/include/pango-1.0/pango/pangowin32.h +2 -0
- data/vendor/local/lib/libpango-1.0.dll.a +0 -0
- data/vendor/local/lib/libpango-1.0.la +41 -0
- data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangocairo-1.0.la +41 -0
- data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
- data/vendor/local/lib/libpangowin32-1.0.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-arabic-lang.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-basic-win32.la +41 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.dll.a +0 -0
- data/vendor/local/lib/pango/1.8.0/modules/pango-indic-lang.la +41 -0
- data/vendor/local/lib/pkgconfig/pango.pc +5 -4
- data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/pangowin32.pc +1 -1
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +17 -11
- data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +23 -15
- data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +18 -9
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +56 -28
- data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +103 -49
- data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +32 -20
- data/vendor/local/share/gtk-doc/html/pango/annotation-glossary.html +96 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-10.html +140 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-12.html +54 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-14.html +69 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-16.html +229 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-18.html +157 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-2.html +127 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-20.html +99 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-22.html +129 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-24.html +91 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-26.html +51 -0
- data/vendor/local/share/gtk-doc/html/pango/{index-1.28.html → api-index-1-28.html} +9 -9
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-30.html +42 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-32.html +46 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-4.html +206 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-6.html +170 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-1-8.html +176 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-deprecated.html +150 -0
- data/vendor/local/share/gtk-doc/html/pango/api-index-full.html +2965 -0
- data/vendor/local/share/gtk-doc/html/pango/index.html +25 -26
- data/vendor/local/share/gtk-doc/html/pango/index.sgml +36 -37
- data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +8 -8
- data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +42 -24
- data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +222 -123
- data/vendor/local/share/gtk-doc/html/pango/pango-CoreText-Fonts.html +94 -0
- data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +61 -26
- data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +34 -19
- data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +536 -228
- data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +90 -36
- data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +291 -130
- data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +564 -256
- data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +206 -110
- data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +32 -17
- data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +261 -144
- data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +175 -65
- data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +89 -52
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +602 -258
- data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +359 -114
- data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +27 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +65 -16
- data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +117 -48
- data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +127 -61
- data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +12 -12
- data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +99 -38
- data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +77 -17
- data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +45 -52
- data/vendor/local/share/gtk-doc/html/pango/pango.html +6 -6
- data/vendor/local/share/gtk-doc/html/pango/rendering.html +7 -10
- data/vendor/local/share/gtk-doc/html/pango/tools.html +6 -6
- data/vendor/local/share/license/pango/AUTHORS +2 -0
- data/vendor/local/share/{doc/pango-1.29.4 → license/pango}/COPYING +0 -0
- data/vendor/local/share/man/man1/pango-querymodules.1 +67 -16
- data/vendor/local/share/man/man1/pango-view.1 +4 -4
- metadata +43 -50
- data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
- data/vendor/local/include/pango-1.0/pango/pango-ot.h +0 -197
- data/vendor/local/include/pango-1.0/pango/pangofc-decoder.h +0 -110
- data/vendor/local/include/pango-1.0/pango/pangofc-font.h +0 -151
- data/vendor/local/include/pango-1.0/pango/pangofc-fontmap.h +0 -270
- data/vendor/local/include/pango-1.0/pango/pangoft2.h +0 -112
- data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
- data/vendor/local/lib/pango-1.0.def +0 -397
- data/vendor/local/lib/pango-1.0.lib +0 -0
- data/vendor/local/lib/pangocairo-1.0.def +0 -34
- data/vendor/local/lib/pangocairo-1.0.lib +0 -0
- data/vendor/local/lib/pangoft2-1.0.def +0 -85
- data/vendor/local/lib/pangoft2-1.0.lib +0 -0
- data/vendor/local/lib/pangowin32-1.0.def +0 -30
- data/vendor/local/lib/pangowin32-1.0.lib +0 -0
- data/vendor/local/lib/pkgconfig/pangoft2.pc +0 -11
- data/vendor/local/manifest/pango-dev_1.29.4-1_win32.mft +0 -116
- data/vendor/local/manifest/pango_1.29.4-1_win32.mft +0 -8
- data/vendor/local/share/doc/pango-dev-1.29.4/COPYING +0 -482
- data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +0 -81
- data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +0 -41
- data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +0 -47
- data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +0 -115
- data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +0 -73
- data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +0 -71
- data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +0 -59
- data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +0 -39
- data/vendor/local/share/gtk-doc/html/pango/index-1.30.html +0 -38
- data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +0 -111
- data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +0 -91
- data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +0 -99
- data/vendor/local/share/gtk-doc/html/pango/index-all.html +0 -1514
- data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +0 -137
- data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +0 -57
- data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +0 -1023
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.log +0 -806
- data/vendor/local/src/dieterv/packaging/pango_1.29.4-1_win32.sh +0 -56
Binary file
|
@@ -1,197 +0,0 @@
|
|
1
|
-
/* Pango
|
2
|
-
* pango-ot.h:
|
3
|
-
*
|
4
|
-
* Copyright (C) 2000,2007 Red Hat Software
|
5
|
-
*
|
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.
|
10
|
-
*
|
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.
|
15
|
-
*
|
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.
|
20
|
-
*/
|
21
|
-
|
22
|
-
#ifndef __PANGO_OT_H__
|
23
|
-
#define __PANGO_OT_H__
|
24
|
-
|
25
|
-
#include <pango/pangofc-font.h>
|
26
|
-
#include <pango/pango-glyph.h>
|
27
|
-
#include <pango/pango-font.h>
|
28
|
-
#include <pango/pango-script.h>
|
29
|
-
#include <pango/pango-language.h>
|
30
|
-
|
31
|
-
G_BEGIN_DECLS
|
32
|
-
|
33
|
-
#ifdef PANGO_ENABLE_ENGINE
|
34
|
-
|
35
|
-
typedef guint32 PangoOTTag;
|
36
|
-
|
37
|
-
#define PANGO_OT_TAG_MAKE(c1,c2,c3,c4) ((PangoOTTag) FT_MAKE_TAG (c1, c2, c3, c4))
|
38
|
-
#define PANGO_OT_TAG_MAKE_FROM_STRING(s) (PANGO_OT_TAG_MAKE(((const char *) s)[0], \
|
39
|
-
((const char *) s)[1], \
|
40
|
-
((const char *) s)[2], \
|
41
|
-
((const char *) s)[3]))
|
42
|
-
|
43
|
-
typedef struct _PangoOTInfo PangoOTInfo;
|
44
|
-
typedef struct _PangoOTBuffer PangoOTBuffer;
|
45
|
-
typedef struct _PangoOTGlyph PangoOTGlyph;
|
46
|
-
typedef struct _PangoOTRuleset PangoOTRuleset;
|
47
|
-
typedef struct _PangoOTFeatureMap PangoOTFeatureMap;
|
48
|
-
typedef struct _PangoOTRulesetDescription PangoOTRulesetDescription;
|
49
|
-
|
50
|
-
typedef enum
|
51
|
-
{
|
52
|
-
PANGO_OT_TABLE_GSUB,
|
53
|
-
PANGO_OT_TABLE_GPOS
|
54
|
-
} PangoOTTableType;
|
55
|
-
|
56
|
-
#define PANGO_OT_ALL_GLYPHS ((guint) 0xFFFF)
|
57
|
-
#define PANGO_OT_NO_FEATURE ((guint) 0xFFFF)
|
58
|
-
#define PANGO_OT_NO_SCRIPT ((guint) 0xFFFF)
|
59
|
-
#define PANGO_OT_DEFAULT_LANGUAGE ((guint) 0xFFFF)
|
60
|
-
|
61
|
-
#define PANGO_OT_TAG_DEFAULT_SCRIPT PANGO_OT_TAG_MAKE ('D', 'F', 'L', 'T')
|
62
|
-
#define PANGO_OT_TAG_DEFAULT_LANGUAGE PANGO_OT_TAG_MAKE ('d', 'f', 'l', 't')
|
63
|
-
|
64
|
-
/* Note that this must match hb_glyph_info_t */
|
65
|
-
struct _PangoOTGlyph
|
66
|
-
{
|
67
|
-
guint32 glyph;
|
68
|
-
guint properties;
|
69
|
-
guint cluster;
|
70
|
-
gushort component;
|
71
|
-
gushort ligID;
|
72
|
-
|
73
|
-
guint internal;
|
74
|
-
};
|
75
|
-
|
76
|
-
struct _PangoOTFeatureMap
|
77
|
-
{
|
78
|
-
char feature_name[5];
|
79
|
-
gulong property_bit;
|
80
|
-
};
|
81
|
-
|
82
|
-
struct _PangoOTRulesetDescription {
|
83
|
-
PangoScript script;
|
84
|
-
PangoLanguage *language;
|
85
|
-
const PangoOTFeatureMap *static_gsub_features;
|
86
|
-
guint n_static_gsub_features;
|
87
|
-
const PangoOTFeatureMap *static_gpos_features;
|
88
|
-
guint n_static_gpos_features;
|
89
|
-
const PangoOTFeatureMap *other_features;
|
90
|
-
guint n_other_features;
|
91
|
-
};
|
92
|
-
|
93
|
-
|
94
|
-
#define PANGO_TYPE_OT_INFO (pango_ot_info_get_type ())
|
95
|
-
#define PANGO_OT_INFO(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_OT_INFO, PangoOTInfo))
|
96
|
-
#define PANGO_IS_OT_INFO(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_OT_INFO))
|
97
|
-
GType pango_ot_info_get_type (void) G_GNUC_CONST;
|
98
|
-
|
99
|
-
#define PANGO_TYPE_OT_RULESET (pango_ot_ruleset_get_type ())
|
100
|
-
#define PANGO_OT_RULESET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_OT_RULESET, PangoOTRuleset))
|
101
|
-
#define PANGO_IS_OT_RULESET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_OT_RULESET))
|
102
|
-
GType pango_ot_ruleset_get_type (void) G_GNUC_CONST;
|
103
|
-
|
104
|
-
|
105
|
-
PangoOTInfo *pango_ot_info_get (FT_Face face);
|
106
|
-
|
107
|
-
gboolean pango_ot_info_find_script (PangoOTInfo *info,
|
108
|
-
PangoOTTableType table_type,
|
109
|
-
PangoOTTag script_tag,
|
110
|
-
guint *script_index);
|
111
|
-
gboolean pango_ot_info_find_language (PangoOTInfo *info,
|
112
|
-
PangoOTTableType table_type,
|
113
|
-
guint script_index,
|
114
|
-
PangoOTTag language_tag,
|
115
|
-
guint *language_index,
|
116
|
-
guint *required_feature_index);
|
117
|
-
gboolean pango_ot_info_find_feature (PangoOTInfo *info,
|
118
|
-
PangoOTTableType table_type,
|
119
|
-
PangoOTTag feature_tag,
|
120
|
-
guint script_index,
|
121
|
-
guint language_index,
|
122
|
-
guint *feature_index);
|
123
|
-
|
124
|
-
PangoOTTag *pango_ot_info_list_scripts (PangoOTInfo *info,
|
125
|
-
PangoOTTableType table_type);
|
126
|
-
PangoOTTag *pango_ot_info_list_languages (PangoOTInfo *info,
|
127
|
-
PangoOTTableType table_type,
|
128
|
-
guint script_index,
|
129
|
-
PangoOTTag language_tag);
|
130
|
-
PangoOTTag *pango_ot_info_list_features (PangoOTInfo *info,
|
131
|
-
PangoOTTableType table_type,
|
132
|
-
PangoOTTag tag,
|
133
|
-
guint script_index,
|
134
|
-
guint language_index);
|
135
|
-
|
136
|
-
PangoOTBuffer *pango_ot_buffer_new (PangoFcFont *font);
|
137
|
-
void pango_ot_buffer_destroy (PangoOTBuffer *buffer);
|
138
|
-
void pango_ot_buffer_clear (PangoOTBuffer *buffer);
|
139
|
-
void pango_ot_buffer_set_rtl (PangoOTBuffer *buffer,
|
140
|
-
gboolean rtl);
|
141
|
-
void pango_ot_buffer_add_glyph (PangoOTBuffer *buffer,
|
142
|
-
guint glyph,
|
143
|
-
guint properties,
|
144
|
-
guint cluster);
|
145
|
-
void pango_ot_buffer_get_glyphs (const PangoOTBuffer *buffer,
|
146
|
-
PangoOTGlyph **glyphs,
|
147
|
-
int *n_glyphs);
|
148
|
-
void pango_ot_buffer_output (const PangoOTBuffer *buffer,
|
149
|
-
PangoGlyphString *glyphs);
|
150
|
-
|
151
|
-
void pango_ot_buffer_set_zero_width_marks (PangoOTBuffer *buffer,
|
152
|
-
gboolean zero_width_marks);
|
153
|
-
|
154
|
-
const PangoOTRuleset *pango_ot_ruleset_get_for_description (PangoOTInfo *info,
|
155
|
-
const PangoOTRulesetDescription *desc);
|
156
|
-
PangoOTRuleset *pango_ot_ruleset_new (PangoOTInfo *info);
|
157
|
-
PangoOTRuleset *pango_ot_ruleset_new_for (PangoOTInfo *info,
|
158
|
-
PangoScript script,
|
159
|
-
PangoLanguage *language);
|
160
|
-
PangoOTRuleset *pango_ot_ruleset_new_from_description (PangoOTInfo *info,
|
161
|
-
const PangoOTRulesetDescription *desc);
|
162
|
-
void pango_ot_ruleset_add_feature (PangoOTRuleset *ruleset,
|
163
|
-
PangoOTTableType table_type,
|
164
|
-
guint feature_index,
|
165
|
-
gulong property_bit);
|
166
|
-
gboolean pango_ot_ruleset_maybe_add_feature (PangoOTRuleset *ruleset,
|
167
|
-
PangoOTTableType table_type,
|
168
|
-
PangoOTTag feature_tag,
|
169
|
-
gulong property_bit);
|
170
|
-
guint pango_ot_ruleset_maybe_add_features (PangoOTRuleset *ruleset,
|
171
|
-
PangoOTTableType table_type,
|
172
|
-
const PangoOTFeatureMap *features,
|
173
|
-
guint n_features);
|
174
|
-
guint pango_ot_ruleset_get_feature_count (const PangoOTRuleset *ruleset,
|
175
|
-
guint *n_gsub_features,
|
176
|
-
guint *n_gpos_features);
|
177
|
-
void pango_ot_ruleset_substitute (const PangoOTRuleset *ruleset,
|
178
|
-
PangoOTBuffer *buffer);
|
179
|
-
void pango_ot_ruleset_position (const PangoOTRuleset *ruleset,
|
180
|
-
PangoOTBuffer *buffer);
|
181
|
-
PangoScript pango_ot_tag_to_script (PangoOTTag script_tag) G_GNUC_CONST;
|
182
|
-
PangoOTTag pango_ot_tag_from_script (PangoScript script) G_GNUC_CONST;
|
183
|
-
PangoLanguage *pango_ot_tag_to_language (PangoOTTag language_tag) G_GNUC_CONST;
|
184
|
-
PangoOTTag pango_ot_tag_from_language (PangoLanguage *language) G_GNUC_CONST;
|
185
|
-
|
186
|
-
guint pango_ot_ruleset_description_hash (const PangoOTRulesetDescription *desc) G_GNUC_PURE;
|
187
|
-
gboolean pango_ot_ruleset_description_equal (const PangoOTRulesetDescription *desc1,
|
188
|
-
const PangoOTRulesetDescription *desc2) G_GNUC_PURE;
|
189
|
-
PangoOTRulesetDescription *pango_ot_ruleset_description_copy (const PangoOTRulesetDescription *desc);
|
190
|
-
void pango_ot_ruleset_description_free (PangoOTRulesetDescription *desc);
|
191
|
-
|
192
|
-
|
193
|
-
#endif /* PANGO_ENABLE_ENGINE */
|
194
|
-
|
195
|
-
G_END_DECLS
|
196
|
-
|
197
|
-
#endif /* __PANGO_OT_H__ */
|
@@ -1,110 +0,0 @@
|
|
1
|
-
/* Pango
|
2
|
-
* pangofc-decoder.h: Custom encoders/decoders on a per-font basis.
|
3
|
-
*
|
4
|
-
* Copyright (C) 2004 Red Hat Software
|
5
|
-
*
|
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.
|
10
|
-
*
|
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.
|
15
|
-
*
|
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.
|
20
|
-
*/
|
21
|
-
|
22
|
-
#ifndef __PANGO_DECODER_H_
|
23
|
-
#define __PANGO_DECODER_H_
|
24
|
-
|
25
|
-
#include <pango/pangofc-font.h>
|
26
|
-
|
27
|
-
G_BEGIN_DECLS
|
28
|
-
|
29
|
-
#define PANGO_TYPE_FC_DECODER (pango_fc_decoder_get_type())
|
30
|
-
#define PANGO_FC_DECODER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_DECODER, PangoFcDecoder))
|
31
|
-
#define PANGO_IS_FC_DECODER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FC_DECODER))
|
32
|
-
|
33
|
-
typedef struct _PangoFcDecoder PangoFcDecoder;
|
34
|
-
typedef struct _PangoFcDecoderClass PangoFcDecoderClass;
|
35
|
-
|
36
|
-
#define PANGO_FC_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FC_DECODER, PangoFcDecoderClass))
|
37
|
-
#define PANGO_IS_FC_DECODER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FC_DECODER))
|
38
|
-
#define PANGO_FC_DECODER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FC_DECODER, PangoFcDecoderClass))
|
39
|
-
|
40
|
-
/**
|
41
|
-
* PangoFcDecoder:
|
42
|
-
*
|
43
|
-
* #PangoFcDecoder is a virtual base class that implementations will
|
44
|
-
* inherit from. It's the interface that is used to define a custom
|
45
|
-
* encoding for a font. These objects are created in your code from a
|
46
|
-
* function callback that was originally registered with
|
47
|
-
* pango_fc_font_map_add_decoder_find_func(). Pango requires
|
48
|
-
* information about the supported charset for a font as well as the
|
49
|
-
* individual character to glyph conversions. Pango gets that
|
50
|
-
* information via the #get_charset and #get_glyph callbacks into your
|
51
|
-
* object implementation.
|
52
|
-
*
|
53
|
-
* Since: 1.6
|
54
|
-
**/
|
55
|
-
struct _PangoFcDecoder
|
56
|
-
{
|
57
|
-
/*< private >*/
|
58
|
-
GObject parent_instance;
|
59
|
-
};
|
60
|
-
|
61
|
-
/**
|
62
|
-
* PangoFcDecoderClass:
|
63
|
-
* @get_charset: This returns an #FcCharset given a #PangoFcFont that
|
64
|
-
* includes a list of supported characters in the font. The
|
65
|
-
* #FcCharSet that is returned should be an internal reference to your
|
66
|
-
* code. Pango will not free this structure. It is important that
|
67
|
-
* you make this callback fast because this callback is called
|
68
|
-
* separately for each character to determine Unicode coverage.
|
69
|
-
* @get_glyph: This returns a single #PangoGlyph for a given Unicode
|
70
|
-
* code point.
|
71
|
-
*
|
72
|
-
* Class structure for #PangoFcDecoder.
|
73
|
-
*
|
74
|
-
* Since: 1.6
|
75
|
-
**/
|
76
|
-
struct _PangoFcDecoderClass
|
77
|
-
{
|
78
|
-
/*< private >*/
|
79
|
-
GObjectClass parent_class;
|
80
|
-
|
81
|
-
/* vtable - not signals */
|
82
|
-
/*< public >*/
|
83
|
-
FcCharSet *(*get_charset) (PangoFcDecoder *decoder,
|
84
|
-
PangoFcFont *fcfont);
|
85
|
-
PangoGlyph (*get_glyph) (PangoFcDecoder *decoder,
|
86
|
-
PangoFcFont *fcfont,
|
87
|
-
guint32 wc);
|
88
|
-
|
89
|
-
/*< private >*/
|
90
|
-
|
91
|
-
/* Padding for future expansion */
|
92
|
-
void (*_pango_reserved1) (void);
|
93
|
-
void (*_pango_reserved2) (void);
|
94
|
-
void (*_pango_reserved3) (void);
|
95
|
-
void (*_pango_reserved4) (void);
|
96
|
-
};
|
97
|
-
|
98
|
-
GType pango_fc_decoder_get_type (void) G_GNUC_CONST;
|
99
|
-
|
100
|
-
FcCharSet *pango_fc_decoder_get_charset (PangoFcDecoder *decoder,
|
101
|
-
PangoFcFont *fcfont);
|
102
|
-
|
103
|
-
PangoGlyph pango_fc_decoder_get_glyph (PangoFcDecoder *decoder,
|
104
|
-
PangoFcFont *fcfont,
|
105
|
-
guint32 wc);
|
106
|
-
|
107
|
-
G_END_DECLS
|
108
|
-
|
109
|
-
#endif /* __PANGO_DECODER_H_ */
|
110
|
-
|
@@ -1,151 +0,0 @@
|
|
1
|
-
/* Pango
|
2
|
-
* pangofc-font.h: Base fontmap type for fontconfig-based backends
|
3
|
-
*
|
4
|
-
* Copyright (C) 2003 Red Hat Software
|
5
|
-
*
|
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.
|
10
|
-
*
|
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.
|
15
|
-
*
|
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.
|
20
|
-
*/
|
21
|
-
|
22
|
-
#ifndef __PANGO_FC_FONT_H__
|
23
|
-
#define __PANGO_FC_FONT_H__
|
24
|
-
|
25
|
-
#include <ft2build.h>
|
26
|
-
#include FT_FREETYPE_H
|
27
|
-
#include <fontconfig/fontconfig.h>
|
28
|
-
#include <pango/pango-font.h>
|
29
|
-
#include <pango/pango-fontmap.h>
|
30
|
-
#include <pango/pango-glyph.h>
|
31
|
-
|
32
|
-
G_BEGIN_DECLS
|
33
|
-
|
34
|
-
#define PANGO_TYPE_FC_FONT (pango_fc_font_get_type ())
|
35
|
-
#define PANGO_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FC_FONT, PangoFcFont))
|
36
|
-
#define PANGO_IS_FC_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FC_FONT))
|
37
|
-
|
38
|
-
typedef struct _PangoFcFont PangoFcFont;
|
39
|
-
typedef struct _PangoFcFontClass PangoFcFontClass;
|
40
|
-
|
41
|
-
#if defined(PANGO_ENABLE_ENGINE) || defined(PANGO_ENABLE_BACKEND)
|
42
|
-
|
43
|
-
/**
|
44
|
-
* PANGO_RENDER_TYPE_FC:
|
45
|
-
*
|
46
|
-
* A string constant used to identify shape engines that work
|
47
|
-
* with the fontconfig based backends. See the @engine_type field
|
48
|
-
* of #PangoEngineInfo.
|
49
|
-
**/
|
50
|
-
#define PANGO_RENDER_TYPE_FC "PangoRenderFc"
|
51
|
-
|
52
|
-
#ifdef PANGO_ENABLE_BACKEND
|
53
|
-
|
54
|
-
#define PANGO_FC_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FC_FONT, PangoFcFontClass))
|
55
|
-
#define PANGO_IS_FC_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FC_FONT))
|
56
|
-
#define PANGO_FC_FONT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FC_FONT, PangoFcFontClass))
|
57
|
-
|
58
|
-
/**
|
59
|
-
* PangoFcFont:
|
60
|
-
*
|
61
|
-
* #PangoFcFont is a base class for font implementations
|
62
|
-
* using the Fontconfig and FreeType libraries and is used in
|
63
|
-
* conjunction with #PangoFcFontMap. When deriving from this
|
64
|
-
* class, you need to implement all of its virtual functions
|
65
|
-
* other than shutdown() along with the get_glyph_extents()
|
66
|
-
* virtual function from #PangoFont.
|
67
|
-
**/
|
68
|
-
struct _PangoFcFont
|
69
|
-
{
|
70
|
-
PangoFont parent_instance;
|
71
|
-
|
72
|
-
FcPattern *font_pattern; /* fully resolved pattern */
|
73
|
-
PangoFontMap *fontmap; /* associated map */
|
74
|
-
gpointer priv; /* used internally */
|
75
|
-
PangoMatrix matrix; /* used internally */
|
76
|
-
PangoFontDescription *description;
|
77
|
-
|
78
|
-
GSList *metrics_by_lang;
|
79
|
-
|
80
|
-
guint is_hinted : 1;
|
81
|
-
guint is_transformed : 1;
|
82
|
-
};
|
83
|
-
|
84
|
-
/**
|
85
|
-
* PangoFcFontClass:
|
86
|
-
* @lock_face: Returns the FT_Face of the font and increases
|
87
|
-
* the reference count for the face by one.
|
88
|
-
* @unlock_face: Decreases the reference count for the
|
89
|
-
* FT_Face of the font by one. When the count is zero,
|
90
|
-
* the #PangoFcFont subclass is allowed to free the
|
91
|
-
* FT_Face.
|
92
|
-
* @has_char: Return %TRUE if the the font contains a glyph
|
93
|
-
* corresponding to the specified character.
|
94
|
-
* @get_glyph: Gets the glyph that corresponds to the given
|
95
|
-
* Unicode character.
|
96
|
-
* @get_unknown_glyph: Gets the glyph that should be used to
|
97
|
-
* display an unknown-glyph indication for the specified
|
98
|
-
* Unicode character.
|
99
|
-
* May be %NULL.
|
100
|
-
* @shutdown: Performs any font-specific shutdown code that
|
101
|
-
* needs to be done when pango_fc_font_map_shutdown is called.
|
102
|
-
* May be %NULL.
|
103
|
-
*
|
104
|
-
* Class structure for #PangoFcFont.
|
105
|
-
**/
|
106
|
-
struct _PangoFcFontClass
|
107
|
-
{
|
108
|
-
/*< private >*/
|
109
|
-
PangoFontClass parent_class;
|
110
|
-
|
111
|
-
/*< public >*/
|
112
|
-
FT_Face (*lock_face) (PangoFcFont *font);
|
113
|
-
void (*unlock_face) (PangoFcFont *font);
|
114
|
-
gboolean (*has_char) (PangoFcFont *font,
|
115
|
-
gunichar wc);
|
116
|
-
guint (*get_glyph) (PangoFcFont *font,
|
117
|
-
gunichar wc);
|
118
|
-
PangoGlyph (*get_unknown_glyph) (PangoFcFont *font,
|
119
|
-
gunichar wc);
|
120
|
-
void (*shutdown) (PangoFcFont *font);
|
121
|
-
/*< private >*/
|
122
|
-
|
123
|
-
/* Padding for future expansion */
|
124
|
-
void (*_pango_reserved1) (void);
|
125
|
-
void (*_pango_reserved2) (void);
|
126
|
-
void (*_pango_reserved3) (void);
|
127
|
-
void (*_pango_reserved4) (void);
|
128
|
-
};
|
129
|
-
|
130
|
-
#endif /* PANGO_ENABLE_BACKEND */
|
131
|
-
|
132
|
-
gboolean pango_fc_font_has_char (PangoFcFont *font,
|
133
|
-
gunichar wc);
|
134
|
-
guint pango_fc_font_get_glyph (PangoFcFont *font,
|
135
|
-
gunichar wc);
|
136
|
-
#ifndef PANGO_DISABLE_DEPRECATED
|
137
|
-
PangoGlyph pango_fc_font_get_unknown_glyph (PangoFcFont *font,
|
138
|
-
gunichar wc);
|
139
|
-
#endif /* PANGO_DISABLE_DEPRECATED */
|
140
|
-
void pango_fc_font_kern_glyphs (PangoFcFont *font,
|
141
|
-
PangoGlyphString *glyphs);
|
142
|
-
|
143
|
-
#endif /* PANGO_ENABLE_ENGINE || PANGO_ENABLE_BACKEND */
|
144
|
-
|
145
|
-
GType pango_fc_font_get_type (void) G_GNUC_CONST;
|
146
|
-
|
147
|
-
FT_Face pango_fc_font_lock_face (PangoFcFont *font);
|
148
|
-
void pango_fc_font_unlock_face (PangoFcFont *font);
|
149
|
-
|
150
|
-
G_END_DECLS
|
151
|
-
#endif /* __PANGO_FC_FONT_H__ */
|