-
Notifications
You must be signed in to change notification settings - Fork 1.8k
CSS @font-face not loading with TTF font #1600
Comments
can you post sample HTML/CSS to reproduce the issue? |
html : html dir="ltr"> /body> /html> CSS: @font-face { font-family: 'krutibold'; src: url(krutibold.ttf) format('truetype'); } And krutibold.ttf is in same folder |
Are you viewing this from a web server or from filesystem? Also, please upload the file somewhere so that I can verify it.. |
I have attached files here .I have attached font(ttf) file also. I checked in both server and file-system same issue |
Did this get resolved? I'm having a similar issue with wkhtmltoimage. I've mocked something up quickly and I'm running it locally. I've linked to a google font that I want preserved in the image but when I run wkhtmltoimage it reverts to the default sans-serif font instead of using the font specified. If you have any insight into this, it would be great. |
Sorry, I haven't been able to investigate this issue yet. |
Can you verify if the output is better with |
I am using wkhtmltopdf to convert a Hindi(kruti) font html document to pdf .But the Hindi font is not rendering in the generated PDF.
HTML if i open in chrome its showing correct.
version :0.12
OS: winxp
The text was updated successfully, but these errors were encountered: