[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] How to use FreeType with FontConfig?
From: |
John Found |
Subject: |
[ft] How to use FreeType with FontConfig? |
Date: |
Tue, 17 Feb 2015 20:37:04 +0200 |
Recently I am working on text rendering with FreeType.
The FreeType function FT_New_Face uses the filename of the font, but I want
more flexible approach with font substitution and suggesting fonts by some
pattern, for example "serif", "monospaced", "bold", etc.
I know that such functionality is provided by Fontconfig library.
But how I can interface Fontconfig with FreeType?
I tried to read the Fontconfig documentation, but didn't find a solution. The
FreeType documentation also does not mention Fontconfig.
--
John Found <address@hidden>
- [ft] How to use FreeType with FontConfig?,
John Found <=