packages feed

SVGFonts 1.6.0.1 → 1.6.0.2

raw patch · 3 files changed

+10/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGES.md view
@@ -1,3 +1,9 @@+1.6.0.2 (21 August 2017)+------------------------++- Bug fix: don't print blank line to stdout when there are no errors. (#23)+  Thanks to Tim Docker for the fix.+ 1.6.0.1 (27 October 2016) ------------------------- 
SVGFonts.cabal view
@@ -1,5 +1,5 @@ Name:             SVGFonts-Version:          1.6.0.1+Version:          1.6.0.2 Synopsis:         Fonts from the SVG-Font format Description:      Native font support for the diagrams framework (<http://projects.haskell.org/diagrams/>). Note that this package can be used with any diagrams backend, not just the SVG backend.  The SVG-font format is easy to parse                   and was therefore chosen for a font library completely written in Haskell.@@ -43,7 +43,7 @@ Author:           Tillmann Vogt Maintainer:       diagrams-discuss@googlegroups.com build-type:       Simple-Cabal-Version:    >=1.10+Cabal-Version:    >=1.18  data-files:       fonts/*.svg extra-source-files: CHANGES.md, README.md, diagrams/*.svg
src/Graphics/SVGFonts/ReadFont.hs view
@@ -19,6 +19,7 @@        , loadFont'        ) where +import           Control.Monad                   (when) import           Data.Char                       (isSpace) import           Data.List                       (intersect, sortBy) import           Data.List.Split                 (splitOn, splitWhen)@@ -340,7 +341,7 @@   let     basename = last $ init $ concat (map (splitOn "/") (splitOn "." filename))     (errors, font) = loadFont' basename s-  putStrLn errors+  when (errors /= "") (putStrLn errors)   return font  -- | Read font data from an XmlSource, and compute its outline map.