freetype2-0.0.1: freetype2.cabal
Name: freetype2
Version: 0.0.1
Synopsis: Haskell binding for FreeType 2 library
Description: Wrapper around FreeType 2 library. Relevant
exerpts from the FreeType 2 website:
.
What is FreeType 2?
.
FreeType 2 is a software font engine that is
designed to be small, efficient, highly
customizable, and portable while capable of
producing high-quality output (glyph images). It
can be used in graphics libraries, display
servers, font conversion tools, text image
generation tools, and many other products as
well.
.
The following is a non-exhaustive list of
features provided by FreeType 2.
.
* FreeType 2 provides a simple and easy-to-use
API to access font content in a uniform way,
independently of the file format. Additionally,
some format-specific APIs can be used to access
special data in the font file.
.
* Unlike most comparable libraries, FreeType 2
supports scalable font formats like TrueType or
Type 1 natively and can return the outline data
(and control instructions/hints) to client
applications.
.
By default, FreeType 2 supports the following
font formats.
.
* TrueType fonts (and collections)
.
* Type 1 fonts
.
* CID-keyed Type 1 fonts
.
* CFF fonts
.
* OpenType fonts (both TrueType and CFF variants)
.
* SFNT-based bitmap fonts
.
* X11 PCF fonts
.
* Windows FNT fonts
.
* BDF fonts (including anti-aliased ones)
.
* PFR fonts
.
* Type 42 fonts (limited support)
.
From a given glyph outline, FreeType 2 is capable
of producing a high-quality monochrome bitmap, or
anti-aliased pixmap, using 256 levels of
'gray'. This is much better than the 5 levels
used by Windows 9x\/98\/NT\/2000 or FreeType 1.
.
FreeType 2 supports all the character mappings
defined by the TrueType and OpenType
specification. It is also capable of
automatically synthetizing a Unicode charmap from
Type 1 fonts, which puts an end to the painful
'encoding translation' headache common with this
format (of course, original encodings are also
available in the case where you need them).
.
The FreeType 2 core API provides simple functions
to access advanced information like glyph names
or kerning data.
.
FreeType 2 provides information that is often not
available from other similar font engines, like
kerning distances, glyph names, vertical metrics,
etc.
.
FreeType 2 provides its own caching subsystem
since release 2.0.1. It can be used to cache
either face instances or glyph images
efficiently.
License: BSD3
License-file: LICENSE
Author: Jason Dagit <dagitj@gmail.com>
Maintainer: Jason Dagit <dagitj@gmail.com>
Copyright: Copyright Jason Dagit 2011
Category: Graphics
Build-type: Simple
Extra-source-files: objs/ftmodule.h
include/*.h
include/freetype/*.h
include/freetype/config/*.h
include/freetype/internal/*.h
include/freetype/internal/services/*.h
src/base/*.h
src/base/*.c
src/truetype/*.h
src/truetype/*.c
src/type1/*.h
src/type1/*.c
src/cff/*.h
src/cff/*.c
src/cid/*.h
src/cid/*.c
src/pfr/*.h
src/pfr/*.c
src/type42/*.h
src/type42/*.c
src/winfonts/*.h
src/winfonts/*.c
src/pcf/*.h
src/pcf/*.c
src/bdf/*.h
src/bdf/*.c
src/sfnt/*.h
src/sfnt/*.c
src/autofit/*.h
src/autofit/*.c
src/pshinter/*.h
src/pshinter/*.c
src/raster/*.h
src/raster/*.c
src/smooth/*.h
src/smooth/*.c
src/cache/*.h
src/cache/*.c
src/gzip/*.h
src/gzip/*.c
src/lzw/*.h
src/lzw/*.c
src/psaux/*.h
src/psaux/*.c
src/psnames/*.h
src/psnames/*.c
Cabal-version: >=1.8
Flag examples
Description: Build example programs
Default: False
Executable freetype-example1
if flag(examples)
Buildable: True
Build-depends: base > 3 && < 5, freetype2, array,
missing-foreign >= 0.1.1 && < 0.2.0
else
Buildable: False
Main-is: Main.hs
Library
-- Modules exported by the library.
Exposed-modules: Graphics.Rendering.FreeType.Internal
Graphics.Rendering.FreeType.Internal.Bitmap
Graphics.Rendering.FreeType.Internal.Face
Graphics.Rendering.FreeType.Internal.GlyphSlot
Graphics.Rendering.FreeType.Internal.Library
Graphics.Rendering.FreeType.Internal.Matrix
Graphics.Rendering.FreeType.Internal.PrimitiveTypes
Graphics.Rendering.FreeType.Internal.Vector
Graphics.Rendering.FreeType.Internal.Glyph
-- Packages needed in order to build this package.
Build-depends: base > 3 && < 5
-- Modules not exported by this package.
-- Other-modules:
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
Build-tools: hsc2hs
ghc-options: -Wall
include-dirs: objs include include/freetype/config
include/freetype
src/base
src/truetype
src/type1
src/cff
src/cid
src/pfr
src/type42
src/winfonts
src/pcf
src/bdf
src/sfnt
src/autofit
src/pshinter
src/raster
src/smooth
src/cache
src/gzip
src/lzw
src/psaux
src/psnames
cc-options: -DFT_CONFIG_CONFIG_H=<ftconfig.h>
-DFT2_BUILD_LIBRARY
-DFT_CONFIG_MODULES_H=<ftmodule.h>
-DDARWIN_NO_CARBON
c-sources:
src/base/ftsystem.c
src/base/ftdebug.c
src/base/ftinit.c
src/base/ftbase.c
src/base/ftbbox.c
src/base/ftbdf.c
src/base/ftbitmap.c
src/base/ftcid.c
src/base/ftfstype.c
src/base/ftgasp.c
src/base/ftglyph.c
src/base/ftgxval.c
src/base/ftlcdfil.c
src/base/ftmm.c
src/base/ftotval.c
src/base/ftpatent.c
src/base/ftpfr.c
src/base/ftstroke.c
src/base/ftsynth.c
src/base/fttype1.c
src/base/ftwinfnt.c
src/base/ftxf86.c
src/truetype/truetype.c
src/type1/type1.c
src/cff/cff.c
src/cid/type1cid.c
src/pfr/pfr.c
src/type42/type42.c
src/winfonts/winfnt.c
src/pcf/pcf.c
src/bdf/bdf.c
src/sfnt/sfnt.c
src/autofit/autofit.c
src/pshinter/pshinter.c
src/raster/raster.c
src/smooth/smooth.c
src/cache/ftcache.c
src/gzip/ftgzip.c
src/lzw/ftlzw.c
src/psaux/psaux.c
src/psnames/psmodule.c
source-repository head
type: git
location: git://github.com/dagit/freetype2.git