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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-buffer-serialize.cc

Issue 396393005: Roll HarfBuzz to 0.9.32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for include order presubmit issue Created 6 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright © 2012,2013 Google, Inc. 2 * Copyright © 2012,2013 Google, 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.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 * 56 *
57 * 57 *
58 * Return value: 58 * Return value:
59 * 59 *
60 * Since: 1.0 60 * Since: 1.0
61 **/ 61 **/
62 hb_buffer_serialize_format_t 62 hb_buffer_serialize_format_t
63 hb_buffer_serialize_format_from_string (const char *str, int len) 63 hb_buffer_serialize_format_from_string (const char *str, int len)
64 { 64 {
65 /* Upper-case it. */ 65 /* Upper-case it. */
66 return (hb_buffer_serialize_format_t) (hb_tag_from_string (str, len) & ~0x2020 2020); 66 return (hb_buffer_serialize_format_t) (hb_tag_from_string (str, len) & ~0x2020 2020u);
67 } 67 }
68 68
69 /** 69 /**
70 * hb_buffer_serialize_format_to_string: 70 * hb_buffer_serialize_format_to_string:
71 * @format: 71 * @format:
72 * 72 *
73 * 73 *
74 * 74 *
75 * Return value: 75 * Return value:
76 * 76 *
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 return _hb_buffer_deserialize_glyphs_json (buffer, 390 return _hb_buffer_deserialize_glyphs_json (buffer,
391 buf, buf_len, end_ptr, 391 buf, buf_len, end_ptr,
392 font); 392 font);
393 393
394 default: 394 default:
395 case HB_BUFFER_SERIALIZE_FORMAT_INVALID: 395 case HB_BUFFER_SERIALIZE_FORMAT_INVALID:
396 return false; 396 return false;
397 397
398 } 398 }
399 } 399 }
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-buffer-private.hh ('k') | third_party/harfbuzz-ng/src/hb-common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698