Latex formula clipping characters on subsequent runs (GenerateExtension doesn't handle id clashes)
Summary:
For specific input texts, some Latex symbols are invisible.
Steps to reproduce:
- open Inkscape
- click
Extensions->Render->Formula (pdflatex)... - enter Latex input:
$x \rightarrow \cos(x)$ - set
Font size (pt)to10 - click
Apply - set
Font size (pt)to30 - click
Apply
What happened?
The larger rendering is not displaying all characters.
What should have happened?
The generated objects/group should only differ in scale.
I dug into it...
Every character seems to have its own clipping object. In the larger rendering, some clipping objects are positioned in the wrong places. Why even is every character clipped that way? If I remove said clipping objects, the output formula looks just right.Sample attachments:
Version info
- Inkscape 1.2 (dc2aedaf03, 2022-05-15)
- Windows 10
Edited by Nathan Lee