ok now
parent
c1370cf6b1
commit
e63c4006db
|
|
@ -25,7 +25,9 @@ cp homebrew/homebrew.html $outdir/public/index.html
|
|||
cp -r ./homebrew/fonts $outdir/public/
|
||||
|
||||
echo PRINTING PDF
|
||||
echo ...which google
|
||||
which google-chrome-stable
|
||||
echo ...which miniserve
|
||||
which miniserve
|
||||
miniserve $outdir/public &
|
||||
pid=${!}
|
||||
|
|
@ -37,10 +39,10 @@ google-chrome-stable \
|
|||
--print-to-pdf=$outdir/public/BreeLaPointeResume.pdf \
|
||||
--run-all-compositor-stages-before-draw \
|
||||
--no-pdf-header-footer \
|
||||
http://localhost:8080
|
||||
kill $pid
|
||||
cat $outdir/public/BreeLaPointeResume.pdf | base64 | tr -d '\n'; echo
|
||||
false
|
||||
http://localhost:8080/index.html
|
||||
sleep 5
|
||||
kill $pid || true
|
||||
ls $outdir/public/BreeLaPointeResume.pdf
|
||||
|
||||
(
|
||||
if ! which woff2_compress; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue