On Sunday, 5 April 2026 at 19:23:54 BST, Bernhard Kölbl via Wine-Devel <wine-devel@list.winehq.org> wrote:
Hi,
I think the correct solution very much depends on what API is being
used to draw the text.
Also, the fallbacks are defined in this table, iirc.
--
Bernhard
Am So., 5. Apr. 2026 um 13:05 Uhr schrieb समीर सिंह Sameer Singh via
>
> Hi,
> I can still reproduce this issue on the latest master at the time of
> writing this.
>
> For example open: wine notepad and type something like:
> देवनागरी
> Instead of the program falling back to an appropriate font, "tofu"
> blocks are shown instead.
>
> Now, in ./dlls/gdi32/uniscribe/usp10.c I can see a function named:
> "find_fallback_font" which looks for a fallback font under
> Software\Wine\Uniscribe\Fallback in HKEY_CURRENT_USER. But I did not
> find this entry populated at all.
>
> My solution is: Define a table which has a representative char for each
> script, now when a new wine environment is being created, query the
> system using FontConfig to find fonts which contains the representative
> chars and then populate the registry entry.
>
> How does this sound? I have a rough working version right now, should I
> send a patch or is something missing in my current approach?
>
> --
> समीरसिंह