This question is related to my previous post (http://www.princexml.com/bb/viewtopic.php?t=62229).
When special characters like arrows are used, Prince cannot use the specified font-family and defaults to Times New Roman. Firefox behaves the same. Safari, Chrome and Opera handle this correctly.
There are two problems with this behavior :
You’ll find images and related code below.
Any idea how to solve this ?
Regards,
Nicolas
When special characters like arrows are used, Prince cannot use the specified font-family and defaults to Times New Roman. Firefox behaves the same. Safari, Chrome and Opera handle this correctly.
There are two problems with this behavior :
- The look is not what it should.
- Times New Roman font is also embedded in the pdf and increases the file size.
You’ll find images and related code below.
Any idea how to solve this ?
Regards,
Nicolas
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Test Font Used</title>
</head>
<body>
<p style="font-family: Times New Roman; font-size: 3em;">
↓←→↑
</p>
<p style="font-family: Helvetica Neue; font-size: 3em;">
↓←→↑
</p>
</body>
</html>