| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2007,2008,2009 Red Hat, Inc. | 2 * Copyright © 2007,2008,2009 Red Hat, Inc. |
| 3 * Copyright © 2010,2011,2012 Google, Inc. | 3 * Copyright © 2010,2011,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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 case BaseGlyph: return HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH; | 402 case BaseGlyph: return HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH; |
| 403 case LigatureGlyph: return HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE; | 403 case LigatureGlyph: return HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE; |
| 404 case MarkGlyph: | 404 case MarkGlyph: |
| 405 klass = get_mark_attachment_type (glyph); | 405 klass = get_mark_attachment_type (glyph); |
| 406 return HB_OT_LAYOUT_GLYPH_PROPS_MARK | (klass << 8); | 406 return HB_OT_LAYOUT_GLYPH_PROPS_MARK | (klass << 8); |
| 407 } | 407 } |
| 408 } | 408 } |
| 409 | 409 |
| 410 | 410 |
| 411 protected: | 411 protected: |
| 412 FixedVersion» version;» » /* Version of the GDEF table--currently | 412 FixedVersion<>version;» » /* Version of the GDEF table--currently |
| 413 * 0x00010002u */ | 413 * 0x00010002u */ |
| 414 OffsetTo<ClassDef> | 414 OffsetTo<ClassDef> |
| 415 glyphClassDef; /* Offset to class definition table | 415 glyphClassDef; /* Offset to class definition table |
| 416 * for glyph type--from beginning of | 416 * for glyph type--from beginning of |
| 417 * GDEF header (may be Null) */ | 417 * GDEF header (may be Null) */ |
| 418 OffsetTo<AttachList> | 418 OffsetTo<AttachList> |
| 419 attachList; /* Offset to list of glyphs with | 419 attachList; /* Offset to list of glyphs with |
| 420 * attachment points--from beginning | 420 * attachment points--from beginning |
| 421 * of GDEF header (may be Null) */ | 421 * of GDEF header (may be Null) */ |
| 422 OffsetTo<LigCaretList> | 422 OffsetTo<LigCaretList> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 434 * in version 00010002. */ | 434 * in version 00010002. */ |
| 435 public: | 435 public: |
| 436 DEFINE_SIZE_ARRAY (12, markGlyphSetsDef); | 436 DEFINE_SIZE_ARRAY (12, markGlyphSetsDef); |
| 437 }; | 437 }; |
| 438 | 438 |
| 439 | 439 |
| 440 } /* namespace OT */ | 440 } /* namespace OT */ |
| 441 | 441 |
| 442 | 442 |
| 443 #endif /* HB_OT_LAYOUT_GDEF_TABLE_HH */ | 443 #endif /* HB_OT_LAYOUT_GDEF_TABLE_HH */ |
| OLD | NEW |