| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2013 Google, Inc. | 2 * Copyright © 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 { return scriptList.find_index (tag, index); } | 207 { return scriptList.find_index (tag, index); } |
| 208 | 208 |
| 209 inline bool sanitize (hb_sanitize_context_t *c) { | 209 inline bool sanitize (hb_sanitize_context_t *c) { |
| 210 TRACE_SANITIZE (this); | 210 TRACE_SANITIZE (this); |
| 211 return TRACE_RETURN (version.sanitize (c) && likely (version.major == 1) && | 211 return TRACE_RETURN (version.sanitize (c) && likely (version.major == 1) && |
| 212 scriptList.sanitize (c, this)); | 212 scriptList.sanitize (c, this)); |
| 213 } | 213 } |
| 214 | 214 |
| 215 protected: | 215 protected: |
| 216 FixedVersion version; /* Version of the JSTF table--initially set | 216 FixedVersion version; /* Version of the JSTF table--initially set |
| 217 » » » » * to 0x00010000 */ | 217 » » » » * to 0x00010000u */ |
| 218 RecordArrayOf<JstfScript> | 218 RecordArrayOf<JstfScript> |
| 219 scriptList; /* Array of JstfScripts--listed | 219 scriptList; /* Array of JstfScripts--listed |
| 220 * alphabetically by ScriptTag */ | 220 * alphabetically by ScriptTag */ |
| 221 public: | 221 public: |
| 222 DEFINE_SIZE_ARRAY (6, scriptList); | 222 DEFINE_SIZE_ARRAY (6, scriptList); |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 | 225 |
| 226 } /* namespace OT */ | 226 } /* namespace OT */ |
| 227 | 227 |
| 228 | 228 |
| 229 #endif /* HB_OT_LAYOUT_JSTF_TABLE_HH */ | 229 #endif /* HB_OT_LAYOUT_JSTF_TABLE_HH */ |
| OLD | NEW |