summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Cochrane <alcinnz@lavabit.com>2022-02-23 19:27:02 +1300
committerAdrian Cochrane <alcinnz@lavabit.com>2022-02-23 19:27:02 +1300
commitd574562b005a1e2aa77719a20705325ad6bc114a (patch)
tree3379082050bb528747c79e7f5ad89c2cbdc47d7a
parent5cd811b35c2efba244620af2db4de77283fbca78 (diff)
downloadharfbuzz-pure-master.tar.gz
harfbuzz-pure-master.tar.bz2
harfbuzz-pure-master.zip
Finalize release 0.1!HEADmaster
-rw-r--r--Data/Text/Glyphize.hs2
-rw-r--r--harfbuzz-pure.cabal6
2 files changed, 5 insertions, 3 deletions
diff --git a/Data/Text/Glyphize.hs b/Data/Text/Glyphize.hs
index ab09b13..9423773 100644
--- a/Data/Text/Glyphize.hs
+++ b/Data/Text/Glyphize.hs
@@ -22,6 +22,8 @@ shape :: Font -> Buffer -> [(GlyphInfo, GlyphPos)]
shape font buf = shapeWithFeatures font buf []
-- FIXME Certain input text can trigger a segfault. I'm not sure how to debug this.
+-- Thought for a moment I fixed it with a semaphore
+-- (seems related to number of threads), but appears not...
data Feature = Feature {
tag :: String,
diff --git a/harfbuzz-pure.cabal b/harfbuzz-pure.cabal
index b0badbf..02f4bc9 100644
--- a/harfbuzz-pure.cabal
+++ b/harfbuzz-pure.cabal
@@ -60,8 +60,8 @@ library
-- other-extensions:
-- Other library packages from which modules are imported.
- build-depends: base >=4.9 && <5, bytestring, text, text-short, utf8-light
- , freetype2 >= 0.2
+ build-depends: base >=4.9 && <5, freetype2 >= 0.2,
+ bytestring >= 0.10.8.2 && < 0.12, text >= 1 && <3, utf8-light >= 0.3 && < 1
pkgconfig-depends: harfbuzz
-- Directories containing source files.
@@ -75,7 +75,7 @@ executable shape-text
main-is: Main.hs
-- Other library packages from which modules are imported
- build-depends: base >=4.9 && <5, harfbuzz-pure, parallel, bytestring
+ build-depends: base >=4.9 && <5, harfbuzz-pure, parallel >= 2.2 && < 4, bytestring
-- Directories containing source files.
hs-source-dirs: .