dennisfabri / JAuswertung

Auswertung is a program that analyses and manages the results of contests of the DLRG (Deutsche Lebens-Rettungs-Gesellschaft - German Life-Saving-Organisation) but is not limited to these. In fact it can be used for any time based contest.
GNU Lesser General Public License v2.1
9 stars 1 forks source link

Missing ć after saving PDF of Namentliche Meldung der Mannschaftsmitglieder #12

Open Philhil opened 1 year ago

Philhil commented 1 year ago

Hi, we facing a issue that special character like "ć" are not present in the "Namentliche Meldung der Mannschaftsmitglieder"

How to Reproduce:

  1. Create a Meldung and add Mannschaftsmitglieder with special character "ć" like: crêpé
  2. Drucken -> Namentliche Meldung der Mannschaftsmitglieder -> Vorschau (Here it is shown correctly)
  3. click Save/Speichern and save it as a pdf.

Environment:

Workaround / This issue do not occur: By using the print function directly and "print as PDF" the special characters are present

dennisfabri commented 1 year ago

I have seen this problem once, but was not able to reproduce it later. Can you please give the following information:

  1. Which font was used (Optionen -> Druckschrift)?
  2. Can you switch to a different Font like Tahoma an try again?
Philhil commented 1 year ago

After a bit more analyzing i saw that we had also other names with the same character but not this problem.

It seems that the input excel file (Namentliche Meldung) has different fonts in it. Default is Arial but the missing character is Calibri (The Person who reportet the Names copyed the special character somewhere from google)

The Font option within JAuswertung: Tahoma Standard Size 10.

I will send you an email with my Test-Set.

dennisfabri commented 1 year ago

I can confirm the behaviour. I assume that the issue is related to missing font embedding.

dennisfabri commented 1 year ago

Currently this bug has a low priority and will therefore be considered for inclusion when working in this area of the code.