Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bepvte committed Feb 6, 2024
1 parent 37c9b95 commit 6447613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get install --no-install-recommends -y libtesseract-dev imagemagick tesseract-ocr-eng fontconfig-config
run: sudo apt-get install --no-install-recommends -y libtesseract-dev imagemagick tesseract-ocr-eng fonts-liberation2

- name: Refresh font cache
run: sudo fc-cache -v
Expand Down
2 changes: 1 addition & 1 deletion src/ocr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ mod tests {
let result = Command::new("convert")
.args(
concat!(
"-background lightblue -fill white -family Arial ",
"-background lightblue -fill white -font Liberation-Sans ",
"-size 300x70 -pointsize 24 -gravity east ",
"label:haystackhayneedle"
)
Expand Down

0 comments on commit 6447613

Please sign in to comment.