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

Side by Side Diff: third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh

Issue 205003003: Update harfbuzz-ng to 0.9.27 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: w/missing files Created 6 years, 9 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 © 2007,2008,2009 Red Hat, Inc. 2 * Copyright © 2007,2008,2009 Red Hat, Inc.
3 * Copyright © 2010,2012 Google, Inc. 3 * Copyright © 2010,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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 /* http://www.microsoft.com/typography/otspec/features_pt.htm#ssxx */ 370 /* http://www.microsoft.com/typography/otspec/features_pt.htm#ssxx */
371 struct FeatureParamsStylisticSet 371 struct FeatureParamsStylisticSet
372 { 372 {
373 inline bool sanitize (hb_sanitize_context_t *c) { 373 inline bool sanitize (hb_sanitize_context_t *c) {
374 TRACE_SANITIZE (this); 374 TRACE_SANITIZE (this);
375 /* Right now minorVersion is at zero. Which means, any table supports 375 /* Right now minorVersion is at zero. Which means, any table supports
376 * the uiNameID field. */ 376 * the uiNameID field. */
377 return TRACE_RETURN (c->check_struct (this)); 377 return TRACE_RETURN (c->check_struct (this));
378 } 378 }
379 379
380 USHORT» minorVersion;» /* (set to 0): This corresponds to a “minor” 380 USHORT» version;» /* (set to 0): This corresponds to a “minor”
381 * version number. Additional data may be 381 * version number. Additional data may be
382 * added to the end of this Feature Parameters 382 * added to the end of this Feature Parameters
383 * table in the future. */ 383 * table in the future. */
384 384
385 USHORT uiNameID; /* The 'name' table name ID that specifies a 385 USHORT uiNameID; /* The 'name' table name ID that specifies a
386 * string (or strings, for multiple languages) 386 * string (or strings, for multiple languages)
387 * for a user-interface label for this 387 * for a user-interface label for this
388 * feature. The values of uiLabelNameId and 388 * feature. The values of uiLabelNameId and
389 * sampleTextNameId are expected to be in the 389 * sampleTextNameId are expected to be in the
390 * font-specific name ID range (256-32767), 390 * font-specific name ID range (256-32767),
391 * though that is not a requirement in this 391 * though that is not a requirement in this
392 * Feature Parameters specification. The 392 * Feature Parameters specification. The
393 * user-interface label for the feature can 393 * user-interface label for the feature can
394 * be provided in multiple languages. An 394 * be provided in multiple languages. An
395 * English string should be included as a 395 * English string should be included as a
396 * fallback. The string should be kept to a 396 * fallback. The string should be kept to a
397 * minimal length to fit comfortably with 397 * minimal length to fit comfortably with
398 * different application interfaces. */ 398 * different application interfaces. */
399 public: 399 public:
400 DEFINE_SIZE_STATIC (4); 400 DEFINE_SIZE_STATIC (4);
401 }; 401 };
402 402
403 /* http://www.microsoft.com/typography/otspec/features_ae.htm#cv01-cv99 */
403 struct FeatureParamsCharacterVariants 404 struct FeatureParamsCharacterVariants
404 { 405 {
405 inline bool sanitize (hb_sanitize_context_t *c) { 406 inline bool sanitize (hb_sanitize_context_t *c) {
406 TRACE_SANITIZE (this); 407 TRACE_SANITIZE (this);
407 return TRACE_RETURN (c->check_struct (this) && 408 return TRACE_RETURN (c->check_struct (this) &&
408 characters.sanitize (c)); 409 characters.sanitize (c));
409 } 410 }
410 411
411 USHORT format; /* Format number is set to 0. */ 412 USHORT format; /* Format number is set to 0. */
412 USHORT featUILableNameID; /* The ‘name’ table name ID that 413 USHORT featUILableNameID; /* The ‘name’ table name ID that
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 USHORT deltaValue[VAR]; /* Array of compressed data */ 1163 USHORT deltaValue[VAR]; /* Array of compressed data */
1163 public: 1164 public:
1164 DEFINE_SIZE_ARRAY (6, deltaValue); 1165 DEFINE_SIZE_ARRAY (6, deltaValue);
1165 }; 1166 };
1166 1167
1167 1168
1168 } /* namespace OT */ 1169 } /* namespace OT */
1169 1170
1170 1171
1171 #endif /* HB_OT_LAYOUT_COMMON_PRIVATE_HH */ 1172 #endif /* HB_OT_LAYOUT_COMMON_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-layout.h ('k') | third_party/harfbuzz-ng/src/hb-ot-layout-gpos-table.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698