~novakane/zig-fcft-example

Port of fcft/example program using zig-fcft bindings
README: Format
code: Cleanup
Add CONTRIBUTING.md

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~novakane/zig-fcft-example
read/write
git@git.sr.ht:~novakane/zig-fcft-example

You can also use your local clone with git send-email.

Port of example from upstream fcft to demonstrate zig-fcft bindings.

Requirements:
	zig 0.9
	fcft 3.0 (see fcft requirements if you want support for everything)

Init submodules:
    git submodule update --init

Build, e.g.
    zig build --prefix ~/.local

Usage: zig-fcft-example [options...]
  -h                Print this help message and exit.
  -text <TEXT>      Text string to render
  -font <FONTS>     Comma separated list of FontConfig formatted font specifications
  -bg <0xRRGGBBAA>  Background color (e.g. 0xff000077 for semi-transparent red)
  -fg <0xRRGGBBAA>  Foreground color (e.g. 0x00ff00ff for non-transparent green)

zig-fcft-example is licensed under the GNU General Public License v3.0 only

Files in common/ and protocol/ directories are released under various licenses
by various parties. You should refer to the copyright block of each files
for the licensing information.