Latex in Luxor

i want to text latex in luxor but it seems wrong with fonts

ther is the code:

using Luxor
using MathTeXEngine

@svg begin
background("khaki")
f(t) = Point(4cos(t) + 2cos(5t), 4sin(t) + 2sin(5t))
setline(15)
fontsize(35)
@layer begin
    setopacity(0.4)
    sethue("purple")
    poly(20f.(range(0, 2π, length=160)), :stroke)
end
sethue("grey5")
text(L"f(t) = [4cos(t) + 2cos(5t), 4sin(t) + 2sin(5t)]", halign=:center)
end

But i get the wrong result:

i have installed the fonts in the MathTeXEngine into the system.
where is the problem and what can i do

Does this help?

Yes the fonts have to be installed correctly for it to work. In my testing, the fonts have to be available from two places: inside the MathTEXEngine folder and from the system’s font folder (which depends on the OS, among other things). While it does work eventually (as you can see from the examples in the docs), it’s sometimes a struggle getting there. The problem is that successfully installing fonts on all OS combinations isn’t as easy as it should be.