OLD | NEW |
1 /* | 1 /* |
2 * Copyright © 1998-2004 David Turner and Werner Lemberg | 2 * Copyright © 1998-2004 David Turner and Werner Lemberg |
3 * Copyright © 2004,2007,2009 Red Hat, Inc. | 3 * Copyright © 2004,2007,2009 Red Hat, Inc. |
4 * Copyright © 2011 Google, Inc. | 4 * Copyright © 2011 Google, Inc. |
5 * | 5 * |
6 * This is part of HarfBuzz, a text shaping library. | 6 * This is part of HarfBuzz, a text shaping library. |
7 * | 7 * |
8 * Permission is hereby granted, without written agreement and without | 8 * Permission is hereby granted, without written agreement and without |
9 * license or royalty fees, to use, copy, modify, and distribute this | 9 * license or royalty fees, to use, copy, modify, and distribute this |
10 * software and its documentation for any purpose, provided that the | 10 * software and its documentation for any purpose, provided that the |
11 * above copyright notice and the following two paragraphs appear in | 11 * above copyright notice and the following two paragraphs appear in |
12 * all copies of this software. | 12 * all copies of this software. |
13 * | 13 * |
14 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR | 14 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR |
15 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES | 15 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES |
16 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN | 16 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN |
17 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH | 17 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
18 * DAMAGE. | 18 * DAMAGE. |
19 * | 19 * |
20 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, | 20 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, |
21 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | 21 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND |
22 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS | 22 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS |
23 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO | 23 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO |
24 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 24 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
25 * | 25 * |
26 * Red Hat Author(s): Owen Taylor, Behdad Esfahbod | 26 * Red Hat Author(s): Owen Taylor, Behdad Esfahbod |
27 * Google Author(s): Behdad Esfahbod | 27 * Google Author(s): Behdad Esfahbod |
28 */ | 28 */ |
29 | 29 |
| 30 #ifndef HB_H_IN |
| 31 #error "Include <hb.h> instead." |
| 32 #endif |
| 33 |
30 #ifndef HB_BUFFER_H | 34 #ifndef HB_BUFFER_H |
31 #define HB_BUFFER_H | 35 #define HB_BUFFER_H |
32 | 36 |
33 #include "hb-common.h" | 37 #include "hb-common.h" |
34 #include "hb-unicode.h" | 38 #include "hb-unicode.h" |
35 | 39 |
36 HB_BEGIN_DECLS | 40 HB_BEGIN_DECLS |
37 | 41 |
38 | 42 |
39 typedef struct _hb_buffer_t hb_buffer_t; | 43 typedef struct _hb_buffer_t hb_buffer_t; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 189 |
186 /* Return value valid as long as buffer not modified */ | 190 /* Return value valid as long as buffer not modified */ |
187 hb_glyph_position_t * | 191 hb_glyph_position_t * |
188 hb_buffer_get_glyph_positions (hb_buffer_t *buffer, | 192 hb_buffer_get_glyph_positions (hb_buffer_t *buffer, |
189 unsigned int *length); | 193 unsigned int *length); |
190 | 194 |
191 | 195 |
192 HB_END_DECLS | 196 HB_END_DECLS |
193 | 197 |
194 #endif /* HB_BUFFER_H */ | 198 #endif /* HB_BUFFER_H */ |
OLD | NEW |