| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright © 2017 Google, Inc. | 2 * Copyright © 2017 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 } | 71 } |
| 72 | 72 |
| 73 protected: | 73 protected: |
| 74 inline unsigned int get_width (void) const | 74 inline unsigned int get_width (void) const |
| 75 { return ((format >> 4) & 3) + 1; } | 75 { return ((format >> 4) & 3) + 1; } |
| 76 | 76 |
| 77 inline unsigned int get_inner_bitcount (void) const | 77 inline unsigned int get_inner_bitcount (void) const |
| 78 { return (format & 0xF) + 1; } | 78 { return (format & 0xF) + 1; } |
| 79 | 79 |
| 80 protected: | 80 protected: |
| 81 USHORT format;» » /* A packed field that describes the compressed | 81 USHORT» format;»» /* A packed field that describes the compressed |
| 82 * representation of delta-set indices. */ | 82 * representation of delta-set indices. */ |
| 83 USHORT mapCount;» » /* The number of mapping entries. */ | 83 USHORT» mapCount;» /* The number of mapping entries. */ |
| 84 BYTE mapData[VAR];» » /* The delta-set index mapping data. */ | 84 BYTE» » mapData[VAR];» /* The delta-set index mapping data. */ |
| 85 | 85 |
| 86 public: | 86 public: |
| 87 DEFINE_SIZE_ARRAY (4, mapData); | 87 DEFINE_SIZE_ARRAY (4, mapData); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 | 90 |
| 91 /* | 91 /* |
| 92 * HVAR -- The Horizontal Metrics Variations Table | 92 * HVAR -- The Horizontal Metrics Variations Table |
| 93 * VVAR -- The Vertical Metrics Variations Table | 93 * VVAR -- The Vertical Metrics Variations Table |
| 94 */ | 94 */ |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 vorgMap; /* Offset to vertical-origin var-idx mapping. */ | 156 vorgMap; /* Offset to vertical-origin var-idx mapping. */ |
| 157 | 157 |
| 158 public: | 158 public: |
| 159 DEFINE_SIZE_STATIC (24); | 159 DEFINE_SIZE_STATIC (24); |
| 160 }; | 160 }; |
| 161 | 161 |
| 162 } /* namespace OT */ | 162 } /* namespace OT */ |
| 163 | 163 |
| 164 | 164 |
| 165 #endif /* HB_OT_VAR_HVAR_TABLE_HH */ | 165 #endif /* HB_OT_VAR_HVAR_TABLE_HH */ |
| OLD | NEW |