On Fri, 2024-06-07 at 01:36 +0300, Eyal Rozenberg wrote: > Everyone note that in additional to fallbacks, there is also the > matter of substitutions, where we are doing very poorly when it comes > to document rendering: We offer no default substitution tables for > various languages' popular non-free fonts! > > https://bugs.documentfoundation.org/show_bug.cgi?id=120131 On Linux (and similar) for font substitution we basically delegate all of this to fontconfig. Maybe we'd be better off doing the same on Windows (assuming that's the platform in question) and bundle fontconfig (or the fontconfig substitution rules) and reuse that solution and ditch our built-in sort of equivalent thing which isn't really used anyway on the fontconfig platforms (and then maybe that allows removing the whole bespoke tools, font, replacement table thing)