Skip to content

Commit

Permalink
#2696 convert svg, not pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 14, 2023
1 parent dcd53ee commit c222284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ebnf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
cp "eo-parser/target/ebnf/org/eolang/parser/${p}.pdf" .
pdfcrop --margins '10 10 10 10' "${p}.pdf" "${p}-cropped.pdf"
pdf2svg "${p}-cropped.pdf" "${p}.svg"
convert -density 300 -quality 100 -transparent-color white -colorspace RGB "${p}-cropped.pdf" "${p}.png"
convert -density 300 -quality 100 -transparent-color white -colorspace RGB "${p}.svg" "${p}.png"
mkdir -p gh-pages/ebnf
cp "${p}.png" gh-pages/ebnf
cp "${p}.svg" gh-pages/ebnf
Expand Down

0 comments on commit c222284

Please sign in to comment.