Files
Live_RC/tests
larssand 2bbbd6e995 Fix Swedish åäö rendering as mojibake in PDF exports
buildSimplePdf's font declared no /Encoding at all, so PDF viewers fell
back to a standard font's built-in encoding, which has no å/ä/ö glyphs
- and separately, the content stream was written as UTF-8 instead of a
single-byte encoding, so even a correctly-encoded font would receive
the wrong bytes (a multi-byte UTF-8 sequence where PDF expects exactly
one byte per character): the classic "åäö" mojibake pattern.

Fixed by declaring /Encoding /WinAnsiEncoding and writing the content
stream through a proper WinAnsi (~CP1252) byte mapper instead of UTF-8.
This is the single shared renderer behind every PDF export (race
results, start lists, heat sheets, team reports, the results archive),
so the fix applies everywhere at once, matching what was reported.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-09 21:31:01 +02:00
..
2026-08-28 13:47:25 +02:00
2026-09-09 08:08:56 +02:00
2026-09-09 08:08:56 +02:00
2026-09-09 07:52:07 +02:00
2026-09-08 18:26:30 +02:00
2026-09-09 07:52:07 +02:00
2026-09-08 18:26:30 +02:00
2026-09-09 08:08:56 +02:00
2026-08-30 16:14:45 +02:00
2026-09-08 13:21:29 +02:00
2026-09-05 09:59:55 +02:00
2026-09-04 15:58:24 +02:00
2026-09-08 17:26:55 +02:00