diff --git a/SVGFonts.cabal b/SVGFonts.cabal index cb89957..4e21e70 100644 --- a/SVGFonts.cabal +++ b/SVGFonts.cabal @@ -50,7 +50,7 @@ Library cereal, cereal-vector, containers >= 0.4 && < 0.8, - data-default >= 0.8 && < 0.9, + data-default-class >= 0.1 && < 0.3, diagrams-core >= 1.3 && < 1.6, diagrams-lib >= 1.3 && < 1.5, directory >= 1.1, diff --git a/src/Graphics/SVGFonts/Text.hs b/src/Graphics/SVGFonts/Text.hs index 515d110..eed3113 100644 --- a/src/Graphics/SVGFonts/Text.hs +++ b/src/Graphics/SVGFonts/Text.hs @@ -31,7 +31,7 @@ module Graphics.SVGFonts.Text import Control.Arrow (second) -import Data.Default +import Data.Default.Class import Diagrams.Prelude hiding (font, text, width, height, envelope) import qualified Data.Map as Map import Data.Maybe (fromMaybe)