NanoMichael / MicroTeX

A dynamic, cross-platform, and embeddable LaTeX rendering library
MIT License
418 stars 69 forks source link

Optimize configs #107

Closed NanoMichael closed 2 years ago

NanoMichael commented 2 years ago

Optimized configurations, make auto font find optional (since WASM doesn't need this feature, that can reduce wasm file size).

sp1ritCS commented 2 years ago

have you seen the comment I made about the soversion of meson library() invocation?

NanoMichael commented 2 years ago

have you seen the comment I made about the soversion of meson library() invocation?

Oh, I've forgotten this, will fix it later.

sp1ritCS commented 2 years ago

Uhm, I've just noticed that I have to define HAVE_AUTO_FONT_FIND in notekit manually in order to get it to build. the problem is, that the tinytex.h includes config.h, however notekit also has a config.h, so it includes that and HAVE_AUTO_FONT_FIND won't get defined. Could you rename the config.h to a more unique name?

NanoMichael commented 2 years ago

Could you rename the config.h to a more unique name?

Sure, I'll rename it to tinytexconfig.h

NanoMichael commented 2 years ago

Could you rename the config.h to a more unique name?

done by c3949ce