Skip to content

[Fontations] Build bindgen targets, basic Rust test

Dominik Röttsches requested to merge drott/fontconfig:optionBindGenBuild into main

Define meson bindgen steps that form a bindgen Rust library that allows calling back to typical FontConfig functions for constructing FcPatterns and adding them to an FcFontSet.

Add a basic Rust test that demonstrates it's possible to call back to Fontconfig. Enable execution of this test through either

  • meson test -C build or
  • cargo test

Part of #434.

Edited by Dominik Röttsches

Merge request reports

Loading