summaryrefslogtreecommitdiff
path: root/pango/pango-coverage.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-11 18:10:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-07-11 22:04:18 -0400
commit3e65090bef37843dc0d85c10cb2864925c2fb718 (patch)
treebb321b56b4b4da279faeebee5557cf427c131b73 /pango/pango-coverage.h
parenta5409723af5d4b71f6d82288310e0e99020ad7c2 (diff)
downloadpango-3e65090bef37843dc0d85c10cb2864925c2fb718.tar.gz
Reimplement PangoCoverage on top of hb_set_t
This drops the language dependency and coverage levels, both of which are not used in pango.
Diffstat (limited to 'pango/pango-coverage.h')
-rw-r--r--pango/pango-coverage.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/pango/pango-coverage.h b/pango/pango-coverage.h
index b83d5108..e46f34d1 100644
--- a/pango/pango-coverage.h
+++ b/pango/pango-coverage.h
@@ -25,6 +25,7 @@
#include <glib.h>
#include <pango/pango-version-macros.h>
+#include <harfbuzz/hb.h>
G_BEGIN_DECLS
@@ -50,6 +51,9 @@ typedef struct _PangoCoverage PangoCoverage;
*
* Used to indicate how well a font can represent a particular Unicode
* character point for a particular script.
+ *
+ * Since 1.44, only %PANGO_COVERAGE_NONE and %PANGO_COVERAGE_EXACT
+ * will be returned.
*/
typedef enum {
PANGO_COVERAGE_NONE,
@@ -73,15 +77,15 @@ PANGO_AVAILABLE_IN_ALL
void pango_coverage_set (PangoCoverage *coverage,
int index_,
PangoCoverageLevel level);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED_IN_1_44
void pango_coverage_max (PangoCoverage *coverage,
PangoCoverage *other);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED_IN_1_44
void pango_coverage_to_bytes (PangoCoverage *coverage,
guchar **bytes,
int *n_bytes);
-PANGO_AVAILABLE_IN_ALL
+PANGO_DEPRECATED_IN_1_44
PangoCoverage *pango_coverage_from_bytes (guchar *bytes,
int n_bytes);