View Single Post
03/13/24, 06:37 AM   #13
shijina452
 
shijina452's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2022
Posts: 2
Originally Posted by Baertram View Post
I guess loading big files will always be a thing.
pChat font files size was doubled for each slug file.


About slugfont.exe params
Did you use -no-compress explicitly so compression of font files was off?
Else they should get compressed by default, but yeah the size is bigger than otf/ttf files before.

https://sluglibrary.com/SlugManual.pdf
Chapter 7 Font conversion
Originally Posted by sirinsidiator View Post
Not sure how much, but loading large files is bound to have some performance impact.

I also noticed the following comment in defaultfontstrings_simplifiedchinese.xml:
Code:
    <!-- Split out from GAMEPAD_MEDIUM_FONT so we don't have to generate outlines for large CJK fonts. 
    This currently saves about 100 MB of memory, but is only useful as long as we only use outlines with latin characters (usually numbers). -->
    <String name="GAMEPAD_MEDIUM_FONT_LATIN" value="EsoUI/Common/Fonts/FTN57.slug" />
So maybe disabling outlines could help reduce the size?
Thanks for the reply. I have not changed the default parameters. The font is compressed. Since there are so many Chinese characters, the font is still very large after compression. I have given up on uploading a new version of the font plugin.
  Reply With Quote