-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
??? symbols after convert docx to pdf file #1296
Comments
any specifics? Can you post a code sample? |
OK, but that's probably because the font you are using in the PDF does not support UTF-8. |
Understand. How can i use another font before convert to pdf? |
I'm not to familiar with the PDF libraries, but you can set the font on $xmlWriter->setFont('arial'); |
@moxetiale I'm very sory for the offtop, but what is your Atom color scheme called? |
I have same problem. My .docx file:
.pdf file:
And my php code:
Any suggestions? |
@troosan I have tried the dompdf, the same reasult. I will try $xmlWriter->setFont('arial') later. |
$xmlWriter->setFont('arial') - dont work This is working:
And in file: phpword\src\PhpWord\Writer\HTML\Part\Head.php
|
@jkurowski When composer update or composer install, phpword\src\PhpWord\Writer\HTML\Part\Head.php - will change. Better: |
Do you have a solution for the same problem? |
Works for me. Fonts location in |
Support question successfully answered. |
hello, im getting ??? symbols after convert docx to pdf file any ideas how to fix it?
The text was updated successfully, but these errors were encountered: