SumatraPDF version
- Versions:
- v3.5.2 64-bit
- v3.6 64-bit
Describe the bug
This report covers a pre-existing font rendering issue with PDF form fields, as well as two new regressions introduced in v3.6.
When filling out an official Slovak government tax form, the following issues are observed:
-
Pre-existing Bug (v3.5.2 and likely older): Missing Diacritic Glyphs
SumatraPDF fails to render certain Central European/Slovak diacritics in form fields (specifically Č and Ň). Instead of rendering the letters, it displays missing glyph "tofu" boxes (e.g., POČÍTAČ renders as P O ▢ Í T A ▢).
-
v3.6 Regression #1: Comb Field Spacing Ignored
In v3.5.2, comb fields (fields meant to evenly space characters into individual visual boxes) worked somewhat correctly. In v3.6, this formatting is completely ignored. Standard text is grouped to the left with standard kerning (e.g., T E S T E R now just displays squished as TESTER).
-
v3.6 Regression #2: Fields with Diacritics are Completely Blank
While v3.5.2 showed missing glyph boxes for unsupported diacritics, v3.6 fails to render the field entirely. If a field contains a Č or Ň, the entire field content becomes invisible/blank.
To Reproduce
Steps to reproduce the behavior:
-
Generate the official Slovak Republic tax form PDF from: https://pfseform.financnasprava.sk/Formulare/eFormVzor/DP/form.620.html (located from here under Správa daní / Daň z príjmov fyzickej osoby / Daňové priznanie k dani z príjmov fyzickej osoby (typ A) / DPFOAv24 Daňové priznanie k dani z príjmov FO (typ A) za obdobie 2024 (platné od 1.1.2025))
-
Fill in the following fields:
- 03 - Priezvisko: TESTER
- 04 - Meno: POČÍTAČ
- 09 - Obec: MODRÝ KAMEŇ
- Also fill in any mandatory fields to make the form errors disappear, such as:
- 01 - 000000000
- 02 - 01.01.1111
- 06 - Test
- 08 - 00000
- 10 - Slovensko
- Press the "Vytlač" (print) at the bottom of the page to print as PDF, save as a new file.
- Observe the rendering differences.
Expected behavior (Matches Firefox)
- 04 - Meno and 09 - Obec should display the text with proper Slovak diacritics.
- 03 - Priezvisko, 04 - Meno, and 09 - Obec should all have their characters evenly spaced to fit the individual comb boxes.
Actual Behavior
In SumatraPDF v3.5.2:
- Comb spacing works (mostly).
- Diacritics fail and render as missing glyph boxes (P O ▢ Í T A ▢ and M O D R Ý K A M E ▢).
In SumatraPDF v3.6:
- Comb spacing is broken (TESTER ignores the boxes and aligns left).
- Diacritic rendering is broken further (the fields containing POČÍTAČ and MODRÝ KAMEŇ vanish completely).
File that reproduces the problem
test_diakritika_danove_priznanie_form.620.pdf
Screenshots
In the middle you see the correct behavior in Mozilla Firefox 148.0 (64-bit):
Additional context
We often need to use this official government document, for example when proving our income to the banks. I hope you consider this issue to have an urgent severity level.
SumatraPDF version
Describe the bug
This report covers a pre-existing font rendering issue with PDF form fields, as well as two new regressions introduced in v3.6.
When filling out an official Slovak government tax form, the following issues are observed:
Pre-existing Bug (v3.5.2 and likely older): Missing Diacritic Glyphs
SumatraPDF fails to render certain Central European/Slovak diacritics in form fields (specifically Č and Ň). Instead of rendering the letters, it displays missing glyph "tofu" boxes (e.g., POČÍTAČ renders as P O ▢ Í T A ▢).
v3.6 Regression #1: Comb Field Spacing Ignored
In v3.5.2, comb fields (fields meant to evenly space characters into individual visual boxes) worked somewhat correctly. In v3.6, this formatting is completely ignored. Standard text is grouped to the left with standard kerning (e.g., T E S T E R now just displays squished as TESTER).
v3.6 Regression #2: Fields with Diacritics are Completely Blank
While v3.5.2 showed missing glyph boxes for unsupported diacritics, v3.6 fails to render the field entirely. If a field contains a Č or Ň, the entire field content becomes invisible/blank.
To Reproduce
Steps to reproduce the behavior:
Generate the official Slovak Republic tax form PDF from: https://pfseform.financnasprava.sk/Formulare/eFormVzor/DP/form.620.html (located from here under
Správa daní / Daň z príjmov fyzickej osoby / Daňové priznanie k dani z príjmov fyzickej osoby (typ A) / DPFOAv24 Daňové priznanie k dani z príjmov FO (typ A) za obdobie 2024 (platné od 1.1.2025))Fill in the following fields:
Expected behavior (Matches Firefox)
Actual Behavior
In SumatraPDF v3.5.2:
In SumatraPDF v3.6:
File that reproduces the problem
test_diakritika_danove_priznanie_form.620.pdf
Screenshots
In the middle you see the correct behavior in Mozilla Firefox 148.0 (64-bit):
Additional context
We often need to use this official government document, for example when proving our income to the banks. I hope you consider this issue to have an urgent severity level.