Makes the fonts used in-game as power of two for maximum compatibility. Also the Japanese fonts are really big, or rather numerous in character count. In lieu support multi-paged fonts and cap the page/texture size to 2048 (also compatibility thing). The implementation is pretty naive and tries to approximate used space and page counts. It works with the given material perfectly. Even if it would fail to calculate, it can accommodate to extra page needs dynamically. All the fancy gimmicks are only visible with the Japanese edition. Plain English version fits to single pages.
The font conversion is fairly slow process but it seems to scale fairly well. It is now multi-threaded. Also the actual font resource reading should now have less read counts which should provide some speed boost.
Makes the fonts used in-game as power of two for maximum compatibility. Also the Japanese fonts are really big, or rather numerous in character count. In lieu support multi-paged fonts and cap the page/texture size to 2048 (also compatibility thing). The implementation is pretty naive and tries to approximate used space and page counts. It works with the given material perfectly. Even if it would fail to calculate, it can accommodate to extra page needs dynamically. All the fancy gimmicks are only visible with the Japanese edition. Plain English version fits to single pages.
The font conversion is fairly slow process but it seems to scale fairly well. It is now multi-threaded. Also the actual font resource reading should now have less read counts which should provide some speed boost.