| @@ -401,7 +401,7 @@ enum { // TableHead · 400 unmodified lines |
| 401 | 401 | struct TableHead { |
| 402 | 402 | // u16int majorVersion; |
| 403 | 403 | // u16int minorVersion; |
| 404 | | − // float fontRevision; |
| 404 | + // double fontRevision; |
| 405 | 405 | // u32int checksumAdjustment; |
| 406 | 406 | // u32int magicNumber; |
| 407 | 407 | u16int flags; |
| @@ -482,7 +482,7 @@ void print_TableHmtx(Otfile *f, int indent, Otf *o, TableHmtx *v); · 74 unmodified lines |
| 482 | 482 | |
| 483 | 483 | struct TablePost { |
| 484 | 484 | // u32int version; |
| 485 | | − float italicAngle; |
| 485 | + double italicAngle; |
| 486 | 486 | s16int underlinePosition; |
| 487 | 487 | s16int underlineThickness; |
| 488 | 488 | u32int isFixedPitch; |
| @@ -1192,9 +1192,9 @@ enum { // VariationAxisRecord · 703 unmodified lines |
| 1192 | 1192 | |
| 1193 | 1193 | struct VariationAxisRecord { |
| 1194 | 1194 | u32int axisTag; |
| 1195 | | − float minValue; |
| 1196 | | − float defaultValue; |
| 1197 | | − float maxValue; |
| 1195 | + double minValue; |
| 1196 | + double defaultValue; |
| 1197 | + double maxValue; |
| 1198 | 1198 | u16int flags; |
| 1199 | 1199 | u16int axisNameID; |
| 1200 | 1200 | }; |
| @@ -1203,7 +1203,7 @@ int read_VariationAxisRecord(Otf *o, VariationAxisRecord *v); · 2 unmodified lines |
| 1203 | 1203 | void print_VariationAxisRecord(Otfile *f, int indent, Otf *o, VariationAxisRecord *v); |
| 1204 | 1204 | |
| 1205 | 1205 | struct UserTuple { |
| 1206 | | − float *coordinates; |
| 1206 | + double *coordinates; |
| 1207 | 1207 | }; |
| 1208 | 1208 | |
| 1209 | 1209 | int read_UserTuple(Otf *o, UserTuple *v); |
| @@ -1243,9 +1243,9 @@ int read_TableFvar(Otf *o, TableFvar *v); · 33 unmodified lines |
| 1243 | 1243 | void print_TableFvar(Otfile *f, int indent, Otf *o, TableFvar *v); |
| 1244 | 1244 | |
| 1245 | 1245 | struct RegionAxisCoordinates { |
| 1246 | | − float startCoord; |
| 1247 | | − float peakCoord; |
| 1248 | | − float endCoord; |
| 1246 | + double startCoord; |
| 1247 | + double peakCoord; |
| 1248 | + double endCoord; |
| 1249 | 1249 | }; |
| 1250 | 1250 | |
| 1251 | 1251 | int read_RegionAxisCoordinates(Otf *o, RegionAxisCoordinates *v); |
| @@ -1410,7 +1410,7 @@ int read_TableGasp(Otf *o, TableGasp *v); · 158 unmodified lines |
| 1410 | 1410 | void print_TableGasp(Otfile *f, int indent, Otf *o, TableGasp *v); |
| 1411 | 1411 | |
| 1412 | 1412 | struct Tuple { |
| 1413 | | − float *coordinates; |
| 1413 | + double *coordinates; |
| 1414 | 1414 | }; |
| 1415 | 1415 | |
| 1416 | 1416 | int read_Tuple(Otf *o, Tuple *v); |
| @@ -1471,8 +1471,8 @@ int read_TableGvar(Otf *o, TableGvar *v); · 54 unmodified lines |
| 1471 | 1471 | void print_TableGvar(Otfile *f, int indent, Otf *o, TableGvar *v); |
| 1472 | 1472 | |
| 1473 | 1473 | struct AxisValueMap { |
| 1474 | | − float fromCoordinate; |
| 1475 | | − float toCoordinate; |
| 1474 | + double fromCoordinate; |
| 1475 | + double toCoordinate; |
| 1476 | 1476 | }; |
| 1477 | 1477 | |
| 1478 | 1478 | int read_AxisValueMap(Otf *o, AxisValueMap *v); |