freetype-sys 0.0.2

Low level binding for FreeType font library
docs.rs failed to build freetype-sys-0.0.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: freetype-sys-0.20.1

freetype-sys

Low level bindings for the FreeType font library

For windows users

In order to easily set-up freetype:

  • Download precompiled versions of libfreetype-6.dll and zlib1.dll (see the downloads page)

  • In the root of your project or in one of the parent directories, create a .cargo directory. This directory should contain a config file that contains the following snippet:

[target.i686-pc-windows-gnu.freetype]
rustc-flags = "-L C:\\Path\\To\\Freetype -l freetype-6:dylib"
root = "C:\\Path\\To\\Freetype"

[target.x86_64-pc-windows-gnu.freetype]
rustc-flags = "-L C:\\Path\\To\\Freetype -l freetype-6:dylib"
root = "C:\\Path\\To\\Freetype"

[target.i686-pc-windows-gnu.z]
rustc-flags = "-L C:\\Path\\To\\Zlib -l zlib1:dylib"
root = "C:\\Path\\To\\Zlib"

[target.x86_64-pc-windows-gnu.z]
rustc-flags = "-L C:\\Path\\To\\Zlib -l zlib1:dylib"
root = "C:\\Path\\To\\Zlib"

For more informations, check the official Cargo documentation.