Guile-FontConfig provides Guile Scheme bindings for the FontConfig C shared library. The bindings are written in pure Scheme by using Guile's foreign function interface.
Go to file
nixo b7da6362c2 fontconfig/pattern.scm (pattern-get): Take symbol instead of string.
* examples/example.scm: Update accordingly.
2021-01-18 23:32:13 +01:00
examples fontconfig/pattern.scm (pattern-get): Take symbol instead of string. 2021-01-18 23:32:13 +01:00
fontconfig fontconfig/pattern.scm (pattern-get): Take symbol instead of string. 2021-01-18 23:32:13 +01:00
.gitignore git: ignore config.scm 2021-01-18 10:22:07 +01:00
AUTHORS Init 2021-01-17 19:21:26 +01:00
COPYING Init 2021-01-17 19:21:26 +01:00
Makefile.am Init 2021-01-17 19:21:26 +01:00
README Init 2021-01-17 19:21:26 +01:00
bootstrap Init 2021-01-17 19:21:26 +01:00
configure.ac Init 2021-01-17 19:21:26 +01:00
fontconfig.scm Init 2021-01-17 19:21:26 +01:00
guix.scm Init 2021-01-17 19:21:26 +01:00
pre-inst-env.in Init 2021-01-17 19:21:26 +01:00

README

-*- mode: org -*-

Guile-FontConfig provides Guile Scheme bindings for the FontConfig C
shared library.  The bindings are written in pure Scheme by using
Guile's foreign function interface.

* Requirements

  Guile-FontConfig currently depends on the following packages:

  - GNU Guile >= 2.0.9
  - FontConfig
  - GNU Make
  - GNU pkg-config

  When building from a Git checkout, the following additional packages
  are required:

  - GNU Autoconf
  - GNU Automake
  - GNU Texinfo

* Installing

  Guile-FontConfig uses the standard GNU build system, so installation
  requires the usual incantations:

  #+BEGIN_SRC sh
    ./configure
    make
    make install
  #+END_SRC

  When building from a Git checkout, the following spell is necessary
  before running any of the above commands:

  #+BEGIN_SRC sh
    ./bootstrap
  #+END_SRC

  GNU Guix users may install the current development snapshot
  described in =guix.scm= with the following command:

  #+BEGIN_SRC sh
    guix package -f guix.scm
  #+END_SRC

* Developing

  To build the source code from a Git checkout, run the following:

  #+BEGIN_SRC sh
    ./bootstrap
    ./configure
    make
  #+END_SRC

  To start a Guile REPL with a pre-configured load path for using
  guile-fontconfig, use the =pre-inst-env= script:

  #+BEGIN_SRC sh
    ./pre-inst-env guile
  #+END_SRC

  GNU Guix users may create a development environment with all of the
  necessary dependencies by running the following command:

  #+BEGIN_SRC sh
    guix environment -l guix.scm
  #+END_SRC

* Contact & Credits

  Bug reports and patches may be sent to <nicolo@nixo.xyz>.

  This repository and this library is based on David Thomson's
  Guile-SDL2, available [[https://dthompson.us/projects/guile-sdl2.html][here]] and distributed under GNU LGPLv3+.