mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 09:49:15 +03:00
2a4d7a193e
A few closely-related changes: - Move our definitions of the OpenType spec's "data types" into their own header file. - Add definitions for the integer types there too, for completeness. (Plus Uint16 matches the spec term, and is less verbose than BigEndian<u16>.) - Include Traits for the non-BigEndian types so that we can read them from Streams. (BigEndian<integer-type> already has this.) - Use the integer types in our struct definitions. As a bonus, this fixes a bug in Hmtx, which read the left-side bearings as i16 instead of BigEndian<i16>. |
||
---|---|---|
.. | ||
OpenType | ||
WOFF | ||
WOFF2 | ||
BitmapFont.cpp | ||
BitmapFont.h | ||
Emoji.cpp | ||
Emoji.h | ||
Font.cpp | ||
Font.h | ||
FontDatabase.cpp | ||
FontDatabase.h | ||
FontStyleMapping.h | ||
ScaledFont.cpp | ||
ScaledFont.h | ||
Typeface.cpp | ||
Typeface.h | ||
VectorFont.h |