andymatuschak / orbit

Experimental spaced repetition platform for exploring ideas in memory augmentation and programmable attention
https://withorbit.com
Other
1.71k stars 54 forks source link

Basic math symbols missing #297

Closed riceissa closed 5 months ago

riceissa commented 6 months ago

Describe the bug

Starting several months ago, I noticed that the normal LaTeX font is no longer used for math expressions, and this often breaks math expressions because of missing fonts. For example:

image

Here a "not equal" symbol is expected.

To Reproduce Steps to reproduce the behavior:

  1. Add a card containing some non-trivial LaTeX symbols, such as \ne.
  2. View the card. (You can see an example of this at https://riceissa.github.io/tao-analysis-flashcards/sections/peano-axioms.html )

Expected behavior The missing symbols should be provided or the default LaTeX font containing all the symbols should be used.

Screenshots See above.

Desktop (please complete the following information):

andymatuschak commented 5 months ago

Ack, sorry!! Absorbed in essay writing, but will look at this soon.

andymatuschak commented 5 months ago

Truly, this is one of those unsettling instances in which I'm not sure how this ever worked properly. Thank you for pointing it out!

riceissa commented 4 months ago

I am still having this problem. The Firefox console says "downloadable font: rejected by sanitizer". Not sure if this is an Orbit problem or a Firefox problem, but it doesn't seem to happen on other websites.

image

andymatuschak commented 2 months ago

Very sorry about that, Issa. I was able to reproduce the issue; I've fixed it and verified that your Peano axiom cards render properly in Firefox. Please do let me know if you're still seeing a problem.

riceissa commented 2 months ago

Thank you, Andy! It seems to be working for me as well.