diagrams-postscript 1.3.0.5 → 1.3.0.6
raw patch · 2 files changed
+5/−4 lines, 2 filesdep ~basedep ~data-default-classPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base, data-default-class
API changes (from Hackage documentation)
- Diagrams.Backend.Postscript: instance GHC.Generics.Constructor Diagrams.Backend.Postscript.C1_0OutputFormat
- Diagrams.Backend.Postscript: instance GHC.Generics.Datatype Diagrams.Backend.Postscript.D1OutputFormat
Files
diagrams-postscript.cabal view
@@ -1,5 +1,5 @@ Name: diagrams-postscript-Version: 1.3.0.5+Version: 1.3.0.6 Synopsis: Postscript backend for diagrams drawing EDSL Description: This package provides a modular backend for rendering diagrams created with the diagrams EDSL using Postscript.@@ -23,7 +23,7 @@ Category: Graphics Build-type: Simple Cabal-version: >=1.10-Tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1+Tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1, GHC == 8.0.1 Source-repository head type: git location: https://github.com/diagrams/diagrams-postscript.git@@ -34,13 +34,13 @@ Diagrams.Backend.Postscript.CmdLine Graphics.Rendering.Postscript Hs-source-dirs: src- Build-depends: base >= 4.2 && < 4.9,+ Build-depends: base >= 4.2 && < 4.10, mtl >= 2.0 && < 2.3, filepath, dlist >= 0.5 && < 0.8, diagrams-core >= 1.3 && < 1.4, diagrams-lib >= 1.3 && < 1.4,- data-default-class < 0.1,+ data-default-class < 0.2, statestack >= 0.2 && < 0.3, split >= 0.1.2 && < 0.3, monoid-extras >= 0.3 && < 0.5,
src/Diagrams/Backend/Postscript.hs view
@@ -231,6 +231,7 @@ fromFontWeight :: FontWeight -> C.FontWeight fromFontWeight FontWeightNormal = C.FontWeightNormal fromFontWeight FontWeightBold = C.FontWeightBold+fromFontWeight _ = C.FontWeightNormal postscriptTransf :: Transformation V2 Double -> C.Render () postscriptTransf t = C.transform a1 a2 b1 b2 c1 c2