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