drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

Mathematical Typesetting: subscript font size does not change when changing font size

Open ZiweiXU opened this issue 2 years ago • 3 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug The title explains itself. The font size of mathematical equation does not change with other parts when font size is changed.

To Reproduce Steps to reproduce the behavior:

  1. Create an empty diagram
  2. Double click anywhere in the diagram, insert a text box.
  3. In the text box, type "$$x_1$$".
  4. Choose the text box, at Format Panel open "Text" tab, choose a font size, say 10 pt.
  5. Change font size to, say, 5 pt.

Expected behavior The size of subscript "1" should change with character "x", from 10 pt to 5 pt.

Screenshots image image

draw.io version (In the Help->About menu of the draw.io editor):

  • diagrams.net 18.0.1

Desktop (please complete the following information):

  • OS: macOS 12.4

Additional context N/A

ZiweiXU avatar May 10 '22 16:05 ZiweiXU

Reproduced in 18.0.1 Win 10 Pro The same behaviour in online also (Chrome Inc and FF)

mararad avatar May 11 '22 10:05 mararad

Same issue online with 20.0.1 Win 10 Enterprise, both Chrome and FF. Was able to partially overcome it (tested with Chrome only) with this workaround.

lmillefiori avatar Jun 15 '22 12:06 lmillefiori

Same issue with Win 11 Edge.

XinzeZhang avatar Jun 16 '22 03:06 XinzeZhang