gs: fix truetype interpreter for amd64
This commit is contained in:
parent
3f1e6903d6
commit
9cc9d6113c
2 changed files with 4 additions and 4 deletions
|
@ -47,6 +47,8 @@ typedef int16_t F2Dot14; /* 2.14 16-bit signed fixed-point number */
|
||||||
typedef int32_t F26Dot6; /* 26.6 32-bit signed fixed-point number */
|
typedef int32_t F26Dot6; /* 26.6 32-bit signed fixed-point number */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma pack on
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint32 bc;
|
uint32 bc;
|
||||||
uint32 ad;
|
uint32 ad;
|
||||||
|
@ -349,4 +351,6 @@ typedef struct FontTableInfo {
|
||||||
|
|
||||||
#define RAW_TRUE_TYPE_SIZE 512
|
#define RAW_TRUE_TYPE_SIZE 512
|
||||||
|
|
||||||
|
#pragma pack off
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -118,11 +118,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Plan9
|
#ifdef Plan9
|
||||||
#ifdef Tamd64
|
|
||||||
typedef unsigned long long* PStorage;
|
|
||||||
#else
|
|
||||||
typedef unsigned int* PStorage;
|
typedef unsigned int* PStorage;
|
||||||
#endif
|
|
||||||
#elif ARCH_SIZEOF_PTR == SIZEOF_LONG
|
#elif ARCH_SIZEOF_PTR == SIZEOF_LONG
|
||||||
typedef long* PStorage;
|
typedef long* PStorage;
|
||||||
#elif ARCH_SIZEOF_PTR == SIZEOF_INT
|
#elif ARCH_SIZEOF_PTR == SIZEOF_INT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue