http://bugs.winehq.org/show_bug.cgi?id=59252 --- Comment #15 from gng <nen24t@gmail.com> --- Hi Nikolay, Thank you for your guidance on testing with a clean WINEPREFIX - that was exactly the right approach and helped us find a clean solution! == What We Found == Following your suggestion, we tested FL Studio in a fresh WINEPREFIX with no Windows fonts: Clean WINEPREFIX (no fonts): - Wine maps "Segoe UI" → Cantarell (via fontconfig) - Cantarell lacks BOTH ♭ (U+266D) AND ♯ (U+266F) - Result: Both symbols render as tofu boxes With original Segoe UI: - Segoe UI has ♯ but NOT ♭ - Result: Only ♭ renders as tofu This confirmed your point - the issue is purely about which font is available and what glyphs it contains, not about Wine's fallback mechanisms. == Clean Solution == We found a solution using only open-source fonts - no Wine changes needed: Use DejaVu Sans (SIL License) renamed to "Segoe UI": 1. Copy DejaVu Sans to WINEPREFIX Fonts folder as segoeui.ttf 2. Rename the internal font family name to "Segoe UI" using fonttools DejaVu Sans natively contains both ♭ and ♯ symbols - no glyph patching required. == What We Tested (That Didn't Work) == For completeness, we also tested these approaches: 1. Fontconfig aliases (Segoe UI → DejaVu Sans) - doesn't work 2. Wine Registry FontSubstitutes - doesn't work Both fail because FL Studio uses DirectWrite which bypasses these mechanisms. This confirms your earlier explanation about GetGlyphIndices. == Resources == GitHub repo with automated fix script: https://github.com/giang17/flstudio-wine-font-fix Debug log from clean WINEPREFIX test attached: fl-font-debug-clean-wineprefix.log.gz Screenshots showing the fix works are attached to this report. Thanks again for pointing us in the right direction! -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.