[Archivesspace_Users_Group] EAD - Print to PDF @ v1.1.2 - can't display Chinese Characters
Chris Fitzpatrick
Chris.Fitzpatrick at lyrasis.org
Wed Mar 18 07:01:11 EDT 2015
Hi Sheila,
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.
I've added a ticket here:
https://archivesspace.atlassian.net/browse/AR-1159
In regards to your other two EADs, it looks like you have some data problems.
PC004 has a couple of notes that include <?> which invalidates the XML.
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> )
Hopefully we can add the additional font feature in an upcoming release.
b,chris.
Chris Fitzpatrick | Developer, ArchivesSpace
Skype: chrisfitzpat | Phone: 918.236.6048
http://archivesspace.org/
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Sheila CHEUNG Sze Lui <sheila at ln.edu.hk>
Sent: Wednesday, March 18, 2015 10:25 AM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: Re: [Archivesspace_Users_Group] EAD - Print to PDF @ v1.1.2 - can't display Chinese Characters
Dear Chris,
I am sending you another PDF + its corresponding EAD files, where the Chinese characters can't be displayed probably. Please see the file name.
But we come up with another issue about "Fail to load PDF". We found if a record carrying some manually key in html code like <br> <p> without having its corresponding </p>, the PDF would become "Fail to load". 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't figure out why they keep having the problem of "Fail to Load PDF". 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.
Thanks
Sheila
____________________________________________________
Date: Tue, 17 Mar 2015 19:38:24 +0000
From: Chris Fitzpatrick <Chris.Fitzpatrick at lyrasis.org<mailto:Chris.Fitzpatrick at lyrasis.org>>
To: "archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>"
<archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: Re: [Archivesspace_Users_Group] EAD - Print to PDF @ v1.1.2 -
can't display Chinese Characters
Message-ID: <1426621103431.24402 at lyrasis.org<mailto:1426621103431.24402 at lyrasis.org>>
Content-Type: text/plain; charset="iso-8859-1"
Hi Sheila,
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.
b,chris.
From: Sheila CHEUNG Sze Lui
Sent: Monday, March 16, 2015 4:40 PM
To: 'archivesspace_users_group at lyralists.lyrasis.org'
Subject: EAD - Print to PDF @ v1.1.2 - can't display Chinese Characters
Hi,
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?
Thanks
Sheila Cheung
Lingnan University Library
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150318/14fa0923/attachment.html>
More information about the Archivesspace_Users_Group
mailing list