atp-mipt / jsyntrax

Reimplement syntrax in Java

Home Page:https://atp-mipt.github.io/jsyntrax/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text exceeds box boundaries

Stefan-Wagner opened this issue · comments

This is my spec file:
line ('for', '(', loop (opt (opt('Typ'), '/Bezeichner', '=', '/Anweisung'), ","), ';', opt ('/boolscher Ausdruck'), ';', opt (loop ('/Anweisung', ','), ), ')', '/Anweisung')
And this is the result:
kl-for-loop-untitled
The text in the box "boolscher Ausdruck" exceeds its boundaries. Here is my former result, done with the old python syntrax where this didn't happen:
klassische-for-loop

It's funny, we've got the classical 'works on my machine' situation: here's what I've got from your spec:

изображение

Maybe the problem is with fonts... What is your operating system?

By the way, can you reproduce the problem with SVG output?

a) OS is Linux (xubuntu-20.04).
b) Output to SVG is fine.