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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
nixo b7da6362c2 fontconfig/pattern.scm (pattern-get): Take symbol instead of string. 2 years ago
examples fontconfig/pattern.scm (pattern-get): Take symbol instead of string. 2 years ago
fontconfig fontconfig/pattern.scm (pattern-get): Take symbol instead of string. 2 years ago
.gitignore git: ignore config.scm 2 years ago
AUTHORS Init 2 years ago
COPYING Init 2 years ago
Makefile.am Init 2 years ago
README Init 2 years ago
bootstrap Init 2 years ago
configure.ac Init 2 years ago
fontconfig.scm Init 2 years ago
guix.scm Init 2 years ago
pre-inst-env.in Init 2 years ago

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+.