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
andzlib1.dll
(32bits or 64bits) -
In the root of your project, in one of the parent directories, or in your home directory, create a
.cargo
directory. This directory should contain aconfig
file that contains the following snippet:
[]
= ["C:\\Path\\To\\32bits\\Freetype"]
= ["freetype-6"]
= "C:\\Path\\To\\Freetype"
[]
= ["C:\\Path\\To\\64bits\\Freetype"]
= ["freetype-6"]
= "C:\\Path\\To\\Freetype"
[]
= ["C:\\Path\\To\\32bits\\Zlib"]
= ["zlib1"]
= "C:\\Path\\To\\Zlib"
[]
= ["C:\\Path\\To\\64bits\\Zlib"]
= ["zlib1"]
= "C:\\Path\\To\\Zlib"
For more informations, check the official Cargo documentation.