skia-canvas
Version:
A multi-threaded, GPU-accelerated, Canvas API for Node
26 lines (21 loc) • 1.21 kB
Plain Text
<fontconfig>
<description>Fallback configuration (for skia-canvas's embedded libfontconfig)</description>
<!--
This file is only used when running on a Linux system that doesn't have fontconfig files in /etc/fonts
and hasn't had its config paths overridden via the FONTCONFIG_PATH or FONTCONFIG_FILE environment variables.
See the docs for details on how to write your own system-specific configuration and where to put it:
https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
https://wiki.archlinux.org/title/Font_configuration
-->
<!-- look for fonts in common system locations & `~/.local/share/fonts` -->
<dir>/usr/share/fonts</dir>
<dir>/usr/share/X11/fonts/Type1</dir> <dir>/usr/share/X11/fonts/TTF</dir> <dir>/usr/local/share/fonts</dir>
<dir prefix="xdg">fonts</dir>
<!-- look for config files in `~/.config/fontconfig` -->
<include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
<include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
<!-- try to find a writable cache dir -->
<cachedir prefix="xdg">fontconfig</cachedir>
<cachedir>~/.fontconfig</cachedir>
<cachedir>/tmp</cachedir>
</fontconfig>