pull/831/head
Behdad Esfahbod 7 years ago
parent 05fbd14e71
commit e347fb908b
  1. 4
      src/hb-ot-layout-gdef-table.hh
  2. 12
      src/hb-ot-layout-gpos-table.hh

@ -110,7 +110,7 @@ struct CaretValueFormat1
protected: protected:
HBUINT16 caretValueFormat; /* Format identifier--format = 1 */ HBUINT16 caretValueFormat; /* Format identifier--format = 1 */
HBINT16 coordinate; /* X or Y value, in design units */ FWORD coordinate; /* X or Y value, in design units */
public: public:
DEFINE_SIZE_STATIC (4); DEFINE_SIZE_STATIC (4);
}; };
@ -161,7 +161,7 @@ struct CaretValueFormat3
protected: protected:
HBUINT16 caretValueFormat; /* Format identifier--format = 3 */ HBUINT16 caretValueFormat; /* Format identifier--format = 3 */
HBINT16 coordinate; /* X or Y value, in design units */ FWORD coordinate; /* X or Y value, in design units */
OffsetTo<Device> OffsetTo<Device>
deviceTable; /* Offset to Device table for X or Y deviceTable; /* Offset to Device table for X or Y
* value--from beginning of CaretValue * value--from beginning of CaretValue

@ -248,8 +248,8 @@ struct AnchorFormat1
protected: protected:
HBUINT16 format; /* Format identifier--format = 1 */ HBUINT16 format; /* Format identifier--format = 1 */
HBINT16 xCoordinate; /* Horizontal value--in design units */ FWORD xCoordinate; /* Horizontal value--in design units */
HBINT16 yCoordinate; /* Vertical value--in design units */ FWORD yCoordinate; /* Vertical value--in design units */
public: public:
DEFINE_SIZE_STATIC (6); DEFINE_SIZE_STATIC (6);
}; };
@ -279,8 +279,8 @@ struct AnchorFormat2
protected: protected:
HBUINT16 format; /* Format identifier--format = 2 */ HBUINT16 format; /* Format identifier--format = 2 */
HBINT16 xCoordinate; /* Horizontal value--in design units */ FWORD xCoordinate; /* Horizontal value--in design units */
HBINT16 yCoordinate; /* Vertical value--in design units */ FWORD yCoordinate; /* Vertical value--in design units */
HBUINT16 anchorPoint; /* Index to glyph contour point */ HBUINT16 anchorPoint; /* Index to glyph contour point */
public: public:
DEFINE_SIZE_STATIC (8); DEFINE_SIZE_STATIC (8);
@ -309,8 +309,8 @@ struct AnchorFormat3
protected: protected:
HBUINT16 format; /* Format identifier--format = 3 */ HBUINT16 format; /* Format identifier--format = 3 */
HBINT16 xCoordinate; /* Horizontal value--in design units */ FWORD xCoordinate; /* Horizontal value--in design units */
HBINT16 yCoordinate; /* Vertical value--in design units */ FWORD yCoordinate; /* Vertical value--in design units */
OffsetTo<Device> OffsetTo<Device>
xDeviceTable; /* Offset to Device table for X xDeviceTable; /* Offset to Device table for X
* coordinate-- from beginning of * coordinate-- from beginning of

Loading…
Cancel
Save