Description: The fonts in STIX MathJax Size1 for LibreOffice math/Impress, especially the integral signs, are not located at the center according to the line of the expression in the math mode. One can understand the problem easily by comparing the fonts' position with the positions of MathJax_Size2's fonts. Steps to Reproduce: 1. Activate LibreOffice's Math 2. Go to the Symbol window. 3. Pick any symbol and click <edit> 4. Choose any integral symbol in the STIX MathJax Size1 font set and assign it an arbitrary name, then do the same thing to an integral symbol in the MathJax_Size2 font set. 5. Write a test equation by using these two newly assigned symbols. Then their position difference in the equation will show obviously. Actual Results: The integral symbols of STIX MathJax Size1 don't align to the integral symbols of MathJax_Size2 which looks better to me. The misalignment of this two fonts makes it difficult to use both fonts at the same time. Expected Results: I hope that the fonts of STIX MathJax Size1 can be centered along a mathematical expression instead of being aligned at the bottom. Reproducible: Always User Profile Reset: No Additional Info: This font position problem should affect all version of LibreOffice since not too much people will use these fonts.
Please attach document and screenshots demonstrating the issue. Please also note that these fonts are probably specifically build to be used with MathJax and may not be suitable for use in other environments.
Created attachment 184351 [details] Postioin difference between MathJax_Size2 and STIX MathJax Size1
Created attachment 184352 [details] The sample file The sample file needs the user to create the symbol-link to the integral symbols.
This is how the glyphs are designed in these fonts. The MathJax fonts have their symbols centered around a common axis, while STIX MathJax fonts have their glyphs placed on a common baseline. MathJax itself probably implements TeX math typesetting algorithm and always center these glyphs itself, but LibreOffice Math does not do such centering. This probably can’t be fixed without overhauling Math’s typesetting machinery (e.g. bug 103680), but it would still not help with these two particular fonts, but one would be able to use fonts like Latin Modern Math and STIX Math/STIX Two Math. Closing this as it is can be considered a font issue as these fonts were built with certain assumptions about how they will be used.
I see. Thank you for your comments.