summaryrefslogtreecommitdiff
path: root/pango/pango-hbfont-private.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-24 23:00:58 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-07-04 11:17:21 -0400
commit778df432eb9bba4441d4c47cdbfbcd385b1e9d42 (patch)
tree39b66234cc325aafdddcebd76ec888d0cc099aaa /pango/pango-hbfont-private.h
parent249ce63ebb3d5666d5559184dd7c2c65e32695c2 (diff)
downloadpango-778df432eb9bba4441d4c47cdbfbcd385b1e9d42.tar.gz
Convert to the pango2 prefix
This makes pango 2 not just parallel-installable with pango 1.x, but parallel-usable in the same process.
Diffstat (limited to 'pango/pango-hbfont-private.h')
-rw-r--r--pango/pango-hbfont-private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-hbfont-private.h b/pango/pango-hbfont-private.h
index 6fef1a9c..6794357f 100644
--- a/pango/pango-hbfont-private.h
+++ b/pango/pango-hbfont-private.h
@@ -29,7 +29,7 @@
typedef struct _HexBoxInfo HexBoxInfo;
struct _HexBoxInfo
{
- PangoFont *font;
+ Pango2Font *font;
int rows;
double digit_width;
double digit_height;
@@ -40,9 +40,9 @@ struct _HexBoxInfo
double box_height;
};
-struct _PangoHbFont
+struct _Pango2HbFont
{
- PangoFont parent_instance;
+ Pango2Font parent_instance;
hb_feature_t *features;
unsigned int n_features;
@@ -50,7 +50,7 @@ struct _PangoHbFont
unsigned int n_variations;
HexBoxInfo *hex_box_info;
- PangoLanguage *approximate_char_lang;
+ Pango2Language *approximate_char_lang;
int approximate_char_width;
int approximate_digit_width;
};