https://github.com/webfreak001/fontconfig-d
fontconfig bindings for D
https://github.com/webfreak001/fontconfig-d
Last synced: about 1 year ago
JSON representation
fontconfig bindings for D
- Host: GitHub
- URL: https://github.com/webfreak001/fontconfig-d
- Owner: WebFreak001
- Created: 2017-05-09T16:15:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-08T10:36:33.000Z (about 6 years ago)
- Last Synced: 2025-02-28T14:48:10.696Z (over 1 year ago)
- Language: C
- Size: 18.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fontconfig-d
This repository is a binding to the fontconfig API on the FreeDesktop git
repository: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/tree/master/
This version uses the headers from commit fcb042028126d79ea5a5fa015b2b034b98656e73.
```d
import fontconfig.fontconfig;
if (!FcInit())
throw new Exception("Can't init font config library");
scope (exit)
FcFini();
// ...
```
If you use derelict-ft, bindbc-ft, bindbc-freetype or freetype-d from dub you
can also use the `fontconfig.fcfreetype` methods.