Forum Bugs

'text align: justify; ' problems in Chinese rendering

zhinian
I set 'text align: justify;' in the style, but the generated PDF is inconsistent with the expected effect. Is there a problem with my setting? Or the generated problem.

Here is HTML:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<style>
.text{
width: 200px;
height: 200px;
font-size: 16px;
text-align: justify;
font-family: 'Microsoft YaHei';
}
</style>
<body>
<div class="text">
<p>
测试测试1测试测试32测试a测fs试33测试测da试3测试测试测试bds测试测dsdsa试测ff试试测试测dsd试测试测试测试试测试测试测试测试测试
</p>
</div>
</body>
</html>

Please see the attachment for details of chrome screenshots and PDF screenshots
  1. chrome.png8.5 kB
  2. pdf.png39.9 kB
mikeday
Please apply "text-justify: prince-cjk" as well.
zhinian
Thank you,I'll try.
zhinian
The problem is solved,thank you very much indeed