`fontconfig` through the FFI: best practice?

18 views
Skip to first unread message

Matthew Butterick

unread,
Jun 11, 2019, 1:52:39 PM6/11/19
to Racket Users
If I want to call functions in the `fontconfig` library through the FFI, 

should I be relying on the incantations in "cairo-lib.rkt"?  [1] 

Or are those somehow specific to the `racket/draw` system? 

Why does the `fontconfig-lib` definition there include libraries that are not `libfontconfig`? 

Does the "Racket-specific patch to Fontconfig" need to be used always?

So far I've gotten some Fontconfig code to work on Racket 7.1 @ Mojave but it failed on 7.1 @ Sierra. So there is some platform-specific magic I'm missing. 
Reply all
Reply to author
Forward
0 new messages