Font Caching

The font system in the Platform loooks for fonts at program startup. You’ve probably seen it ‘count up’ when you run it. For those who have many fonts, this process takes a little bit of time, from practically a blink of an eye for a few fonts to a minute or two for a couple thousand fonts. This is where the font cache comes in handy. When the program loads, it takes those fonts and puts them in a quick-to-load single cache file. This means that when the program loads again, it can use that single file instead of potentially thousands, to discover the fonts. If new fonts are added, don’t worry, they’ll be discovered and loaded too, and saved with the cache, which is re-created every load.

Embrilliance is a very fast-loading program. It does not take much time or memory to load. Still, there are those who have a LOT of fonts.

The front-cache system can cut in half, or more, the amount of time needed to load the program.

To keep things together, there is a control for the cache located on the Designers folder tree. If you right-click the tree, you will see the option to disable/enable the cache. It is on by default. If you think some font name is changed or you want to see how it loads without, you can disable it, which deletes the cache file. Ren-enable it so that on the next program load it will re-build the cache file. Note that the speed increase won’t happen until the program startup after that one, which is when the cache can first be used after creation.