packages feed

SVGFonts-0.4: SVGFonts.cabal

Name:             SVGFonts
Version:          0.4
Synopsis:         Fonts from the SVG-Font format
Description:      SVG-Font is a very easy to parse format and was therefore chosen for a font library
                  completely written in Haskell
                  .
                  To use this library with your own font, the font has to be converted with <http://fontforge.sourceforge.net/>
				  Features
                  .
                  * A very easy and powerful functional interface, see the Font.hs example
                  .
                  * The generated outlines can be transformed in various ways, i.e.
                    elimination of holes for easy extrusion (with the triangulation library)
                  .
                  * complete implementation of the SVG-Font format, that allows Kerning
                    (i.e. the two characters in "VA" have a shorter distance than in "VV")
                  .
                  * Everything is stored in a simple SceneGraph data type: <http://hackage.haskell.org/package/collada-types>
                  .
                  .
                  Some speed issues are left to be solved (xml) and rasterization is not finnished
                  .
                  Speed issues can be solved by trimming the svg file to only those characters that are used
                  .
category:         Graphics
License:          BSD3
License-file:     LICENSE
Author:           Tillmann Vogt
Maintainer:       Tillmann.Vogt@rwth-aachen.de
Build-Type:       Simple
Cabal-Version:    >=1.6

data-files: src/Test/*.svg

Library
    hs-source-dirs: src
    other-modules: Paths_SVGFonts
    build-depends:
        haskell98,
        base == 4.*,
        OpenGL >= 2.2.3.0,
        GLUT >= 2.1.2.1,
        xml == 1.3.*,
        parsec == 3.1.*,
        array,
        containers == 0.4.*,
        SVGPath == 1.0.*,
        split == 0.1.*,
        directory == 1.1.*,
        bytestring == 0.9.1.*,
        tga,
        tuple,
        collada-types >= 0.2,
        collada-output >= 0.5,
        triangulation >= 0.2
    exposed-modules:
        Graphics.SVGFonts.ReadFont
        Graphics.SVGFonts.RasterFont
Executable Fonts
    hs-source-dirs: src
    main-is:        Test/Fonts.hs
    other-modules:  Graphics.SVGFonts.ReadFont, Paths_SVGFonts