File indexing completed on 2025-12-18 10:28:15
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #ifndef __PANGO_FONT_H__
0023 #define __PANGO_FONT_H__
0024
0025 #include <pango/pango-coverage.h>
0026 #include <pango/pango-types.h>
0027
0028 #include <glib-object.h>
0029 #include <hb.h>
0030
0031 G_BEGIN_DECLS
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043 typedef struct _PangoFontDescription PangoFontDescription;
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064 typedef struct _PangoFontMetrics PangoFontMetrics;
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074 typedef enum {
0075 PANGO_STYLE_NORMAL,
0076 PANGO_STYLE_OBLIQUE,
0077 PANGO_STYLE_ITALIC
0078 } PangoStyle;
0079
0080
0081
0082
0083
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100 typedef enum {
0101 PANGO_VARIANT_NORMAL,
0102 PANGO_VARIANT_SMALL_CAPS,
0103 PANGO_VARIANT_ALL_SMALL_CAPS,
0104 PANGO_VARIANT_PETITE_CAPS,
0105 PANGO_VARIANT_ALL_PETITE_CAPS,
0106 PANGO_VARIANT_UNICASE,
0107 PANGO_VARIANT_TITLE_CAPS
0108 } PangoVariant;
0109
0110
0111
0112
0113
0114
0115
0116
0117
0118
0119
0120
0121
0122
0123
0124
0125
0126
0127
0128
0129
0130 typedef enum {
0131 PANGO_WEIGHT_THIN = 100,
0132 PANGO_WEIGHT_ULTRALIGHT = 200,
0133 PANGO_WEIGHT_LIGHT = 300,
0134 PANGO_WEIGHT_SEMILIGHT = 350,
0135 PANGO_WEIGHT_BOOK = 380,
0136 PANGO_WEIGHT_NORMAL = 400,
0137 PANGO_WEIGHT_MEDIUM = 500,
0138 PANGO_WEIGHT_SEMIBOLD = 600,
0139 PANGO_WEIGHT_BOLD = 700,
0140 PANGO_WEIGHT_ULTRABOLD = 800,
0141 PANGO_WEIGHT_HEAVY = 900,
0142 PANGO_WEIGHT_ULTRAHEAVY = 1000
0143 } PangoWeight;
0144
0145
0146
0147
0148
0149
0150
0151
0152
0153
0154
0155
0156
0157
0158
0159
0160 typedef enum {
0161 PANGO_STRETCH_ULTRA_CONDENSED,
0162 PANGO_STRETCH_EXTRA_CONDENSED,
0163 PANGO_STRETCH_CONDENSED,
0164 PANGO_STRETCH_SEMI_CONDENSED,
0165 PANGO_STRETCH_NORMAL,
0166 PANGO_STRETCH_SEMI_EXPANDED,
0167 PANGO_STRETCH_EXPANDED,
0168 PANGO_STRETCH_EXTRA_EXPANDED,
0169 PANGO_STRETCH_ULTRA_EXPANDED
0170 } PangoStretch;
0171
0172
0173
0174
0175
0176
0177
0178
0179
0180
0181
0182
0183
0184
0185
0186 typedef enum {
0187 PANGO_FONT_MASK_FAMILY = 1 << 0,
0188 PANGO_FONT_MASK_STYLE = 1 << 1,
0189 PANGO_FONT_MASK_VARIANT = 1 << 2,
0190 PANGO_FONT_MASK_WEIGHT = 1 << 3,
0191 PANGO_FONT_MASK_STRETCH = 1 << 4,
0192 PANGO_FONT_MASK_SIZE = 1 << 5,
0193 PANGO_FONT_MASK_GRAVITY = 1 << 6,
0194 PANGO_FONT_MASK_VARIATIONS = 1 << 7,
0195 } PangoFontMask;
0196
0197
0198
0199
0200
0201
0202
0203
0204
0205
0206
0207
0208
0209
0210
0211
0212
0213
0214
0215
0216
0217
0218
0219
0220
0221
0222
0223
0224
0225
0226
0227
0228
0229
0230
0231
0232
0233 #define PANGO_SCALE_XX_SMALL ((double)0.5787037037037)
0234 #define PANGO_SCALE_X_SMALL ((double)0.6944444444444)
0235 #define PANGO_SCALE_SMALL ((double)0.8333333333333)
0236 #define PANGO_SCALE_MEDIUM ((double)1.0)
0237 #define PANGO_SCALE_LARGE ((double)1.2)
0238 #define PANGO_SCALE_X_LARGE ((double)1.44)
0239 #define PANGO_SCALE_XX_LARGE ((double)1.728)
0240
0241
0242
0243
0244
0245 #define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
0246
0247 PANGO_AVAILABLE_IN_ALL
0248 GType pango_font_description_get_type (void) G_GNUC_CONST;
0249 PANGO_AVAILABLE_IN_ALL
0250 PangoFontDescription *pango_font_description_new (void);
0251 PANGO_AVAILABLE_IN_ALL
0252 PangoFontDescription *pango_font_description_copy (const PangoFontDescription *desc);
0253 PANGO_AVAILABLE_IN_ALL
0254 PangoFontDescription *pango_font_description_copy_static (const PangoFontDescription *desc);
0255 PANGO_AVAILABLE_IN_ALL
0256 guint pango_font_description_hash (const PangoFontDescription *desc) G_GNUC_PURE;
0257 PANGO_AVAILABLE_IN_ALL
0258 gboolean pango_font_description_equal (const PangoFontDescription *desc1,
0259 const PangoFontDescription *desc2) G_GNUC_PURE;
0260 PANGO_AVAILABLE_IN_ALL
0261 void pango_font_description_free (PangoFontDescription *desc);
0262 PANGO_AVAILABLE_IN_ALL
0263 void pango_font_descriptions_free (PangoFontDescription **descs,
0264 int n_descs);
0265
0266 PANGO_AVAILABLE_IN_ALL
0267 void pango_font_description_set_family (PangoFontDescription *desc,
0268 const char *family);
0269 PANGO_AVAILABLE_IN_ALL
0270 void pango_font_description_set_family_static (PangoFontDescription *desc,
0271 const char *family);
0272 PANGO_AVAILABLE_IN_ALL
0273 const char *pango_font_description_get_family (const PangoFontDescription *desc) G_GNUC_PURE;
0274 PANGO_AVAILABLE_IN_ALL
0275 void pango_font_description_set_style (PangoFontDescription *desc,
0276 PangoStyle style);
0277 PANGO_AVAILABLE_IN_ALL
0278 PangoStyle pango_font_description_get_style (const PangoFontDescription *desc) G_GNUC_PURE;
0279 PANGO_AVAILABLE_IN_ALL
0280 void pango_font_description_set_variant (PangoFontDescription *desc,
0281 PangoVariant variant);
0282 PANGO_AVAILABLE_IN_ALL
0283 PangoVariant pango_font_description_get_variant (const PangoFontDescription *desc) G_GNUC_PURE;
0284 PANGO_AVAILABLE_IN_ALL
0285 void pango_font_description_set_weight (PangoFontDescription *desc,
0286 PangoWeight weight);
0287 PANGO_AVAILABLE_IN_ALL
0288 PangoWeight pango_font_description_get_weight (const PangoFontDescription *desc) G_GNUC_PURE;
0289 PANGO_AVAILABLE_IN_ALL
0290 void pango_font_description_set_stretch (PangoFontDescription *desc,
0291 PangoStretch stretch);
0292 PANGO_AVAILABLE_IN_ALL
0293 PangoStretch pango_font_description_get_stretch (const PangoFontDescription *desc) G_GNUC_PURE;
0294 PANGO_AVAILABLE_IN_ALL
0295 void pango_font_description_set_size (PangoFontDescription *desc,
0296 gint size);
0297 PANGO_AVAILABLE_IN_ALL
0298 gint pango_font_description_get_size (const PangoFontDescription *desc) G_GNUC_PURE;
0299 PANGO_AVAILABLE_IN_1_8
0300 void pango_font_description_set_absolute_size (PangoFontDescription *desc,
0301 double size);
0302 PANGO_AVAILABLE_IN_1_8
0303 gboolean pango_font_description_get_size_is_absolute (const PangoFontDescription *desc) G_GNUC_PURE;
0304 PANGO_AVAILABLE_IN_1_16
0305 void pango_font_description_set_gravity (PangoFontDescription *desc,
0306 PangoGravity gravity);
0307 PANGO_AVAILABLE_IN_1_16
0308 PangoGravity pango_font_description_get_gravity (const PangoFontDescription *desc) G_GNUC_PURE;
0309
0310 PANGO_AVAILABLE_IN_1_42
0311 void pango_font_description_set_variations_static (PangoFontDescription *desc,
0312 const char *variations);
0313 PANGO_AVAILABLE_IN_1_42
0314 void pango_font_description_set_variations (PangoFontDescription *desc,
0315 const char *variations);
0316 PANGO_AVAILABLE_IN_1_42
0317 const char *pango_font_description_get_variations (const PangoFontDescription *desc) G_GNUC_PURE;
0318
0319 PANGO_AVAILABLE_IN_ALL
0320 PangoFontMask pango_font_description_get_set_fields (const PangoFontDescription *desc) G_GNUC_PURE;
0321 PANGO_AVAILABLE_IN_ALL
0322 void pango_font_description_unset_fields (PangoFontDescription *desc,
0323 PangoFontMask to_unset);
0324
0325 PANGO_AVAILABLE_IN_ALL
0326 void pango_font_description_merge (PangoFontDescription *desc,
0327 const PangoFontDescription *desc_to_merge,
0328 gboolean replace_existing);
0329 PANGO_AVAILABLE_IN_ALL
0330 void pango_font_description_merge_static (PangoFontDescription *desc,
0331 const PangoFontDescription *desc_to_merge,
0332 gboolean replace_existing);
0333
0334 PANGO_AVAILABLE_IN_ALL
0335 gboolean pango_font_description_better_match (const PangoFontDescription *desc,
0336 const PangoFontDescription *old_match,
0337 const PangoFontDescription *new_match) G_GNUC_PURE;
0338
0339 PANGO_AVAILABLE_IN_ALL
0340 PangoFontDescription *pango_font_description_from_string (const char *str);
0341 PANGO_AVAILABLE_IN_ALL
0342 char * pango_font_description_to_string (const PangoFontDescription *desc);
0343 PANGO_AVAILABLE_IN_ALL
0344 char * pango_font_description_to_filename (const PangoFontDescription *desc);
0345
0346
0347
0348
0349
0350 #define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
0351
0352 struct _PangoFontMetrics
0353 {
0354
0355 guint ref_count;
0356
0357 int ascent;
0358 int descent;
0359 int height;
0360 int approximate_char_width;
0361 int approximate_digit_width;
0362 int underline_position;
0363 int underline_thickness;
0364 int strikethrough_position;
0365 int strikethrough_thickness;
0366 };
0367
0368 PANGO_AVAILABLE_IN_ALL
0369 GType pango_font_metrics_get_type (void) G_GNUC_CONST;
0370 PANGO_AVAILABLE_IN_ALL
0371 PangoFontMetrics *pango_font_metrics_ref (PangoFontMetrics *metrics);
0372 PANGO_AVAILABLE_IN_ALL
0373 void pango_font_metrics_unref (PangoFontMetrics *metrics);
0374 PANGO_AVAILABLE_IN_ALL
0375 int pango_font_metrics_get_ascent (PangoFontMetrics *metrics) G_GNUC_PURE;
0376 PANGO_AVAILABLE_IN_ALL
0377 int pango_font_metrics_get_descent (PangoFontMetrics *metrics) G_GNUC_PURE;
0378 PANGO_AVAILABLE_IN_1_44
0379 int pango_font_metrics_get_height (PangoFontMetrics *metrics) G_GNUC_PURE;
0380 PANGO_AVAILABLE_IN_ALL
0381 int pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics) G_GNUC_PURE;
0382 PANGO_AVAILABLE_IN_ALL
0383 int pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics) G_GNUC_PURE;
0384 PANGO_AVAILABLE_IN_1_6
0385 int pango_font_metrics_get_underline_position (PangoFontMetrics *metrics) G_GNUC_PURE;
0386 PANGO_AVAILABLE_IN_1_6
0387 int pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics) G_GNUC_PURE;
0388 PANGO_AVAILABLE_IN_1_6
0389 int pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics) G_GNUC_PURE;
0390 PANGO_AVAILABLE_IN_1_6
0391 int pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics) G_GNUC_PURE;
0392
0393
0394
0395
0396
0397
0398 #define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
0399 #define PANGO_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, PangoFontFamily))
0400 #define PANGO_IS_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FAMILY))
0401 #define PANGO_FONT_FAMILY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_FAMILY, PangoFontFamilyClass))
0402 #define PANGO_IS_FONT_FAMILY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_FAMILY))
0403 #define PANGO_FONT_FAMILY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT_FAMILY, PangoFontFamilyClass))
0404
0405 typedef struct _PangoFontFace PangoFontFace;
0406 typedef struct _PangoFontFamily PangoFontFamily;
0407 typedef struct _PangoFontFamilyClass PangoFontFamilyClass;
0408
0409 #ifndef PANGO_DISABLE_DEPRECATED
0410
0411
0412
0413
0414
0415
0416
0417
0418
0419
0420 struct _PangoFontFamily
0421 {
0422 GObject parent_instance;
0423 };
0424
0425 struct _PangoFontFamilyClass
0426 {
0427 GObjectClass parent_class;
0428
0429
0430
0431 void (*list_faces) (PangoFontFamily *family,
0432 PangoFontFace ***faces,
0433 int *n_faces);
0434 const char * (*get_name) (PangoFontFamily *family);
0435 gboolean (*is_monospace) (PangoFontFamily *family);
0436 gboolean (*is_variable) (PangoFontFamily *family);
0437
0438 PangoFontFace * (*get_face) (PangoFontFamily *family,
0439 const char *name);
0440
0441
0442
0443
0444
0445 void (*_pango_reserved2) (void);
0446 };
0447
0448 #endif
0449
0450 PANGO_AVAILABLE_IN_ALL
0451 GType pango_font_family_get_type (void) G_GNUC_CONST;
0452
0453 PANGO_AVAILABLE_IN_ALL
0454 void pango_font_family_list_faces (PangoFontFamily *family,
0455 PangoFontFace ***faces,
0456 int *n_faces);
0457 PANGO_AVAILABLE_IN_ALL
0458 const char *pango_font_family_get_name (PangoFontFamily *family) G_GNUC_PURE;
0459 PANGO_AVAILABLE_IN_1_4
0460 gboolean pango_font_family_is_monospace (PangoFontFamily *family) G_GNUC_PURE;
0461 PANGO_AVAILABLE_IN_1_44
0462 gboolean pango_font_family_is_variable (PangoFontFamily *family) G_GNUC_PURE;
0463
0464 PANGO_AVAILABLE_IN_1_46
0465 PangoFontFace *pango_font_family_get_face (PangoFontFamily *family,
0466 const char *name);
0467
0468
0469
0470
0471
0472
0473 #define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
0474 #define PANGO_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, PangoFontFace))
0475 #define PANGO_IS_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FACE))
0476 #define PANGO_FONT_FACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_FACE, PangoFontFaceClass))
0477 #define PANGO_IS_FONT_FACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_FACE))
0478 #define PANGO_FONT_FACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT_FACE, PangoFontFaceClass))
0479
0480 typedef struct _PangoFontFaceClass PangoFontFaceClass;
0481
0482 #ifndef PANGO_DISABLE_DEPRECATED
0483
0484
0485
0486
0487
0488
0489
0490 struct _PangoFontFace
0491 {
0492 GObject parent_instance;
0493 };
0494
0495 struct _PangoFontFaceClass
0496 {
0497 GObjectClass parent_class;
0498
0499
0500
0501 const char * (*get_face_name) (PangoFontFace *face);
0502 PangoFontDescription * (*describe) (PangoFontFace *face);
0503 void (*list_sizes) (PangoFontFace *face,
0504 int **sizes,
0505 int *n_sizes);
0506 gboolean (*is_synthesized) (PangoFontFace *face);
0507 PangoFontFamily * (*get_family) (PangoFontFace *face);
0508
0509
0510
0511
0512 void (*_pango_reserved3) (void);
0513 void (*_pango_reserved4) (void);
0514 };
0515
0516 #endif
0517
0518 PANGO_AVAILABLE_IN_ALL
0519 GType pango_font_face_get_type (void) G_GNUC_CONST;
0520
0521 PANGO_AVAILABLE_IN_ALL
0522 PangoFontDescription *pango_font_face_describe (PangoFontFace *face);
0523 PANGO_AVAILABLE_IN_ALL
0524 const char *pango_font_face_get_face_name (PangoFontFace *face) G_GNUC_PURE;
0525 PANGO_AVAILABLE_IN_1_4
0526 void pango_font_face_list_sizes (PangoFontFace *face,
0527 int **sizes,
0528 int *n_sizes);
0529 PANGO_AVAILABLE_IN_1_18
0530 gboolean pango_font_face_is_synthesized (PangoFontFace *face) G_GNUC_PURE;
0531
0532 PANGO_AVAILABLE_IN_1_46
0533 PangoFontFamily * pango_font_face_get_family (PangoFontFace *face);
0534
0535
0536
0537
0538
0539
0540 #define PANGO_TYPE_FONT (pango_font_get_type ())
0541 #define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
0542 #define PANGO_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT))
0543 #define PANGO_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT, PangoFontClass))
0544 #define PANGO_IS_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT))
0545 #define PANGO_FONT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT, PangoFontClass))
0546
0547
0548 #ifndef PANGO_DISABLE_DEPRECATED
0549
0550
0551
0552
0553
0554
0555
0556 struct _PangoFont
0557 {
0558 GObject parent_instance;
0559 };
0560
0561 typedef struct _PangoFontClass PangoFontClass;
0562 struct _PangoFontClass
0563 {
0564 GObjectClass parent_class;
0565
0566
0567
0568 PangoFontDescription *(*describe) (PangoFont *font);
0569 PangoCoverage * (*get_coverage) (PangoFont *font,
0570 PangoLanguage *language);
0571 void (*get_glyph_extents) (PangoFont *font,
0572 PangoGlyph glyph,
0573 PangoRectangle *ink_rect,
0574 PangoRectangle *logical_rect);
0575 PangoFontMetrics * (*get_metrics) (PangoFont *font,
0576 PangoLanguage *language);
0577 PangoFontMap * (*get_font_map) (PangoFont *font);
0578 PangoFontDescription *(*describe_absolute) (PangoFont *font);
0579 void (*get_features) (PangoFont *font,
0580 hb_feature_t *features,
0581 guint len,
0582 guint *num_features);
0583 hb_font_t * (*create_hb_font) (PangoFont *font);
0584 };
0585
0586 #endif
0587
0588 PANGO_AVAILABLE_IN_ALL
0589 GType pango_font_get_type (void) G_GNUC_CONST;
0590
0591 PANGO_AVAILABLE_IN_ALL
0592 PangoFontDescription *pango_font_describe (PangoFont *font);
0593 PANGO_AVAILABLE_IN_1_14
0594 PangoFontDescription *pango_font_describe_with_absolute_size (PangoFont *font);
0595 PANGO_AVAILABLE_IN_ALL
0596 PangoCoverage * pango_font_get_coverage (PangoFont *font,
0597 PangoLanguage *language);
0598 #ifndef __GI_SCANNER__
0599 PANGO_DEPRECATED_IN_1_44
0600 PangoEngineShape * pango_font_find_shaper (PangoFont *font,
0601 PangoLanguage *language,
0602 guint32 ch);
0603 #endif
0604 PANGO_AVAILABLE_IN_ALL
0605 PangoFontMetrics * pango_font_get_metrics (PangoFont *font,
0606 PangoLanguage *language);
0607 PANGO_AVAILABLE_IN_ALL
0608 void pango_font_get_glyph_extents (PangoFont *font,
0609 PangoGlyph glyph,
0610 PangoRectangle *ink_rect,
0611 PangoRectangle *logical_rect);
0612 PANGO_AVAILABLE_IN_1_10
0613 PangoFontMap *pango_font_get_font_map (PangoFont *font);
0614
0615 PANGO_AVAILABLE_IN_1_46
0616 PangoFontFace * pango_font_get_face (PangoFont *font);
0617
0618 PANGO_AVAILABLE_IN_1_44
0619 gboolean pango_font_has_char (PangoFont *font,
0620 gunichar wc);
0621 PANGO_AVAILABLE_IN_1_44
0622 void pango_font_get_features (PangoFont *font,
0623 hb_feature_t *features,
0624 guint len,
0625 guint *num_features);
0626 PANGO_AVAILABLE_IN_1_44
0627 hb_font_t * pango_font_get_hb_font (PangoFont *font);
0628
0629 PANGO_AVAILABLE_IN_1_50
0630 PangoLanguage ** pango_font_get_languages (PangoFont *font);
0631
0632 PANGO_AVAILABLE_IN_1_50
0633 GBytes * pango_font_serialize (PangoFont *font);
0634
0635 PANGO_AVAILABLE_IN_1_50
0636 PangoFont * pango_font_deserialize (PangoContext *context,
0637 GBytes *bytes,
0638 GError **error);
0639
0640
0641
0642
0643
0644
0645
0646
0647
0648
0649
0650
0651
0652
0653
0654
0655
0656
0657
0658
0659
0660
0661
0662
0663
0664
0665
0666
0667
0668
0669
0670
0671
0672
0673
0674
0675
0676
0677
0678
0679
0680 #define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF)
0681 #define PANGO_GLYPH_INVALID_INPUT ((PangoGlyph)0xFFFFFFFF)
0682 #define PANGO_GLYPH_UNKNOWN_FLAG ((PangoGlyph)0x10000000)
0683 #define PANGO_GET_UNKNOWN_GLYPH(wc) ((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG)
0684
0685 #ifndef __GI_SCANNER__
0686 #ifndef PANGO_DISABLE_DEPRECATED
0687 #define PANGO_UNKNOWN_GLYPH_WIDTH 10
0688 #define PANGO_UNKNOWN_GLYPH_HEIGHT 14
0689 #endif
0690 #endif
0691
0692 G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFamily, g_object_unref)
0693 G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFace, g_object_unref)
0694 G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFont, g_object_unref)
0695 G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontDescription, pango_font_description_free)
0696
0697 G_END_DECLS
0698
0699 #endif