Skip to content

PIL does not compile with freetype2 support #413

Closed

Description

@GeoRW

PIL is not compiled with freetype2 support with current recipe:

--------------------------------------------------------------------
PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
version       1.1.7
platform      linux3 2.7.2 (default, Jul  9 2015, 09:27:04)
              [GCC 4.8.4]
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
*** FREETYPE2 support not available
*** LITTLECMS support not available
--------------------------------------------------------------------

Changing the CFLAGS path solved the issue for me:

  • export CFLAGS="$CFLAGS -I$JNI_PATH/png -I$JNI_PATH/jpeg -I$JNI_PATH/freetype/include/freetype"
  • export CFLAGS="$CFLAGS -I$JNI_PATH/png -I$JNI_PATH/jpeg -I$JNI_PATH/freetype"
--------------------------------------------------------------------
PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
version       1.1.7
platform      linux3 2.7.2 (default, Jul  9 2015, 09:56:49)
              [GCC 4.8.4]
--------------------------------------------------------------------
*** TKINTER support not available
--- JPEG support available
--- ZLIB (PNG/ZIP) support available
--- FREETYPE2 support available
*** LITTLECMS support not available
--------------------------------------------------------------------

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. GeoRW commented on Jul 10, 2015

    @GeoRW
    Author

    Actually, it compiles with FREETYPE2 support, when I upgrade freetype library in src/jni/freetype to 2.4.0. Then it works with the original recipe.
    However I needed to go few months of commits back as there's another problem with manipulating images -> they get screwed up by PIL. I suspect, it's due to changes in jpeg library. I will try to figure out which commit caused this.

  2. inclement commented on Jan 30, 2019

    @inclement
    Member

    Closing as out of date, the PIL and now pillow recipes have changed since then and may no longer have the issue.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions