Duplicated strings in SystemFonts cache #221
-
Was doing some profiling and I noticed that using I only ever used one font (Arial) but nevertheless it seems like all system fonts are cached in memory. Is there a way to disable loading this info or loading fonts other than the one I asked for? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
In total, there are ~3MB of strings loaded in the font cache: |
Beta Was this translation helpful? Give feedback.
-
You can always skip using the system fonts collection and instead create your own FontCollection and load the specific fonts you want loaded yourself to avoid the loading of System wide font metadata. If you never touch the type then the font descriptions will never be loaded. |
Beta Was this translation helpful? Give feedback.
You can always skip using the system fonts collection and instead create your own FontCollection and load the specific fonts you want loaded yourself to avoid the loading of System wide font metadata. If you never touch the type then the font descriptions will never be loaded.