summaryrefslogtreecommitdiff
path: root/pango/pangowin32-private.h
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2019-07-27 13:45:00 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-27 13:45:00 +0000
commit0673d8017dcd0f0e9ce5ec98e8f34f6582ca56fc (patch)
tree5f44ce4fc272fb492cce632dce2c6568ff46d88f /pango/pangowin32-private.h
parent70965b54ca6d27fe4635c39587cfb951c3657830 (diff)
downloadpango-0673d8017dcd0f0e9ce5ec98e8f34f6582ca56fc.tar.gz
PangoWin32: Use hb_font_get_nominal_glyph
Use hb_font_get_nominal_glyph in pango_win32_font_get_glyph_index (deprecated), to better match what Pango is actually using internally.
Diffstat (limited to 'pango/pangowin32-private.h')
-rw-r--r--pango/pangowin32-private.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/pango/pangowin32-private.h b/pango/pangowin32-private.h
index 72befca8..9d9a0a73 100644
--- a/pango/pangowin32-private.h
+++ b/pango/pangowin32-private.h
@@ -57,17 +57,6 @@
#include "pango-fontset-private.h"
#include "pango-fontmap-private.h"
-typedef enum
- {
- PANGO_WIN32_COVERAGE_UNSPEC,
- PANGO_WIN32_COVERAGE_ZH_TW,
- PANGO_WIN32_COVERAGE_ZH_CN,
- PANGO_WIN32_COVERAGE_JA,
- PANGO_WIN32_COVERAGE_KO,
- PANGO_WIN32_COVERAGE_VI,
- PANGO_WIN32_N_COVERAGES
- } PangoWin32CoverageLanguageClass;
-
#define PANGO_TYPE_WIN32_FONT_MAP (_pango_win32_font_map_get_type ())
#define PANGO_WIN32_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_WIN32_FONT_MAP, PangoWin32FontMap))
#define PANGO_WIN32_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_WIN32_FONT_MAP))
@@ -166,7 +155,7 @@ struct _PangoWin32Face
LOGFONTW logfontw;
PangoFontDescription *description;
- PangoCoverage *coverages[PANGO_WIN32_N_COVERAGES];
+ PangoCoverage *coverage;
char *face_name;
gboolean is_synthetic;
@@ -280,14 +269,6 @@ void _pango_win32_fontmap_cache_remove (PangoFontMap *fontmap,
PangoWin32Font *xfont);
_PANGO_EXTERN
-gboolean _pango_win32_get_name_header (HDC hdc,
- struct name_header *header);
-_PANGO_EXTERN
-gboolean _pango_win32_get_name_record (HDC hdc,
- gint i,
- struct name_record *record);
-
-_PANGO_EXTERN
HFONT _pango_win32_font_get_hfont (PangoFont *font);
extern HDC _pango_win32_hdc;