hgg-rasterific-0.1.0.0: hgg-rasterific.cabal
cabal-version: 3.0
name: hgg-rasterific
version: 0.1.0.0
extra-doc-files: CHANGELOG.md
synopsis: PNG backend for hgg (Rasterific + JuicyPixels)
description:
Raster PNG backend for hgg. Interprets the [Primitive] list from
hgg-core with Rasterific (a pure-Haskell rasterizer, BSD-3) and encodes
PNG via JuicyPixels, in the same single-pass architecture as the
SVG / PDF backends. Fonts are loaded from TrueType files via
FontyFruity, so CJK labels are fully supported (complementing the
Latin-only PDF backend).
license: BSD-3-Clause
homepage: https://github.com/frenzieddoll/hgg
license-file: LICENSE
author: Toshiaki Honda
maintainer: frenzieddoll@gmail.com
copyright: 2026 Aelysce Project (Toshiaki Honda)
category: Graphics
build-type: Simple
common warnings
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wpartial-fields
-Wredundant-constraints
library
import: warnings
exposed-modules: Graphics.Hgg.Backend.Rasterific
hs-source-dirs: src
build-depends: base >= 4.17 && < 5
, directory >= 1.3 && < 1.4
, filepath >= 1.4 && < 1.6
, text >= 2.0 && < 2.2
, FontyFruity >= 0.5.3 && < 0.6
, JuicyPixels >= 3.3 && < 3.4
, Rasterific >= 0.7.5 && < 0.8
, hgg-core ^>= 0.1
, hgg-frame ^>= 0.1
default-language: Haskell2010
test-suite hgg-rasterific-tests
import: warnings
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
default-language: Haskell2010
build-depends: base
, bytestring
, directory
, filepath
, hspec >= 2.10 && < 2.12
, text
, FontyFruity
, JuicyPixels
, hgg-core
, hgg-rasterific