mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 18:46:57 -06:00
Adobe symbol.txt also maps 0xA0 to the euro sign (U+20AC), which symbol_unicode lacked. Apple's Symbol maps a few codes to different Unicode than Adobe (0xA4 to U+2044, 0xE1/0xF1 to U+3008/U+3009), so symbol_font_draw now tries those alternatives after the Adobe character when the installed face doesn't cover it. The Adobe aliases for 0x44/0x57/0x6D (U+2206/U+2126/U+00B5) are not Apple alternatives and stay out. symbol_font_char masked every bullet character to its low byte before checking direct coverage, so a 'bullet' (U+2022) bullet drew an unrelated Symbol code. It now maps only symbol-font codes (low byte or U+F0xx) and falls back to the original character when the face covers it.