[Archivesspace_Users_Group] Chinese character display problem in the EAD-PDF feature

Custer, Mark mark.custer at yale.edu
Thu May 12 08:41:03 EDT 2016


It sounds like the problem is with the font that's used to create the PDFs by ArchivesSpace.  

Do you have access to software like oXygen XML editor, by any chance?  If so, you can create this outside of ArchivesSpace (I'm not sure what font ASpace uses for the PDFs by default, but I think it's Arial, but I could be wrong about that).  In any event, if I change the font-family from serif to "ArialUnicodeMS" in line 122 of the stylesheet, https://github.com/archivesspace/archivesspace/blob/master/stylesheets/as-ead-pdf.xsl#L122, and run the transformation with oXygen, I can get some Chinese characters to display.

I've attached a PDF example.

Hopefully that'll point you in the right direction, but if not, let me know.


p.s. we still haven't decided how PDFs will be handled in the new public interface, but this was definitely one of the issues that we'll be considering.

-----Original Message-----
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Alan Ng (Library)
Sent: Wednesday, 11 May, 2016 10:15 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Cc: Alan Ng (Library)
Subject: [Archivesspace_Users_Group] Chinese character display problem in the EAD-PDF feature

Dear colleagues using ArchivesSpace,I am with Chinese University of Hong Kong Library, I am trying to use the “EAD-PDF” feature in the Archivesspace public interface. However, I realized that all the Chinese characters will appear as the “#” character in the generated PDF. This happened for both AS 1.2.0 and AS 1.4.2Since the majority of our records are written in Chinese language, it becomes a big problem if the system-generated PDF cannot display the Chinese characters correctly.If you have seen the same problem, I appreciate your sharing of any workaround. Thanks a lot!Alan NgMay 12 _______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iddd_ead.pdf
Type: application/pdf
Size: 35255 bytes
Desc: iddd_ead.pdf
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20160512/247662ed/attachment.pdf>

More information about the Archivesspace_Users_Group mailing list