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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-font-private.hh

Issue 10510004: Roll harfbuzz-ng 3b8fd9c48f4bde368bf2d465c148b9743a9216ee (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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.cc ('k') | third_party/harfbuzz-ng/src/hb-ft.h » ('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 © 2011 Google, Inc. 3 * Copyright © 2011 Google, Inc.
4 * 4 *
5 * This is part of HarfBuzz, a text shaping library. 5 * This is part of HarfBuzz, a text shaping library.
6 * 6 *
7 * Permission is hereby granted, without written agreement and without 7 * Permission is hereby granted, without written agreement and without
8 * license or royalty fees, to use, copy, modify, and distribute this 8 * license or royalty fees, to use, copy, modify, and distribute this
9 * software and its documentation for any purpose, provided that the 9 * software and its documentation for any purpose, provided that the
10 * above copyright notice and the following two paragraphs appear in 10 * above copyright notice and the following two paragraphs appear in
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #define HB_FONT_FUNCS_IMPLEMENT_CALLBACKS \ 43 #define HB_FONT_FUNCS_IMPLEMENT_CALLBACKS \
44 HB_FONT_FUNC_IMPLEMENT (glyph) \ 44 HB_FONT_FUNC_IMPLEMENT (glyph) \
45 HB_FONT_FUNC_IMPLEMENT (glyph_h_advance) \ 45 HB_FONT_FUNC_IMPLEMENT (glyph_h_advance) \
46 HB_FONT_FUNC_IMPLEMENT (glyph_v_advance) \ 46 HB_FONT_FUNC_IMPLEMENT (glyph_v_advance) \
47 HB_FONT_FUNC_IMPLEMENT (glyph_h_origin) \ 47 HB_FONT_FUNC_IMPLEMENT (glyph_h_origin) \
48 HB_FONT_FUNC_IMPLEMENT (glyph_v_origin) \ 48 HB_FONT_FUNC_IMPLEMENT (glyph_v_origin) \
49 HB_FONT_FUNC_IMPLEMENT (glyph_h_kerning) \ 49 HB_FONT_FUNC_IMPLEMENT (glyph_h_kerning) \
50 HB_FONT_FUNC_IMPLEMENT (glyph_v_kerning) \ 50 HB_FONT_FUNC_IMPLEMENT (glyph_v_kerning) \
51 HB_FONT_FUNC_IMPLEMENT (glyph_extents) \ 51 HB_FONT_FUNC_IMPLEMENT (glyph_extents) \
52 HB_FONT_FUNC_IMPLEMENT (glyph_contour_point) \ 52 HB_FONT_FUNC_IMPLEMENT (glyph_contour_point) \
53 HB_FONT_FUNC_IMPLEMENT (glyph_name) \
54 HB_FONT_FUNC_IMPLEMENT (glyph_from_name) \
53 /* ^--- Add new callbacks here */ 55 /* ^--- Add new callbacks here */
54 56
55 struct _hb_font_funcs_t { 57 struct _hb_font_funcs_t {
56 hb_object_header_t header; 58 hb_object_header_t header;
57 59
58 hb_bool_t immutable; 60 hb_bool_t immutable;
59 61
60 /* Don't access these directly. Call hb_font_get_*() instead. */ 62 /* Don't access these directly. Call hb_font_get_*() instead. */
61 63
62 struct { 64 struct {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 } 156 }
155 157
156 158
157 private: 159 private:
158 inline hb_position_t em_scale (int16_t v, int scale) { return v * (int64_t) sc ale / hb_face_get_upem (this->face); } 160 inline hb_position_t em_scale (int16_t v, int scale) { return v * (int64_t) sc ale / hb_face_get_upem (this->face); }
159 }; 161 };
160 162
161 163
162 164
163 #endif /* HB_FONT_PRIVATE_HH */ 165 #endif /* HB_FONT_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-font.cc ('k') | third_party/harfbuzz-ng/src/hb-ft.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698