diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/freetype/ftimage.inc | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/src/lib/freetype/ftimage.inc b/src/lib/freetype/ftimage.inc index d16d52a2..63eee534 100644 --- a/src/lib/freetype/ftimage.inc +++ b/src/lib/freetype/ftimage.inc @@ -453,32 +453,32 @@ const (*************************************************************************) - (* *)
- (* <Macro> *)
- (* FT_IMAGE_TAG *)
- (* *)
- (* <Description> *)
- (* This macro converts four-letter tags to an unsigned long type. *)
- (* *)
- (* <Note> *)
- (* Since many 16-bit compilers don't like 32-bit enumerations, you *)
- (* should redefine this macro in case of problems to something like *)
- (* this: *)
- (* *)
- (* { *)
- (* #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value *)
- (* } *)
- (* *)
- (* to get a simple enumeration without assigning special numbers. *)
- (* *)
- {
- #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) \
- value = ( ( (unsigned long)_x1 << 24 ) | \
- ( (unsigned long)_x2 << 16 ) | \
- ( (unsigned long)_x3 << 8 ) | \
- (unsigned long)_x4 )
- }
-
+ (* *) + (* <Macro> *) + (* FT_IMAGE_TAG *) + (* *) + (* <Description> *) + (* This macro converts four-letter tags to an unsigned long type. *) + (* *) + (* <Note> *) + (* Since many 16-bit compilers don't like 32-bit enumerations, you *) + (* should redefine this macro in case of problems to something like *) + (* this: *) + (* *) + (* { *) + (* #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) value *) + (* } *) + (* *) + (* to get a simple enumeration without assigning special numbers. *) + (* *) + { + #define FT_IMAGE_TAG( value, _x1, _x2, _x3, _x4 ) \ + value = ( ( (unsigned long)_x1 << 24 ) | \ + ( (unsigned long)_x2 << 16 ) | \ + ( (unsigned long)_x3 << 8 ) | \ + (unsigned long)_x4 ) + } + (*************************************************************************) (* *) (* <Enum> *) @@ -522,28 +522,28 @@ const {$ELSE TYPE_DECL} const FT_GLYPH_FORMAT_NONE = (Ord(#0) shl 24) or - (Ord(#0) shl 16) or
- (Ord(#0) shl 8) or
+ (Ord(#0) shl 16) or + (Ord(#0) shl 8) or (Ord(#0) shl 0); FT_GLYPH_FORMAT_COMPOSITE = (Ord('c') shl 24) or - (Ord('o') shl 16) or
- (Ord('m') shl 8) or
+ (Ord('o') shl 16) or + (Ord('m') shl 8) or (Ord('p') shl 0); FT_GLYPH_FORMAT_BITMAP = (Ord('b') shl 24) or - (Ord('i') shl 16) or
- (Ord('t') shl 8) or
+ (Ord('i') shl 16) or + (Ord('t') shl 8) or (Ord('s') shl 0); FT_GLYPH_FORMAT_OUTLINE = (Ord('o') shl 24) or - (Ord('u') shl 16) or
- (Ord('t') shl 8) or
+ (Ord('u') shl 16) or + (Ord('t') shl 8) or (Ord('l') shl 0); FT_GLYPH_FORMAT_PLOTTER = (Ord('p') shl 24) or - (Ord('l') shl 16) or
- (Ord('o') shl 8) or
+ (Ord('l') shl 16) or + (Ord('o') shl 8) or (Ord('t') shl 0); {$ENDIF TYPE_DECL} |