<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - form exported as pdf does not embed all required fonts"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=50879#c35">Comment # 35</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - form exported as pdf does not embed all required fonts"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=50879">bug 50879</a>
from <span class="vcard"><a class="email" href="mailto:gellert.gyuris@gmail.com" title="Gellért Gyuris <gellert.gyuris@gmail.com>"> <span class="fn">Gellért Gyuris</span></a>
</span></b>
<pre>Workaround... add this script to exported PDF as a top-level document
JavaScript:
function updateFields() {
for ( var fieldNumber = 0; fieldNumber < this.numFields; fieldNumber++) {
getField(getNthFieldName(fieldNumber)).textFont = font.Helv;
}
}
updateFields();
Other fonts:
Times-Roman = font.Times
Times-Bold = font.TimesB
Times-Italic = font.TimesI
Times-BoldItalic = font.TimesBI
Helvetica = font.Helv
Helvetica-Bold = font.HelvB
Helvetica-Oblique = font.HelvI
Helvetica-BoldOblique = font.HelvBI
Courier = font.Cour
Courier-Bold = font.CourB
Courier-Oblique = font.CourI
Courier-BoldOblique = font.CourBI
Symbol = font.Symbol
ZapfDingbats = font.ZapfD</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>