File tree 5 files changed +8
-4
lines changed
5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 18
18
name : Install Package Dependencies
19
19
command : |
20
20
sudo apt-get update
21
- sudo apt-get install -y imagemagick texlive-latex-base
21
+ sudo apt-get install -y texlive-latex-base
22
+ sudo wget https://imagemagick.org/archive/binaries/magick
23
+ sudo cp magick /usr/local/bin
24
+ sudo chmod 777 /usr/local/bin/magick
22
25
sudo dpkg --remove --force-remove-reinstreq nodejs
23
26
stack update
24
27
Original file line number Diff line number Diff line change 34
34
- Added test cases for the index function in ` Controllers/Course `
35
35
- Refactored the class components in ` /grid ` folder to function components
36
36
- Update stylelint integration with development environment and fix existing stylelint violations
37
+ - Use ` magick ` command instead of ` convert ` when serving graph images
37
38
38
39
## [ 0.6.0] - 2024-06-24
39
40
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ main = defaultMainWithHooks
9
9
where
10
10
-- | Checks that Imagemagick and LaTeX are available
11
11
preBuildChecks _ _ = do
12
- mapM_ checkDependency [" convert " , " pdflatex" ]
12
+ mapM_ checkDependency [" magick " , " pdflatex" ]
13
13
return emptyHookedBuildInfo
14
14
15
15
checkDependency :: String -> IO ()
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ convertToImage :: String -> String -> IO
26
26
Maybe Handle ,
27
27
ProcessHandle )
28
28
convertToImage inName outName =
29
- createProcess $ shell $ " convert " ++ inName ++ " " ++ outName
29
+ createProcess $ shell $ " magick " ++ inName ++ " " ++ outName
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ parseTextHelper key styles' trans textTags =
193
193
newTrans = matrixMultiply trans currTrans
194
194
alignAttr = styleVal " text-anchor" newStyle
195
195
align = if T. null alignAttr
196
- then " begin "
196
+ then " start "
197
197
else alignAttr
198
198
fill = styleVal " fill" newStyle
199
199
You can’t perform that action at this time.
0 commit comments