Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ft.h

Issue 1408003004: Roll harfbuzz-ng to 1.0.5 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2526
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-font-private.hh ('k') | third_party/harfbuzz-ng/src/hb-ft.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright © 2009 Red Hat, Inc. 2 * Copyright © 2009 Red Hat, Inc.
3 * Copyright © 2015 Google, Inc.
3 * 4 *
4 * This is part of HarfBuzz, a text shaping library. 5 * This is part of HarfBuzz, a text shaping library.
5 * 6 *
6 * Permission is hereby granted, without written agreement and without 7 * Permission is hereby granted, without written agreement and without
7 * license or royalty fees, to use, copy, modify, and distribute this 8 * license or royalty fees, to use, copy, modify, and distribute this
8 * software and its documentation for any purpose, provided that the 9 * software and its documentation for any purpose, provided that the
9 * above copyright notice and the following two paragraphs appear in 10 * above copyright notice and the following two paragraphs appear in
10 * all copies of this software. 11 * all copies of this software.
11 * 12 *
12 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR 13 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 14 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN 15 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 16 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16 * DAMAGE. 17 * DAMAGE.
17 * 18 *
18 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, 19 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 20 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS 21 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO 22 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 23 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23 * 24 *
24 * Red Hat Author(s): Behdad Esfahbod 25 * Red Hat Author(s): Behdad Esfahbod
26 * Google Author(s): Behdad Esfahbod
25 */ 27 */
26 28
27 #ifndef HB_FT_H 29 #ifndef HB_FT_H
28 #define HB_FT_H 30 #define HB_FT_H
29 31
30 #include "hb.h" 32 #include "hb.h"
31 33
32 #include <ft2build.h> 34 #include <ft2build.h>
33 #include FT_FREETYPE_H 35 #include FT_FREETYPE_H
34 36
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 * apply here. Use hb_ft_font_create_referenced() if you can. */ 100 * apply here. Use hb_ft_font_create_referenced() if you can. */
99 hb_font_t * 101 hb_font_t *
100 hb_ft_font_create (FT_Face ft_face, 102 hb_ft_font_create (FT_Face ft_face,
101 hb_destroy_func_t destroy); 103 hb_destroy_func_t destroy);
102 104
103 /* See notes on hb_ft_face_create_referenced() re lifecycle-management 105 /* See notes on hb_ft_face_create_referenced() re lifecycle-management
104 * issues. */ 106 * issues. */
105 hb_font_t * 107 hb_font_t *
106 hb_ft_font_create_referenced (FT_Face ft_face); 108 hb_ft_font_create_referenced (FT_Face ft_face);
107 109
110 FT_Face
111 hb_ft_font_get_face (hb_font_t *font);
112
113 void
114 hb_ft_font_set_load_flags (hb_font_t *font, int load_flags);
115
116 int
117 hb_ft_font_get_load_flags (hb_font_t *font);
108 118
109 /* Makes an hb_font_t use FreeType internally to implement font functions. */ 119 /* Makes an hb_font_t use FreeType internally to implement font functions. */
110 void 120 void
111 hb_ft_font_set_funcs (hb_font_t *font); 121 hb_ft_font_set_funcs (hb_font_t *font);
112 122
113 FT_Face
114 hb_ft_font_get_face (hb_font_t *font);
115
116 123
117 HB_END_DECLS 124 HB_END_DECLS
118 125
119 #endif /* HB_FT_H */ 126 #endif /* HB_FT_H */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-font-private.hh ('k') | third_party/harfbuzz-ng/src/hb-ft.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698