<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Sheila,</p>
<p><br>
</p>
<p>So, I just confirmed that the library ASpace uses to convert EAD to PDF ( Apache FOP ) replaces missing fonts with this "#", so we need to add a way to include additional fonts for the PDF generation.</p>
<p><br>
</p>
<p>I've added a ticket here:</p>
<p><a id="LPlnk793220" href="https://archivesspace.atlassian.net/browse/AR-1159">https://archivesspace.atlassian.net/browse/AR-1159</a></p>
<p><br>
</p>
<p><br>
</p>
<p>In regards to your other two EADs, it looks like you have some data problems. </p>
<p><br>
</p>
<p>PC004 has a couple of notes that include <怒> which invalidates the XML. </p>
<p>PC001 has a couple of notes with unclosed <p> tags ( looks like two bioghist notes lack </p> and a scopecontent note has an extra </p> )</p>
<p><br>
</p>
<p>Hopefully we can add the additional font feature in an upcoming release. </p>
<p><br>
</p>
<p>b,chris. <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">Chris Fitzpatrick | <font size="2">Developer, ArchivesSpace</font><br>
Skype: chrisfitzpat | Phone: 918.236.6048<br>
http://archivesspace.org/<br>
</div>
</font></div>
</div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Sheila CHEUNG
Sze Lui <sheila@ln.edu.hk><br>
<b>Sent:</b> Wednesday, March 18, 2015 10:25 AM<br>
<b>To:</b> archivesspace_users_group@lyralists.lyrasis.org<br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] EAD - Print to PDF @ v1.1.2 - can't display Chinese Characters</font>
<div> </div>
</div>
<div>
<div style="" class="WordSection1">
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US">Dear Chris,</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US">I am sending you another PDF + its corresponding EAD files, where the Chinese characters can</span><span style="font-family:"Courier New","serif"" lang="EN-US">’</span><span style="" lang="EN-US">t be displayed probably. Please
see the file name. </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US">But we come up with another issue about </span><span style="font-family:"Courier New","serif"" lang="EN-US">“</span><span style="" lang="EN-US">Fail to load PDF</span><span style="font-family:"Courier New","serif"" lang="EN-US">”</span><span style="" lang="EN-US">.
We found if a record carrying some manually key in html code like <br> <p> without having its corresponding </p>, the PDF would become
</span><span style="font-family:"Courier New","serif"" lang="EN-US">“</span><span style="" lang="EN-US">Fail to load</span><span style="font-family:"Courier New","serif"" lang="EN-US">”</span><span style="" lang="EN-US">. We reviewed our records and get some
records be able to print as PDF again. But for two major records that we keep testing on ASpace, we tried to clean up as many codes as we could, but still can</span><span style="font-family:"Courier New","serif"" lang="EN-US">’</span><span style="" lang="EN-US">t
figure out why they keep having the problem of </span><span style="font-family:"Courier New","serif"" lang="EN-US">“</span><span style="" lang="EN-US">Fail to Load PDF</span><span style="font-family:"Courier New","serif"" lang="EN-US">”</span><span style="" lang="EN-US">.
I am attaching their EAD (with indication from the file name) for your checking. Would be nice if you could advise us for any solution for that.</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US">Thanks</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US">Sheila </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span style="" lang="EN-US">____________________________________________________</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">Date: Tue, 17 Mar 2015 19:38:24 +0000</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">From: Chris Fitzpatrick <<a style="color: blue; text-decoration: underline;" href="mailto:Chris.Fitzpatrick@lyrasis.org">Chris.Fitzpatrick@lyrasis.org</a>></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">To: "<a style="color: blue; text-decoration: underline;" href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>"</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US"> <<a style="color: blue; text-decoration: underline;" href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">Subject: Re: [Archivesspace_Users_Group] EAD - Print to PDF @ v1.1.2 -</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US"> can't display Chinese Characters</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">Message-ID: <<a style="color: blue; text-decoration: underline;" href="mailto:1426621103431.24402@lyrasis.org">1426621103431.24402@lyrasis.org</a>></span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">Content-Type: text/plain; charset="iso-8859-1"</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">Hi Sheila,</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">Can you send me a copy of the EAD XML? It's most likely that some additional fonts will have to be installed to get the PDF feature to work with certain characters.</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US">b,chris.</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoPlainText">
<span lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="color:#1F497D" lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="color:#1F497D" lang="EN-US"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"" lang="EN-US"> Sheila CHEUNG Sze Lui
<br>
<b>Sent:</b> Monday, March 16, 2015 4:40 PM<br>
<b>To:</b> 'archivesspace_users_group@lyralists.lyrasis.org'<br>
<b>Subject:</b> EAD - Print to PDF @ v1.1.2 - can't display Chinese Characters</span></p>
</div>
</div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="" lang="EN-US">Hi,</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="" lang="EN-US">We previous found problem with EAD – Print to PDF in v1.1.1, where the PDF can’t be opened with an error msg (Failed to Load PDF document). This problem seems to have resolved at v1.1.2, but all Chinese characters changed “#”.
Attached with the output PDF for reference. Would there be any help & advice to fix this issue?</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="" lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="" lang="EN-US">Thanks</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="" lang="EN-US">Sheila Cheung</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="" lang="EN-US">Lingnan University Library </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Calibri","sans-serif";" class="MsoNormal">
<span style="" lang="EN-US"> </span></p>
</div>
</div>
</div>
</div>
</body>
</html>