Comments (4)
Internally, the project uses wkhtmltopdf
for PDF generation. I've really not looked too deeply into it. There may be some options that could be added. If you have time, try processing the html output file with wkhtmltopdf and see if you can get a smaller or better output.
Keep me posted and we can make a PR or change. Thanks!
https://github.com/there4/markdown-resume/blob/master/src/Resume/Command/PdfCommand.php#L72
from markdown-resume.
There is some info here that might indicate it's worth trying out some different font options and perhaps a new wkthmltopdf build: wkhtmltopdf/wkhtmltopdf#1747
edit: wkhtmltopdf 0.12.2-dev-5dea253
is generating significantly smaller file sizes, and generates selectable text. However, in the modern template, I'm seeing a couple of stray unicode squares that I'm not sure of the source of.
from markdown-resume.
I was able to get the 32-bit version, and it made my PDF so much smaller (from 1.7MB to about 35k). There were a few weird boxes that showed up as a result of some character encoding I think, but I masked them easily enough in PDFPen.
Thanks for the tip!
from markdown-resume.
Just an FYI, this issue persists on OS X, due to an underlying bug in QT (one of wkhtmltopdf's dependencies). Unfortunately for OS X, there is no v0.12 beta to download. The only (apparent) solution until v0.13 is released is to build from source with a patched version of QT. Both of those linked pages have outdated build instructions, however. I did discover a binary available for OS X 10.9, but have not tested. If you do decide to build from source, expect to lose 6 hours.
from markdown-resume.
Related Issues (20)
- PDF output is tiny HOT 4
- Project is unlicensed HOT 4
- Please run `composer install` to install dependencies HOT 7
- Links strangely generated HOT 1
- README has incorrect instructions HOT 1
- Running ./bin/md2resume results in error message - Linux HOT 4
- Running `composer install` doesn't produce md2resume_dev.php file HOT 2
- Usage with Docker HOT 2
- Trailing spaces required for linebreak HOT 2
- The dependency '' was not found. Please run `composer install` to install dependencies. HOT 3
- Generating a PDF results in a non A4 format HOT 3
- Repo clone command fails HOT 1
- More documentation on how to use this with Docker HOT 4
- How to run development build inside Docker container? HOT 1
- Newest commit breaks modern template HOT 2
- Invalid template HOT 2
- Fix version of wkhtml from Dockerfile
- Add docker-compose.yml to allow for more customizable Docker environment
- Using the tool as of march 2022: configuration drift in Dockerfile
- chinese failed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-resume.