Skip to content

Commit

Permalink
remove font specification for image magick (#1405)
Browse files Browse the repository at this point in the history
Description
On some machines, the validation script can fail because the Courier font was not present in imagemagick.

Solution
This can be fixed by just not specifying a font. This fixes the issue and does not have any consequences.
  • Loading branch information
blaisb authored Jan 14, 2025
1 parent b676be5 commit 2f5f4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dem/3d-rectangular-hopper/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ cp $plots $folder
cp $data $folder

# Append the information to the report
magick -density 300 -pointsize 12 -font Courier text:mass-and-discharge-rate.txt mass-and-discharge-rate.pdf
magick -density 300 -pointsize 12 text:mass-and-discharge-rate.txt mass-and-discharge-rate.pdf

magick -density 300 $output_root/report.pdf mass-and-discharge-rate.pdf $plots -quality 100 $output_root/temporary.pdf
cp $output_root/temporary.pdf $output_root/report.pdf
Expand Down

0 comments on commit 2f5f4c4

Please sign in to comment.