<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unicode strings saved as literal strings"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91058#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Unicode strings saved as literal strings"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91058">bug 91058</a>
from <span class="vcard"><a class="email" href="mailto:mkasik@redhat.com" title="Marek Kasik <mkasik@redhat.com>"> <span class="fn">Marek Kasik</span></a>
</span></b>
<pre>The problem is actually in PDF specification. It doesn't specify how to deal
with non-ascii text in forms. All simple fonts (chapter 5.5) use 8bit codes
which is not enough so they can not be used generally (including all the 14
base fonts).
One possibility here seems to use a CID font.
Or try to go beyond the 8bit constraint and try to find whether the font you
use has the the glyphs for the Unicode characters you use when rendering text.
Btw, this comment summarises font problems arising when changing a text in PDF
quite well: <a href="http://stackoverflow.com/a/15973614">http://stackoverflow.com/a/15973614</a>.
Btw2, Adobe Reader stores text which includes non-ascii characters as unicode
hexadecimal strings and ascii only text as normal strings. But it also changes
font in the PDF to a CID font in the non-ascii case.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>