| 160 | | if "DSIG" in tags and self._tableOrder is None or (set(self._tableOrder) != set(tags)): |
|---|
| 161 | | raise WOFFLibError("A complete table order must be supplied when saving a font with a 'DSIG' table.") |
|---|
| 162 | | if "DSIG" in tags and reorderTables: |
|---|
| 163 | | raise WOFFLibError("Tables can not be reordered when a 'DSIG' table is in the font. Set reorderTables to False.") |
|---|
| 164 | | if "DSIG" in tags and recalculateHeadChecksum: |
|---|
| 165 | | raise WOFFLibError("The 'head' table checkSumAdjustment can not be recalculated when a 'DSIG' table is in the font.") |
|---|
| | 160 | if "DSIG" in tags: |
|---|
| | 161 | if self._tableOrder is None or (set(self._tableOrder) != set(tags)): |
|---|
| | 162 | raise WOFFLibError("A complete table order must be supplied when saving a font with a 'DSIG' table.") |
|---|
| | 163 | elif reorderTables: |
|---|
| | 164 | raise WOFFLibError("Tables can not be reordered when a 'DSIG' table is in the font. Set reorderTables to False.") |
|---|
| | 165 | elif recalculateHeadChecksum: |
|---|
| | 166 | raise WOFFLibError("The 'head' table checkSumAdjustment can not be recalculated when a 'DSIG' table is in the font.") |
|---|