wumpus-basic: Common drawing utilities built on wumpus-core.

[ bsd3, graphics, library ] [ Propose Tags ]

** WARNING ** - this package is sub-alpha, it was released to Hackage prematurely and while its capabilities have improved with subsequent updates it is arguably becoming even less stable and more experimental (unfortunately the only thing consistent about the API is that it consistently changes...).

Version 0.13.0 significantly differs form the previous release as font metrics support has been added and the core graphic types have been redesigned. With these re-workings some modules that were previously fairly stable have changed substantially or are likely to change soon (Basic.PictureLanguage has become Basic.DrawingComposition; Basic.SafeFonts no longer seems very SVG safe so it is marked as pending change).

NOTE - many of the demos now use font metrics. Font metrics for the "Core 14" PostScript fonts are distributed as *.afm files with GhostScript in the fonts directory. Wumpus expects the GhostScript font metrics to be AFM version 2.0 files (this matches GhostScript 8.63). Alternatively, metrics for the Core 14 fonts are available from Adode (AFM version 4.1), see the links below. To run the demos properly you will need one of these sets of metrics.

Adobe Font techinal notes: https://www.adobe.com/devnet/font.html

Core 14 AFM metrics: https://www.adobe.com/content/dam/Adobe/en/devnet/font/pdfs/Core14_AFMs.tar

WARNING - the font metrics parsing in version 0.13.0 is essentially a proof-of-concept and is not very robust. Generally, if a font cannot be parsed, fallback metrics will be used. At the moment there no error logging, so there is little indication of whether Wumpus has used the correct metrics or the fallback for a requested font.


  1. 12.0 to 0.13.0:

Versions [RSS] [faq] 0.1.1, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.12.0, 0.13.0, 0.14.0, 0.15.0, 0.16.0, 0.17.0, 0.18.0, 0.20.0, 0.21.0, 0.22.0, 0.24.0
Change log CHANGES
Dependencies base (<5), containers (>=0.3 && <=0.4), directory (>=1.0 && <2.0), filepath (>=1.1 && <2.0), vector-space (>=0.6 && <1.0), wumpus-core (==0.40.0) [details]
License BSD-3-Clause
Copyright Stephen Tetley <stephen.tetley@gmail.com>
Maintainer Stephen Tetley <stephen.tetley@gmail.com>
Category Graphics
Home page http://code.google.com/p/copperbox/
Uploaded by StephenTetley at 2010-11-28T15:52:01Z
Distributions NixOS:0.24.0
Downloads 12867 total (92 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees