Closed oguh43 closed 5 months ago
The broken characters that are generated are: Two times One time
Charecters in question:
and
yes, this is because the required fonts cannot be loaded. Since you are using Electron, you may need to do some specific setups in your environment to allow access to the font files.
ntp
Only fonts installed via npm are these:
Npm refused to install all fonts due to a broken external package
Description
I defined a custom keycap like so:
{label: "σ", latex: "\\sqrt{\\frac{1}{#?-1} \\sum_{i=1}^{#?} (#?_i - \\overline{#?})}", class: "tex"}
. Clicking it, produces this weird thing: Appending it to DOM via function below produces correct outputHowever, as soon as the blank spaces are filled in with values, it once again produces wrong output:
Also the sqrt looks weird, the top line is offset even as a keycap:
Could this be because MathLive fails to load all fonts?
Even though they are present in the specified directories...
Actual Behavior
Expected Behavior
Environment
MathLive version 0.98.6 Operating System Windows 11
Browser Electron - chromium based