SVGFonts: Fonts from the SVG-Font format
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.
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")
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.
[Skip to Readme]
|Versions [RSS] [faq]||0.1, 0.2, 0.3, 0.4, 1.0, 1.1, 1.1.1, 1.1.2, 1.2, 1.2.1, 1.3, 18.104.22.168, 22.214.171.124, 1.4, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 1.7, 220.127.116.11, 1.8, 18.104.22.168|
|Dependencies||attoparsec, base (==4.*), blaze-markup (>=0.5), blaze-svg (>=0.3.3), bytestring (>=0.10 && <1.0), cereal, cereal-vector, containers (>=0.4 && <0.7), data-default-class (<0.2), diagrams-core (>=1.3 && <1.6), diagrams-lib (>=1.3 && <1.5), directory (>=1.1), parsec, split, text, vector, xml [details]|
|Source repo||head: git clone https://github.com/diagrams/SVGFonts.git|
|Uploaded||by BrentYorgey at 2021-11-01T14:34:27Z|
|Downloads||30842 total (694 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
Docs available [build log]
Last success reported on 2021-11-01 [all 1 reports]
For package maintainers and hackage trustees
- No Candidates