hb-buffer-private.hh revision 2f87cebe1062c7007021ebd05c1664e60da80825
1a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod/* 22409d5f8d7dd8b535ce5ea29e933f7db27d33793Behdad Esfahbod * Copyright © 1998-2004 David Turner and Werner Lemberg 32409d5f8d7dd8b535ce5ea29e933f7db27d33793Behdad Esfahbod * Copyright © 2004,2007,2009,2010 Red Hat, Inc. 4468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod * Copyright © 2011 Google, Inc. 56b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * 68f0d7e0c3fd4b05c43ac449be4f374dc2dc56127Behdad Esfahbod * This is part of HarfBuzz, a text shaping library. 76b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * 8a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * Permission is hereby granted, without written agreement and without 9a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * license or royalty fees, to use, copy, modify, and distribute this 10a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * software and its documentation for any purpose, provided that the 11a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * above copyright notice and the following two paragraphs appear in 12a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * all copies of this software. 136b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod * 14a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR 15a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 16a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN 17a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 18a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * DAMAGE. 19a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * 20a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, 21a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 22a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 23a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 24a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 25a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * 26a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod * Red Hat Author(s): Owen Taylor, Behdad Esfahbod 27468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod * Google Author(s): Behdad Esfahbod 286b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod */ 29a2a9a023f6472ba262f89e5327318996b8258d25Behdad Esfahbod 30da8edbb62204dc39f93d500ef85929e234e0bd19Behdad Esfahbod#ifndef HB_BUFFER_PRIVATE_HH 31da8edbb62204dc39f93d500ef85929e234e0bd19Behdad Esfahbod#define HB_BUFFER_PRIVATE_HH 326b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 33c57d454accff66e5f2c58006e8fb40bc020b6182Behdad Esfahbod#include "hb-private.hh" 345c0adce1ccc739415c4b26ff13ffd2d77ea4bc6cBehdad Esfahbod#include "hb-buffer.h" 35fca368c4682624346a0aaee690e1ad6ed4c0b337Behdad Esfahbod#include "hb-object-private.hh" 36fb194b8794898f51eb596fa4092c26606889d376Behdad Esfahbod#include "hb-unicode-private.hh" 376b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 386b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 39acdba3f90b232fc12fcb200dca2584481b339118Behdad Esfahbod 4088474c6fdaf35c56368694a5b164f4988a004d49Behdad EsfahbodASSERT_STATIC (sizeof (hb_glyph_info_t) == 20); 41f1322e52d557726baa010be8d35a594748e8fa1aBehdad EsfahbodASSERT_STATIC (sizeof (hb_glyph_info_t) == sizeof (hb_glyph_position_t)); 42f1322e52d557726baa010be8d35a594748e8fa1aBehdad Esfahbod 432f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod 442f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod/* 452f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod * hb_segment_properties_t 462f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod */ 472f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod 481bc1cb3603167f5da309336f7018c8b0608ac104Behdad Esfahbodtypedef struct hb_segment_properties_t { 49a7c5046d6b676a32298b97403a49235f7f255161Behdad Esfahbod hb_direction_t direction; 50a7c5046d6b676a32298b97403a49235f7f255161Behdad Esfahbod hb_script_t script; 51a7c5046d6b676a32298b97403a49235f7f255161Behdad Esfahbod hb_language_t language; 526220e5fc0dad728e67a92e838d3ac275d032f2c7Behdad Esfahbod ASSERT_POD (); 53a7c5046d6b676a32298b97403a49235f7f255161Behdad Esfahbod} hb_segment_properties_t; 542f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod 55ea278d3895fe0c92801d692cd71d8d9f1de7c048Behdad Esfahbod#define _HB_BUFFER_PROPS_DEFAULT { HB_DIRECTION_INVALID, HB_SCRIPT_INVALID, HB_LANGUAGE_INVALID } 56a7c5046d6b676a32298b97403a49235f7f255161Behdad Esfahbod 572f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbodstatic inline hb_bool_t 582f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbodhb_segment_properties_equal (const hb_segment_properties_t *a, 592f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod const hb_segment_properties_t *b) 602f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod{ 612f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod return a->direction == b->direction && 622f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod a->script == b->script && 632f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod a->language == b->language; 642f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod} 652f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod 662f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod 672f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbodstatic inline long 682f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbodhb_segment_properties_hash (const hb_segment_properties_t *p) 692f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod{ 702f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod /* TODO improve */ 712f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod return (long) p->direction + 722f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod (long) p->script + 732f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod (long) p->language; 742f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod} 752f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod 762f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod 772f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod 782f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod/* 792f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod * hb_buffer_t 802f87cebe1062c7007021ebd05c1664e60da80825Behdad Esfahbod */ 81f1322e52d557726baa010be8d35a594748e8fa1aBehdad Esfahbod 821bc1cb3603167f5da309336f7018c8b0608ac104Behdad Esfahbodstruct hb_buffer_t { 83fca368c4682624346a0aaee690e1ad6ed4c0b337Behdad Esfahbod hb_object_header_t header; 846220e5fc0dad728e67a92e838d3ac275d032f2c7Behdad Esfahbod ASSERT_POD (); 85d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod 86d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod /* Information about how the text in the buffer should be treated */ 874e4ef24e46f273ad2bdda2f718223e05b37dd50fBehdad Esfahbod 88a7c5046d6b676a32298b97403a49235f7f255161Behdad Esfahbod hb_unicode_funcs_t *unicode; /* Unicode functions */ 89a7c5046d6b676a32298b97403a49235f7f255161Behdad Esfahbod hb_segment_properties_t props; /* Script, language, direction */ 90d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod 91d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod /* Buffer contents */ 92d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod 93e0db4b868f9fdd8e680890f87dd4e13a1c27b7a1Behdad Esfahbod bool in_error; /* Allocation failed */ 94fca368c4682624346a0aaee690e1ad6ed4c0b337Behdad Esfahbod bool have_output; /* Whether we have an output buffer going on */ 95fca368c4682624346a0aaee690e1ad6ed4c0b337Behdad Esfahbod bool have_positions; /* Whether we have positions */ 96910a33fe8457a8e13f7eb77fc92fa59c31f5e8fdBehdad Esfahbod 97468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod unsigned int idx; /* Cursor into ->info and ->pos arrays */ 98910a33fe8457a8e13f7eb77fc92fa59c31f5e8fdBehdad Esfahbod unsigned int len; /* Length of ->info and ->pos arrays */ 99cc1a8a938b4c13e76b58825a9e1951c4134e634aBehdad Esfahbod unsigned int out_len; /* Length of ->out array if have_output */ 100d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod 101c0af193c8e25c4f11d23b8893e9ce1c2d2615bb2Behdad Esfahbod unsigned int allocated; /* Length of allocated arrays */ 10288474c6fdaf35c56368694a5b164f4988a004d49Behdad Esfahbod hb_glyph_info_t *info; 10388474c6fdaf35c56368694a5b164f4988a004d49Behdad Esfahbod hb_glyph_info_t *out_info; 10488474c6fdaf35c56368694a5b164f4988a004d49Behdad Esfahbod hb_glyph_position_t *pos; 105d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod 10699c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod inline hb_glyph_info_t &cur (unsigned int i = 0) { return info[idx + i]; } 10799c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod inline hb_glyph_info_t cur (unsigned int i = 0) const { return info[idx + i]; } 10899c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod 10999c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod inline hb_glyph_position_t &cur_pos (unsigned int i = 0) { return pos[idx + i]; } 11099c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod inline hb_glyph_position_t cur_pos (unsigned int i = 0) const { return pos[idx + i]; } 11199c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod 11299c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod inline hb_glyph_info_t &prev (void) { return out_info[out_len - 1]; } 11399c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod inline hb_glyph_info_t prev (void) const { return info[out_len - 1]; } 11499c2695759a6af855d565f4994bbdf220570bb48Behdad Esfahbod 115f4a579bc42fb811ff5c391a0e97b7d8656ef59b1Behdad Esfahbod unsigned int serial; 116f4a579bc42fb811ff5c391a0e97b7d8656ef59b1Behdad Esfahbod uint8_t allocated_var_bytes[8]; 117f4a579bc42fb811ff5c391a0e97b7d8656ef59b1Behdad Esfahbod const char *allocated_var_owner[8]; 118f4a579bc42fb811ff5c391a0e97b7d8656ef59b1Behdad Esfahbod 119d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod 120d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod /* Methods */ 121468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod 122468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void reset (void); 123468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod 124cc1a8a938b4c13e76b58825a9e1951c4134e634aBehdad Esfahbod inline unsigned int backtrack_len (void) const 125468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod { return have_output? out_len : idx; } 126dbf56b1d94910f04823e53e39ace1e5145bddc04Behdad Esfahbod inline unsigned int next_serial (void) { return serial++; } 127468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod 128f4a579bc42fb811ff5c391a0e97b7d8656ef59b1Behdad Esfahbod HB_INTERNAL void allocate_var (unsigned int byte_i, unsigned int count, const char *owner); 129f4a579bc42fb811ff5c391a0e97b7d8656ef59b1Behdad Esfahbod HB_INTERNAL void deallocate_var (unsigned int byte_i, unsigned int count, const char *owner); 130a9ad3d3460ba863a8d8f3766ccbeab288c3c6822Behdad Esfahbod HB_INTERNAL void deallocate_var_all (void); 131f4a579bc42fb811ff5c391a0e97b7d8656ef59b1Behdad Esfahbod 132468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void add (hb_codepoint_t codepoint, 133468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod hb_mask_t mask, 134468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod unsigned int cluster); 135468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod 136468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void reverse_range (unsigned int start, unsigned int end); 137468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void reverse (void); 138468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void reverse_clusters (void); 13902aeca985b570763342c35e99af90025bfa088d5Behdad Esfahbod HB_INTERNAL void guess_properties (void); 140468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod 141468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void swap_buffers (void); 142468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void clear_output (void); 143468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void clear_positions (void); 1449ebe8c0286856d46430ae184ba7303bd34485883Behdad Esfahbod HB_INTERNAL void replace_glyphs (unsigned int num_in, 1459ebe8c0286856d46430ae184ba7303bd34485883Behdad Esfahbod unsigned int num_out, 1468e3715f8a16b315c1c7dd4b256e7f68a36c53e7cBehdad Esfahbod const hb_codepoint_t *glyph_data); 147468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void replace_glyph (hb_codepoint_t glyph_index); 148468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod /* Makes a copy of the glyph at idx to output and replace glyph_index */ 149468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void output_glyph (hb_codepoint_t glyph_index); 150468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod /* Copies glyph at idx to output but doesn't advance idx */ 151468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void copy_glyph (void); 152468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod /* Copies glyph at idx to output and advance idx. 153468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod * If there's no output, just advance idx. */ 154468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void next_glyph (void); 155468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod /* Advance idx without copying to output. */ 156468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod inline void skip_glyph (void) { idx++; } 1571ce7b87c4d8d1ab3ec1d5198351d71b7199f7c64Behdad Esfahbod 158bd7378b2ef9793de4e7f57b920f29f48ac9d0c25Behdad Esfahbod inline void reset_masks (hb_mask_t mask) 159bd7378b2ef9793de4e7f57b920f29f48ac9d0c25Behdad Esfahbod { 16031f18abecb149f8888a72510f2660328dd6de16dBehdad Esfahbod for (unsigned int j = 0; j < len; j++) 16131f18abecb149f8888a72510f2660328dd6de16dBehdad Esfahbod info[j].mask = mask; 162bd7378b2ef9793de4e7f57b920f29f48ac9d0c25Behdad Esfahbod } 163bd7378b2ef9793de4e7f57b920f29f48ac9d0c25Behdad Esfahbod inline void add_masks (hb_mask_t mask) 164bd7378b2ef9793de4e7f57b920f29f48ac9d0c25Behdad Esfahbod { 16531f18abecb149f8888a72510f2660328dd6de16dBehdad Esfahbod for (unsigned int j = 0; j < len; j++) 16631f18abecb149f8888a72510f2660328dd6de16dBehdad Esfahbod info[j].mask |= mask; 167bd7378b2ef9793de4e7f57b920f29f48ac9d0c25Behdad Esfahbod } 168468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL void set_masks (hb_mask_t value, 169468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod hb_mask_t mask, 170468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod unsigned int cluster_start, 171468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod unsigned int cluster_end); 172468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod 173d4cc44716c1e098f8abbc0e495404598026ef242Behdad Esfahbod HB_INTERNAL void merge_clusters (unsigned int start, 174d4cc44716c1e098f8abbc0e495404598026ef242Behdad Esfahbod unsigned int end); 175d4cc44716c1e098f8abbc0e495404598026ef242Behdad Esfahbod HB_INTERNAL void merge_out_clusters (unsigned int start, 176d4cc44716c1e098f8abbc0e495404598026ef242Behdad Esfahbod unsigned int end); 177d4cc44716c1e098f8abbc0e495404598026ef242Behdad Esfahbod 178468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod /* Internal methods */ 179468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL bool enlarge (unsigned int size); 180468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod 181468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod inline bool ensure (unsigned int size) 182d16ccc4ae7aa8be460881042413fa2637929fedeBehdad Esfahbod { return likely (size < allocated) ? true : enlarge (size); } 183468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod 184468e9cb25c9bc14781b7013e447d763f93bf76a3Behdad Esfahbod HB_INTERNAL bool make_room_for (unsigned int num_in, unsigned int num_out); 185e62df43649e31b7815c272f01808b3f726c7d07dBehdad Esfahbod 186e62df43649e31b7815c272f01808b3f726c7d07dBehdad Esfahbod HB_INTERNAL void *get_scratch_buffer (unsigned int *size); 187d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod}; 188d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod 189d0316a81f59a4e814b0af78797d915d7ce04d119Behdad Esfahbod 190b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod#define HB_BUFFER_XALLOCATE_VAR(b, func, var, owner) \ 191b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod b->func (offsetof (hb_glyph_info_t, var) - offsetof(hb_glyph_info_t, var1), \ 192b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod sizeof (b->info[0].var), owner) 193b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod#define HB_BUFFER_ALLOCATE_VAR(b, var) \ 194b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod HB_BUFFER_XALLOCATE_VAR (b, allocate_var, var (), #var) 195b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod#define HB_BUFFER_DEALLOCATE_VAR(b, var) \ 196b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod HB_BUFFER_XALLOCATE_VAR (b, deallocate_var, var (), #var) 197b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod 198b65c06025d2b54a44f716e030d4b10072c65bea8Behdad Esfahbod 1996b347138b597c41af24453f630336ba2fc033dc5Behdad Esfahbod 200da8edbb62204dc39f93d500ef85929e234e0bd19Behdad Esfahbod#endif /* HB_BUFFER_PRIVATE_HH */ 201