summaryrefslogtreecommitdiff
path: root/src/hb-buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/hb-buffer.cc')
-rw-r--r--src/hb-buffer.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc
index 3f039d0e..f25a8bca 100644
--- a/src/hb-buffer.cc
+++ b/src/hb-buffer.cc
@@ -268,6 +268,16 @@ hb_buffer_t::output_glyph (hb_codepoint_t glyph_index)
}
void
+hb_buffer_t::output_info (hb_glyph_info_t &glyph_info)
+{
+ if (unlikely (!make_room_for (0, 1))) return;
+
+ out_info[out_len] = glyph_info;
+
+ out_len++;
+}
+
+void
hb_buffer_t::copy_glyph (void)
{
if (unlikely (!make_room_for (0, 1))) return;