| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2007,2008,2009,2010 Red Hat, Inc. | 2 * Copyright © 2007,2008,2009,2010 Red Hat, Inc. |
| 3 * Copyright © 2010,2012,2013 Google, Inc. | 3 * Copyright © 2010,2012,2013 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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 735 * ordered by Coverage Index */ | 735 * ordered by Coverage Index */ |
| 736 public: | 736 public: |
| 737 DEFINE_SIZE_ARRAY (10, pairSet); | 737 DEFINE_SIZE_ARRAY (10, pairSet); |
| 738 }; | 738 }; |
| 739 | 739 |
| 740 struct PairPosFormat2 | 740 struct PairPosFormat2 |
| 741 { | 741 { |
| 742 inline void collect_glyphs (hb_collect_glyphs_context_t *c) const | 742 inline void collect_glyphs (hb_collect_glyphs_context_t *c) const |
| 743 { | 743 { |
| 744 TRACE_COLLECT_GLYPHS (this); | 744 TRACE_COLLECT_GLYPHS (this); |
| 745 /* (this+coverage).add_coverage (c->input); // Don't need this. */ | 745 (this+coverage).add_coverage (c->input); |
| 746 | 746 |
| 747 unsigned int count1 = class1Count; | 747 unsigned int count1 = class1Count; |
| 748 const ClassDef &klass1 = this+classDef1; | 748 const ClassDef &klass1 = this+classDef1; |
| 749 for (unsigned int i = 0; i < count1; i++) | 749 for (unsigned int i = 0; i < count1; i++) |
| 750 klass1.add_class (c->input, i); | 750 klass1.add_class (c->input, i); |
| 751 | 751 |
| 752 unsigned int count2 = class2Count; | 752 unsigned int count2 = class2Count; |
| 753 const ClassDef &klass2 = this+classDef2; | 753 const ClassDef &klass2 = this+classDef2; |
| 754 for (unsigned int i = 0; i < count2; i++) | 754 for (unsigned int i = 0; i < count2; i++) |
| 755 klass2.add_class (c->input, i); | 755 klass2.add_class (c->input, i); |
| (...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1638 | 1638 |
| 1639 | 1639 |
| 1640 #undef attach_lookback | 1640 #undef attach_lookback |
| 1641 #undef cursive_chain | 1641 #undef cursive_chain |
| 1642 | 1642 |
| 1643 | 1643 |
| 1644 } /* namespace OT */ | 1644 } /* namespace OT */ |
| 1645 | 1645 |
| 1646 | 1646 |
| 1647 #endif /* HB_OT_LAYOUT_GPOS_TABLE_HH */ | 1647 #endif /* HB_OT_LAYOUT_GPOS_TABLE_HH */ |
| OLD | NEW |