Autoloading/porting fonts
Posted: 2025-03-24, 03:32 UTC
Autorun has a Loadfont function that allows you to use loaded fonts in Total Commander and plugins.
The problem for fonts selected in TC settings is that the plugin doesn't have time to load them before TC initializes them, so you have to execute cm_FontConfig, toggle the checkbox back and forth and confirm.
If there was a possibility to port fonts by means of TC itself (from %COMMANDER_PATH%\Fonts\, for example) or at least to wait for their loading by Autorun before rendering, it would be great.
The problem for fonts selected in TC settings is that the plugin doesn't have time to load them before TC initializes them, so you have to execute cm_FontConfig, toggle the checkbox back and forth and confirm.
If there was a possibility to port fonts by means of TC itself (from %COMMANDER_PATH%\Fonts\, for example) or at least to wait for their loading by Autorun before rendering, it would be great.