We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We are creating a pdf on a Windows machine with:
pdf-creator/write_pdf.py
Lines 113 to 114 in 67768bc
The call to do it is:
python -m write_pdf
The Russian text in section header is illegible:
Possible remedies:
The text was updated successfully, but these errors were encountered:
Selecting a dead-simple path to font (D:/arial.ttf) without cyrillic letters in it helped. Other solution could have been an URL to the font.
D:/arial.ttf
The solution is:
Lines 34 to 44 in 27bbccd
Tracing errors with logging as:
https://github.com/mini-kep/pdf-creator/blob/master/write_pdf.py#L10-L12
gave an such a wierd xhtml2pdf behaviour with __dummy__:
__dummy__
2018-06-26 22:12:05,617 - xhtml2pdf - DEBUG - URLParts: (ParseResult(scheme='c', netloc='', path='\\Users\\Евгений\\Documents\\GitHub\\pdf-creator\\__dummy__', params='', query='', fragment=''), 'c') 2018-06-26 22:12:05,619 - xhtml2pdf - DEBUG - Unrecognized scheme, assuming local file path
Sorry, something went wrong.
No branches or pull requests
We are creating a pdf on a Windows machine with:
pdf-creator/write_pdf.py
Lines 113 to 114 in 67768bc
The call to do it is:
The Russian text in section header is illegible:
Possible remedies:
The text was updated successfully, but these errors were encountered: