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

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

Issue 1580513002: Roll HarfBuzz to 1.1.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix Created 4 years, 11 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-set.h ('k') | third_party/harfbuzz-ng/src/hb-shape.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 © 2012 Google, Inc. 3 * Copyright © 2012 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 29 matching lines...) Expand all
40 HB_BEGIN_DECLS 40 HB_BEGIN_DECLS
41 41
42 42
43 typedef struct hb_feature_t { 43 typedef struct hb_feature_t {
44 hb_tag_t tag; 44 hb_tag_t tag;
45 uint32_t value; 45 uint32_t value;
46 unsigned int start; 46 unsigned int start;
47 unsigned int end; 47 unsigned int end;
48 } hb_feature_t; 48 } hb_feature_t;
49 49
50 hb_bool_t 50 HB_EXTERN hb_bool_t
51 hb_feature_from_string (const char *str, int len, 51 hb_feature_from_string (const char *str, int len,
52 hb_feature_t *feature); 52 hb_feature_t *feature);
53 53
54 void 54 HB_EXTERN void
55 hb_feature_to_string (hb_feature_t *feature, 55 hb_feature_to_string (hb_feature_t *feature,
56 char *buf, unsigned int size); 56 char *buf, unsigned int size);
57 57
58 58
59 void 59 HB_EXTERN void
60 hb_shape (hb_font_t *font, 60 hb_shape (hb_font_t *font,
61 hb_buffer_t *buffer, 61 hb_buffer_t *buffer,
62 const hb_feature_t *features, 62 const hb_feature_t *features,
63 unsigned int num_features); 63 unsigned int num_features);
64 64
65 hb_bool_t 65 HB_EXTERN hb_bool_t
66 hb_shape_full (hb_font_t *font, 66 hb_shape_full (hb_font_t *font,
67 hb_buffer_t *buffer, 67 hb_buffer_t *buffer,
68 const hb_feature_t *features, 68 const hb_feature_t *features,
69 unsigned int num_features, 69 unsigned int num_features,
70 const char * const *shaper_list); 70 const char * const *shaper_list);
71 71
72 const char ** 72 HB_EXTERN const char **
73 hb_shape_list_shapers (void); 73 hb_shape_list_shapers (void);
74 74
75 75
76 HB_END_DECLS 76 HB_END_DECLS
77 77
78 #endif /* HB_SHAPE_H */ 78 #endif /* HB_SHAPE_H */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-set.h ('k') | third_party/harfbuzz-ng/src/hb-shape.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698