(2016-09-24, 20:16)Roland Melkert Wrote:(2016-09-24, 19:34)Michael Horvath Wrote: Is there a free font you can bundle with the program?
Yes, but those font files are rather big, so I prefer to use the 'html' approach by walking through a list of suitable fonts of which at least one should be available.
As a general rule, the only font files that are large are CJK fonts (fonts that include Chinese, Japanese, and Korean characters). The entire Open Sans font family (a free high-quality font family from Google) fits into a 1.1MB zip file, with OpenSans-Regular.ttf being 212KB. Unless you support Chinese, Japanese, and Korean, there's no point using a CJK font. If you do support those, the files get a lot bigger. The only freely distributable high-quality CJK font I'm aware of is Source Han Sans. I think including the three files needed to make it work in Chinese, Japanese, and Korean results in close to 20MB worth of (uncompressed) data.