Skip to content

update FreeType to 2.14.3 #34

Description

@Charltsing

freetype.zip

I noticed that in 0001-Win64.patch, the definitions of FT_F26Dot6 and FT_Fixed are inconsistent with the original definitions (signed long --> unsigned long). Is this an intentional change?

   /**************************************************************************
@@ -272,7 +280,11 @@ FT_BEGIN_HEADER
    * @description:
    *   A signed 26.6 fixed-point type used for vectorial pixel coordinates.
    */
-  typedef signed long  FT_F26Dot6;
+#if _WIN64
+  typedef signed __int64  FT_F26Dot6;
+#else
+  typedef unsigned long FT_F26Dot6;
+#endif
 
 
   /**************************************************************************
@@ -284,7 +296,11 @@ FT_BEGIN_HEADER
    *   This type is used to store 16.16 fixed-point values, like scaling
    *   values or matrix coefficients.
    */
-  typedef signed long  FT_Fixed;
+#if _WIN64
+  typedef signed __int64  FT_Fixed;
+#else
+  typedef unsigned long FT_Fixed;
+#endif

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions