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

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

Issue 9223010: Update harfbuzz-ng to 1a5a91dc0d8bf4b72a2f22dc6300b06ad7000b79. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't use -M option for 'git diff' to patch correctly Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-font-private.hh ('k') | third_party/harfbuzz-ng/src/hb-ft.c » ('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 (C) 2009 Red Hat, Inc. 2 * Copyright © 2009 Red Hat, Inc.
3 * 3 *
4 * This is part of HarfBuzz, a text shaping library. 4 * This is part of HarfBuzz, a text shaping library.
5 * 5 *
6 * Permission is hereby granted, without written agreement and without 6 * Permission is hereby granted, without written agreement and without
7 * license or royalty fees, to use, copy, modify, and distribute this 7 * license or royalty fees, to use, copy, modify, and distribute this
8 * software and its documentation for any purpose, provided that the 8 * software and its documentation for any purpose, provided that the
9 * above copyright notice and the following two paragraphs appear in 9 * above copyright notice and the following two paragraphs appear in
10 * all copies of this software. 10 * all copies of this software.
11 * 11 *
12 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR 12 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
(...skipping 16 matching lines...) Expand all
29 29
30 #include "hb.h" 30 #include "hb.h"
31 31
32 #include "hb-font.h" 32 #include "hb-font.h"
33 33
34 #include <ft2build.h> 34 #include <ft2build.h>
35 #include FT_FREETYPE_H 35 #include FT_FREETYPE_H
36 36
37 HB_BEGIN_DECLS 37 HB_BEGIN_DECLS
38 38
39 39 /* Note: FreeType is not thread-safe. Hence, these functions are not either. */
40 hb_font_funcs_t *
41 hb_ft_get_font_funcs (void);
42 40
43 hb_face_t * 41 hb_face_t *
44 hb_ft_face_create (FT_Face ft_face, 42 hb_ft_face_create (FT_Face ft_face,
45 hb_destroy_func_t destroy); 43 hb_destroy_func_t destroy);
46 44
47 /* Note: This function is not thread-safe */
48 hb_face_t * 45 hb_face_t *
49 hb_ft_face_create_cached (FT_Face ft_face); 46 hb_ft_face_create_cached (FT_Face ft_face);
50 47
51 hb_font_t * 48 hb_font_t *
52 hb_ft_font_create (FT_Face ft_face, 49 hb_ft_font_create (FT_Face ft_face,
53 hb_destroy_func_t destroy); 50 hb_destroy_func_t destroy);
54 51
55 52
53
54 /* Makes an hb_font_t use FreeType internally to implement font functions. */
55 void
56 hb_ft_font_set_funcs (hb_font_t *font);
57
58 FT_Face
59 hb_ft_font_get_face (hb_font_t *font);
60
61
56 HB_END_DECLS 62 HB_END_DECLS
57 63
58 #endif /* HB_FT_H */ 64 #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.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698