SVGFonts

Version 1.8.0.1 revision 2 uploaded by BrentYorgey.

Package meta

Synopsis
Fonts from the SVG-Font format
Description

Native font support for the diagrams framework (https://diagrams.github.io/). Note that this package can be used with any diagrams backend, not just the SVG backend. The SVG-font format is easy to parse and was therefore chosen for a font library completely written in Haskell.

You can convert your own font to SVG with http://fontforge.github.io/, or use the included LinLibertine and Bitstream fonts.

Features:

  • Complete implementation of the features that Fontforge produces (though not the complete SVG format)

  • Kerning (i.e. the two characters in "VA" are closer than the characters in "VV")

  • Unicode

  • Ligatures

XML speed issues can be solved by trimming the svg file to only those characters that are used (or maybe binary xml one day).

Version 1.0 of this library supports texturing, though this only makes sense in a diagrams backend that does rasterization in Haskell, such as diagrams-rasterific.

Note: for help porting pre-1.8 code to SVGFonts-1.8, see the README.

Author
Tillmann Vogt
Bug reports
n/a
Category
Graphics
Copyright
n/a
Homepage
n/a
Maintainer
diagrams-discuss@googlegroups.com
Package URL
n/a
Stability
n/a

Components