[pango] [HB] Add buffer UTF-X API



commit 640709e6008ffcd9dc969aec71fcd717acbb8797
Author: Behdad Esfahbod <behdad behdad org>
Date:   Mon Aug 10 21:10:37 2009 -0400

    [HB] Add buffer UTF-X API

 pango/opentype/hb-buffer.h |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/pango/opentype/hb-buffer.h b/pango/opentype/hb-buffer.h
index 4240f6a..4804a87 100644
--- a/pango/opentype/hb-buffer.h
+++ b/pango/opentype/hb-buffer.h
@@ -111,6 +111,27 @@ hb_buffer_add_glyph (hb_buffer_t    *buffer,
 		     hb_mask_t       mask,
 		     unsigned int    cluster);
 
+void
+hb_buffer_add_utf8 (hb_buffer_t  *buffer,
+		    const char   *text,
+		    unsigned int  text_len,
+		    unsigned int  item_offset,
+		    unsigned int  item_len);
+
+void
+hb_buffer_add_utf16 (hb_buffer_t    *buffer,
+		     const uint16_t *text,
+		     unsigned int    text_len,
+		     unsigned int    item_offset,
+		     unsigned int    item_len);
+
+void
+hb_buffer_add_utf32 (hb_buffer_t    *buffer,
+		     const uint32_t *text,
+		     unsigned int    text_len,
+		     unsigned int    item_offset,
+		     unsigned int    item_len);
+
 
 /* Getting glyphs out of the buffer */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]