-
Notifications
You must be signed in to change notification settings - Fork 369
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
it doesn't support other language. #46
Comments
Hi @ibyoung - Outside of Western European languages you need to provide a font for PDFs. Fortunately, Google has organised noto fonts for most scripts. Unfortunately, they are only in otf format which this project does not support. So I searched the web, and found someone had nicely converted the cjk preview of noto to ttf which this project does support. Long story short, you can download cjk fonts from noto-sans-cjk and use them like so: <html>
<head>
<style>
@font-face {
font-family: 'cjk';
src: url(NotoSansCJKtc-Regular.ttf);
}
</style>
</head>
<body>
<p style="font-family: 'cjk';font-size: 40px;">WHITE 白い(default)</p>
</body>
</html> |
Can you paste the java code? Thanks |
this is my html.
`
WHITE 白い(default)
`but when i run TestcaseRunner, the pdf display
WHITE ##(default)
The text was updated successfully, but these errors were encountered: