packages feed

HPDF 1.4.1 → 1.4.2

raw patch · 1 files changed

+5/−3 lines, 1 filesdep ~basePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base

API changes (from Hackage documentation)

- Graphics.PDF.Typesetting: instance (Style s) => MonadStyle s (Para s)
- Graphics.PDF.Typesetting: instance (Style s) => MonadStyle s (TM ps s)
+ Graphics.PDF.Typesetting: instance Style s => MonadStyle s (Para s)
+ Graphics.PDF.Typesetting: instance Style s => MonadStyle s (TM ps s)
- Graphics.PDF.Action: class (PdfObject a) => Action a
+ Graphics.PDF.Action: class PdfObject a => Action a
- Graphics.PDF.Colors: fillColor :: (MonadPath m) => Color -> m ()
+ Graphics.PDF.Colors: fillColor :: MonadPath m => Color -> m ()
- Graphics.PDF.Colors: strokeColor :: (MonadPath m) => Color -> m ()
+ Graphics.PDF.Colors: strokeColor :: MonadPath m => Color -> m ()
- Graphics.PDF.Coordinates: dot :: (RealFloat t) => Complex t -> Complex t -> t
+ Graphics.PDF.Coordinates: dot :: RealFloat t => Complex t -> Complex t -> t
- Graphics.PDF.Coordinates: project :: (RealFloat t) => Complex t -> Complex t -> Complex t
+ Graphics.PDF.Coordinates: project :: RealFloat t => Complex t -> Complex t -> Complex t
- Graphics.PDF.Coordinates: projectX :: (RealFloat t) => Complex t -> Complex t
+ Graphics.PDF.Coordinates: projectX :: RealFloat t => Complex t -> Complex t
- Graphics.PDF.Coordinates: projectY :: (RealFloat t) => Complex t -> Complex t
+ Graphics.PDF.Coordinates: projectY :: RealFloat t => Complex t -> Complex t
- Graphics.PDF.Coordinates: scalePt :: (RealFloat t) => t -> Complex t -> Complex t
+ Graphics.PDF.Coordinates: scalePt :: RealFloat t => t -> Complex t -> Complex t
- Graphics.PDF.Document: drawXObject :: (PDFXObject a) => PDFReference a -> Draw ()
+ Graphics.PDF.Document: drawXObject :: PDFXObject a => PDFReference a -> Draw ()
- Graphics.PDF.Shapes: addShape :: (Shape a) => a -> Draw ()
+ Graphics.PDF.Shapes: addShape :: Shape a => a -> Draw ()
- Graphics.PDF.Shapes: fill :: (Shape a) => a -> Draw ()
+ Graphics.PDF.Shapes: fill :: Shape a => a -> Draw ()
- Graphics.PDF.Shapes: fillAndStroke :: (Shape a) => a -> Draw ()
+ Graphics.PDF.Shapes: fillAndStroke :: Shape a => a -> Draw ()
- Graphics.PDF.Shapes: fillAndStrokeEO :: (Shape a) => a -> Draw ()
+ Graphics.PDF.Shapes: fillAndStrokeEO :: Shape a => a -> Draw ()
- Graphics.PDF.Shapes: fillEO :: (Shape a) => a -> Draw ()
+ Graphics.PDF.Shapes: fillEO :: Shape a => a -> Draw ()
- Graphics.PDF.Shapes: setDash :: (MonadPath m) => DashPattern -> m ()
+ Graphics.PDF.Shapes: setDash :: MonadPath m => DashPattern -> m ()
- Graphics.PDF.Shapes: setLineCap :: (MonadPath m) => CapStyle -> m ()
+ Graphics.PDF.Shapes: setLineCap :: MonadPath m => CapStyle -> m ()
- Graphics.PDF.Shapes: setLineJoin :: (MonadPath m) => JoinStyle -> m ()
+ Graphics.PDF.Shapes: setLineJoin :: MonadPath m => JoinStyle -> m ()
- Graphics.PDF.Shapes: setMiterLimit :: (MonadPath m) => PDFFloat -> m ()
+ Graphics.PDF.Shapes: setMiterLimit :: MonadPath m => PDFFloat -> m ()
- Graphics.PDF.Shapes: setNoDash :: (MonadPath m) => m ()
+ Graphics.PDF.Shapes: setNoDash :: MonadPath m => m ()
- Graphics.PDF.Shapes: setWidth :: (MonadPath m) => PDFFloat -> m ()
+ Graphics.PDF.Shapes: setWidth :: MonadPath m => PDFFloat -> m ()
- Graphics.PDF.Shapes: stroke :: (Shape a) => a -> Draw ()
+ Graphics.PDF.Shapes: stroke :: Shape a => a -> Draw ()
- Graphics.PDF.Typesetting: boxAscent :: (Box a) => a -> PDFFloat
+ Graphics.PDF.Typesetting: boxAscent :: Box a => a -> PDFFloat
- Graphics.PDF.Typesetting: boxDescent :: (Box a) => a -> PDFFloat
+ Graphics.PDF.Typesetting: boxDescent :: Box a => a -> PDFFloat
- Graphics.PDF.Typesetting: boxHeight :: (Box a) => a -> PDFFloat
+ Graphics.PDF.Typesetting: boxHeight :: Box a => a -> PDFFloat
- Graphics.PDF.Typesetting: boxWidth :: (Box a) => a -> PDFFloat
+ Graphics.PDF.Typesetting: boxWidth :: Box a => a -> PDFFloat
- Graphics.PDF.Typesetting: class (ComparableStyle a) => Style a
+ Graphics.PDF.Typesetting: class ComparableStyle a => Style a
- Graphics.PDF.Typesetting: currentStyle :: (MonadStyle s m) => m s
+ Graphics.PDF.Typesetting: currentStyle :: MonadStyle s m => m s
- Graphics.PDF.Typesetting: displayFormattedText :: (ParagraphStyle ps s) => Rectangle -> ps -> s -> TM ps s a -> Draw a
+ Graphics.PDF.Typesetting: displayFormattedText :: ParagraphStyle ps s => Rectangle -> ps -> s -> TM ps s a -> Draw a
- Graphics.PDF.Typesetting: endPara :: (Style s) => Para s ()
+ Graphics.PDF.Typesetting: endPara :: Style s => Para s ()
- Graphics.PDF.Typesetting: forceNewLine :: (Style s) => Para s ()
+ Graphics.PDF.Typesetting: forceNewLine :: Style s => Para s ()
- Graphics.PDF.Typesetting: getBoxes :: (ParagraphStyle ps s) => ps -> s -> TM ps s a -> [VBox ps s]
+ Graphics.PDF.Typesetting: getBoxes :: ParagraphStyle ps s => ps -> s -> TM ps s a -> [VBox ps s]
- Graphics.PDF.Typesetting: glue :: (MonadStyle s m) => PDFFloat -> PDFFloat -> PDFFloat -> m ()
+ Graphics.PDF.Typesetting: glue :: MonadStyle s m => PDFFloat -> PDFFloat -> PDFFloat -> m ()
- Graphics.PDF.Typesetting: interline :: (ParagraphStyle a s) => a -> Maybe (Rectangle -> Draw ())
+ Graphics.PDF.Typesetting: interline :: ParagraphStyle a s => a -> Maybe (Rectangle -> Draw ())
- Graphics.PDF.Typesetting: isSameStyleAs :: (ComparableStyle a) => a -> a -> Bool
+ Graphics.PDF.Typesetting: isSameStyleAs :: ComparableStyle a => a -> a -> Bool
- Graphics.PDF.Typesetting: kern :: (Style s) => PDFFloat -> Para s ()
+ Graphics.PDF.Typesetting: kern :: Style s => PDFFloat -> Para s ()
- Graphics.PDF.Typesetting: linePosition :: (ParagraphStyle a s) => a -> PDFFloat -> Int -> PDFFloat
+ Graphics.PDF.Typesetting: linePosition :: ParagraphStyle a s => a -> PDFFloat -> Int -> PDFFloat
- Graphics.PDF.Typesetting: lineWidth :: (ParagraphStyle a s) => a -> PDFFloat -> Int -> PDFFloat
+ Graphics.PDF.Typesetting: lineWidth :: ParagraphStyle a s => a -> PDFFloat -> Int -> PDFFloat
- Graphics.PDF.Typesetting: paragraph :: (Style s) => Para s a -> TM ps s a
+ Graphics.PDF.Typesetting: paragraph :: Style s => Para s a -> TM ps s a
- Graphics.PDF.Typesetting: paragraphChange :: (ParagraphStyle a s) => a -> Int -> [Letter s] -> (a, [Letter s])
+ Graphics.PDF.Typesetting: paragraphChange :: ParagraphStyle a s => a -> Int -> [Letter s] -> (a, [Letter s])
- Graphics.PDF.Typesetting: paragraphStyle :: (ParagraphStyle a s) => a -> Maybe (Rectangle -> Draw b -> Draw ())
+ Graphics.PDF.Typesetting: paragraphStyle :: ParagraphStyle a s => a -> Maybe (Rectangle -> Draw b -> Draw ())
- Graphics.PDF.Typesetting: sentenceStyle :: (Style a) => a -> Maybe (Rectangle -> Draw b -> Draw ())
+ Graphics.PDF.Typesetting: sentenceStyle :: Style a => a -> Maybe (Rectangle -> Draw b -> Draw ())
- Graphics.PDF.Typesetting: setParaStyle :: (ParagraphStyle ps s) => ps -> TM ps s ()
+ Graphics.PDF.Typesetting: setParaStyle :: ParagraphStyle ps s => ps -> TM ps s ()
- Graphics.PDF.Typesetting: setStyle :: (MonadStyle s m) => s -> m ()
+ Graphics.PDF.Typesetting: setStyle :: MonadStyle s m => s -> m ()
- Graphics.PDF.Typesetting: startPara :: (Style s) => Para s ()
+ Graphics.PDF.Typesetting: startPara :: Style s => Para s ()
- Graphics.PDF.Typesetting: strokeBox :: (DisplayableBox a) => a -> PDFFloat -> PDFFloat -> Draw ()
+ Graphics.PDF.Typesetting: strokeBox :: DisplayableBox a => a -> PDFFloat -> PDFFloat -> Draw ()
- Graphics.PDF.Typesetting: styleDescent :: (Style a) => a -> PDFFloat
+ Graphics.PDF.Typesetting: styleDescent :: Style a => a -> PDFFloat
- Graphics.PDF.Typesetting: styleHeight :: (Style a) => a -> PDFFloat
+ Graphics.PDF.Typesetting: styleHeight :: Style a => a -> PDFFloat
- Graphics.PDF.Typesetting: textStyle :: (Style a) => a -> TextStyle
+ Graphics.PDF.Typesetting: textStyle :: Style a => a -> TextStyle
- Graphics.PDF.Typesetting: txt :: (Style s) => String -> Para s ()
+ Graphics.PDF.Typesetting: txt :: Style s => String -> Para s ()
- Graphics.PDF.Typesetting: unstyledGlue :: (MonadStyle s m) => PDFFloat -> PDFFloat -> PDFFloat -> m ()
+ Graphics.PDF.Typesetting: unstyledGlue :: MonadStyle s m => PDFFloat -> PDFFloat -> PDFFloat -> m ()
- Graphics.PDF.Typesetting: updateStyle :: (Style a) => a -> a
+ Graphics.PDF.Typesetting: updateStyle :: Style a => a -> a
- Graphics.PDF.Typesetting: wordStyle :: (Style a) => a -> Maybe (Rectangle -> StyleFunction -> Draw b -> Draw ())
+ Graphics.PDF.Typesetting: wordStyle :: Style a => a -> Maybe (Rectangle -> StyleFunction -> Draw b -> Draw ())

Files

HPDF.cabal view
@@ -1,5 +1,5 @@ Name: HPDF-Version: 1.4.1+Version: 1.4.2 cabal-version: >=1.6 License: LGPL License-file:LICENSE@@ -29,9 +29,11 @@  library   if flag(splitBase)-    build-depends: base >= 4 , containers, random >= 1.0, bytestring >= 0.9, array >= 0.1, zlib >= 0.5, binary >= 0.4, mtl+    build-depends: base >= 3 && < 5 , containers, random >= 1.0, bytestring >= 0.9, array >= 0.1, zlib >= 0.5, binary >= 0.4, mtl   else-    build-depends: base >= 3, haskell98, mtl ,zlib >= 0.5, binary >= 0.4+    build-depends: base >= 2 && < 3, haskell98, mtl ,zlib >= 0.5, binary >= 0.4+  if impl(ghc >= 6.10)+    build-depends: base >= 4   ghc-options: -Wall -funbox-strict-fields  -O2   extensions:      FlexibleInstances,