Hi Alan,
Im looking into Issue 23402, and I'd like to be able to compile a list a list of any font or glyph substitutions or fallbacks that take place when I load a document. Where in the code does OOo do the actual substitution of one font for another in given text?
If you want this only for debugging purposes I suggest to set an environment variable ENVCDEFS to -DHDU_DEBUG and recompile at least vcl/source/gdi/outdev3.cxx. Most results you are interested in will be printed to stderr.
Glyph fallback is handled in outdev3.cxx's OutputDevice::ImplGlyphFallbackLayout() method,
Font fallback for non-existing fonts in fontcfg.cxx's FontSubstConfiguration::getMapName() method,
Device specific (e.g. Arial->Helvetica for some PS printers) and/or forced font replacement in ImplFontSubstitute()
Unfortunately these mechanisms are much more complex than I'd like them to be but for backward compatibility and cross platform consistency we cannot easily replace them. Coalan's fontconfig patch is a very important step for optimal integration into LSB-conforming systems.
-- Herbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
