pfefferniels / probstuecke-digital

A digital edition of the 24 Probstücke of the Oberclasse by Johann Mattheson.
http://probstuecke-digital.de
GNU General Public License v3.0
10 stars 1 forks source link

Missing characters in PDF export #100

Closed pfefferniels closed 2 years ago

pfefferniels commented 3 years ago

Special characters like the long s (ſ) aren't rendered at all in the exported PDFs. And (which is even worse) – all raised sixths (6⃥) come out as plain 6ths. We should investigate, why this is happening …

pfefferniels commented 2 years ago

(Note to myself) According to this it's actually a font issue. Possibly using Junicode (as we do in the web view) instead of Times will make it work, not sure about 6⃥ though … It's worth noting that the PDF export of the "official" MEI viewer has the same issue.

pfefferniels commented 2 years ago

6⃥ also isn't rendered properly in some browsers …

pfefferniels commented 2 years ago

Replacing normal unicode figured bass with SMUFL characters seems to fix it. Importing the font doesn't work reliably in Firefox. In Chrome evering looks fine. Therefore leaving open for now.