On 9/2/18 2:52 PM, Russel Winder wrote:

The Gtk+ C++ application I am rewriting in D uses Fontconfig rather than Pango because Pango doesn't expose the data needed for the application, that is only in Fontconfig. GtkD provides a Pango binding, but no Fontconfig binding. There is a GIR file for Fontconfig. I am wondering whether to do the whole D binding to Fontconfig thing using girtod, or whether to just hack up enough stuff to do with the structs, enums, and functions of Fonconfig.

Anyone been down this route before?

The GIR file for fontconfig is just a stub with a few things needed for
the other GIR files.

So using girtod isn't a option, but:
https://github.com/WebFreak001/fontconfig-d might be useful.