-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pdfmake printing issues #51
Comments
the major culprit is the Roboto fonts. https://code.google.com/p/android/issues/detail?id=38383 |
I embedded arial font, that is also not work.... |
Unfortunately I'm unable to reproduce this :( |
i think that's exactly that's i am got in #103 . It's reproducing in the playground. |
We used the following approach to fix the problem See comment from 'tonitornado' - foliojs/pdfkit#69.
|
Can you give a completed vfs_fonts.js? I am using times new roman too |
@pcpuser - thanks for the links !!! I've upgraded Roboto fonts (vfs_fonts in 0.1.11 already contains them). Can't check them though (I don't have a troublesome printer). |
related to #113, working now |
Tinkering with pdfMake, I found that in making a table, if a data value is a number rather than a string, it causes an error in DocMeasure in measureNode. I got an "Unrecognized document structure: 25" so I had to wrap in String(). Any thoughts on a pdfMakeLite? A 367kb min.js file is pretty a large file! Things like compression, Roboto default font, etc. might be candidates to remove (I only want to print tables!). Angular.min is only about 100kb. |
please some of the pdfs generated by the pdfmake are not printable by printers. Some of the documents when printed would print characters such as "!#&@$" . Some printers would error out "49.4C02". Please excuse me if I have not given enough details, but can you suggest how we can get around printer issues, and, is there a way to generate image instead of pdf.
Your help is really appreciated
The text was updated successfully, but these errors were encountered: