Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Bad Rendering (fonts issue?) #110

Open
hybras opened this issue Dec 7, 2022 · 0 comments
Open

Bad Rendering (fonts issue?) #110

hybras opened this issue Dec 7, 2022 · 0 comments

Comments

@hybras
Copy link

hybras commented Dec 7, 2022

Many latex items do not render correctly, including but limited to binomial coefficients and square roots. Conversion does not fail.

require "mathematical"
math = Mathematical.new({:format => :svg})
pi_svg = math.render("$\\sqrt{n}$")
File.open("pi.svg", mode: "wx") { |file| file.write(pi_svg[:data]) }

Render:

pi

Diagnostic Information:

OS: MacOS Venture 13.0.1 (I have been having this issue for weeks, since before upgrading to ventura)
Ruby: 3.1.3 (from homebrew)
Mathematical: 1.6.X (not exactly sure how to read gemfile version constraints)
Fonts:

  • Installed using homebrew packages
    • font-jsmath-cmex10
    • font-jsmath-cmmi10
    • font-jsmath-cmr10
    • font-jsmath-cmsy10
  • Installed from ctan using readme method
    • esint10
    • eufm10
    • msam10
    • msbm10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants