Commit 678a594f authored by Po Lu's avatar Po Lu
Browse files

* src/sfnt.h (sfnt_coerce_fixed): New macro.

parent 8e10aad3
Pipeline #27527 failed with stages
in 44 minutes and 53 seconds
......@@ -123,6 +123,7 @@ typedef int16_t sfnt_fword;
typedef uint16_t sfnt_ufword;
#define sfnt_coerce_fixed(fixed) ((sfnt_fixed) (fixed) / 65535.0)
#define sfnt_fixed_float(fixed) ((sfnt_fixed) (fixed) / 65535.0f)
typedef unsigned int sfnt_glyph;
typedef unsigned int sfnt_char;
......@@ -778,7 +779,7 @@ struct sfnt_edge
/* X position, top and bottom of edges. */
sfnt_fixed x, top, bottom;
/* Amount to move X by upon each change of Y. */
/* Amount to move X by upon each change of Y, and vice versa. */
sfnt_fixed step_x;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment