Skip to content

Incorrect spacing and bounding box #32

@sadqiang

Description

@sadqiang

Describe the bug
There are incorrect spacing and bounding boxes as indicated by green ellipses.
The top is created by LaTeX and the bottom is created by CSharpMath.

  • comparer-05
  • comparer-00
  • comparer-01
  • comparer-02
  • comparer-04
  • comparer-07
  • comparer-08
  • comparer-09

To Reproduce
Make sure you have TeX distribution installed.
Download the VS solution from my rep: https://github.com/sadqiang/GitHubReport/tree/master/GitHubReport.

Questions

  • 1. What causes the size of LaTeX output to be smaller than that of Skia's ? I already set 12pt for both actually.
  • 2. Why can't we use the following?
\Biggl(\biggl(\Bigl(\bigl((x)\bigr)\Bigr)\biggr)\Biggr)
y=\cfrac{x}{1+\cfrac{x}{1+\cfrac{x}{1}}}
\mathscr{L}\left\{f(t)\right\} = F(s) 
  • 3. Can we change the math font from the default to, for example, Palatino, Bera, etc?

Metadata

Metadata

Assignees

Labels

Status/1. BlockedRequires another issue or pull request to be completed before being ready.Type/Bug

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions