Hi, thank you for your great library which I enjoy using for the first time very much! I have some issues, I am not sure whether it is my lack of experience with the internals.
The most acute one is that JKQtPlotter is apparently scanning the whole system for all installed fonts and it takes lots of time. On my workstation (which has 64GB RAM, used mostly for disk cache, thus no actual disk access is entailed) this takes 10 seconds (full installatoin of TeXLive and several extra font packs); this is what strace is showing during those 10s:
...
openat(AT_FDCWD, "/usr/share/fonts/truetype/larabie/duality_.ttf", O_RDONLY) = 23
fcntl(23, F_SETFD, FD_CLOEXEC) = 0
fstat(23, {st_mode=S_IFREG|0644, st_size=49276, ...}) = 0
mmap(NULL, 49276, PROT_READ, MAP_PRIVATE, 23, 0) = 0x7fedf0338000
close(23) = 0
openat(AT_FDCWD, "/usr/share/fonts/truetype/larabie/dyspepsi.ttf", O_RDONLY) = 23
fcntl(23, F_SETFD, FD_CLOEXEC) = 0
fstat(23, {st_mode=S_IFREG|0644, st_size=43308, ...}) = 0
mmap(NULL, 43308, PROT_READ, MAP_PRIVATE, 23, 0) = 0x7fedf032d000
close(23) = 0
...
Would it be possible to avoid this? I would be fine building without the math rendering library -- currently there is no option for that in cmake, could I help adding such option perhaps? Maybe you have some other pro tip :)