fcft-sys 0.1.0

Raw bindings to fcft: font loading and glyph rasterisation library
Documentation
  • Coverage
  • 0.44%
    1 out of 226 items documented0 out of 12 items with examples
  • Size
  • Source code size: 13.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.74 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • WhyNotHugo

fcft-sys

Rust bindings for fcft, a library for loading fonts and glyph rasterisation library on top of FontConfig, FreeType2 and pixman.

Headers supplied by fcft are the canonical source of truth for struct layouts.

A minimal set of pixman functions is also exposed: enough to composite fcft's glyph images into a byte buffer. Inter-operability with the pixman crate is viable via a simple .cast().

For a safe API on top of these bindings, see the fcft crate.

Requirements

  • pkg-config (build only)
  • fcft ≥ 3.0
  • pixman ≥ 0.32.0

Licence

Licensed under the ISC licence.