summaryrefslogtreecommitdiff
path: root/pango/pango-coverage.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-07-21 13:59:36 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-07-21 13:59:36 +0000
commita084f42c0e920e2ac91383b8d98ff54f339d17ac (patch)
treecd2ae4cd9d49439019d4dddda005c02523d26c89 /pango/pango-coverage.h
parent1f53784fdae609da25c593d9b99ba830c6513298 (diff)
downloadpango-a084f42c0e920e2ac91383b8d98ff54f339d17ac.tar.gz
Free buffer strings.
Fri Jul 21 09:59:10 2000 Owen Taylor <otaylor@redhat.com> * pango/modules.c (process_module_file): Free buffer strings. * pango/pangox-fontmap.c (pango_x_real_get_coverage_win): Add caching of coverage maps on a persistant subwindow of the root window. This window contains a property for each "lang|xlfd,xlfd" which is the result of pango_coverage_to_bytes. * pango/pango-context.c (pango_context_finalize): Free the font description. * pango/pango-coverage.c (pango_coverage_to/from_bytes): Added functions to covert a PangoCoverage structure too and from a flat block of bytes. * configure.in (X_LIBS): Add a check to detect fribidi being compiled against glib-1.2.x.
Diffstat (limited to 'pango/pango-coverage.h')
-rw-r--r--pango/pango-coverage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-coverage.h b/pango/pango-coverage.h
index d51c4bc0..a10eb4cb 100644
--- a/pango/pango-coverage.h
+++ b/pango/pango-coverage.h
@@ -49,6 +49,12 @@ void pango_coverage_set (PangoCoverage *coverage,
void pango_coverage_max (PangoCoverage *coverage,
PangoCoverage *other);
+void pango_coverage_to_bytes (PangoCoverage *coverage,
+ guchar **bytes,
+ int *n_bytes);
+PangoCoverage *pango_coverage_from_bytes (guchar *bytes,
+ int n_bytes);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
@@ -56,3 +62,5 @@ void pango_coverage_max (PangoCoverage *coverage,
#endif /* __PANGO_COVERAGE_H__ */
+
+