We are seeing some issues with Prince 8.0 and how some math symbols are being rendered. Specifically we have concerns about the overline, triangle, and angle symbols:

The first 3 lines and last line were rendered by Prince. The overline is too far above its corresponding content, causing line spacing to be affected and readability issues. The overlines on the third line appear as an underline to the line above in addition to increasing the line spacing.

The next three lines are what we expect to see. The overline is just above its content and the line spacing is not changed.

As can also be seen in line 3, the triangle is too small and centered in the line (when using Arial Unicode MS). Line 7 at the bottom, also rendered by Prince, shows that using the DejaVu font fixes the alignment (it is baselined with the text) and increases the size a bit, but it is still too small.

The angle symbol has too much white space to the left and right. The image below shows how prince (line 1) renders the angle symbol with excessive whitespace around it. the second line is what is expected, with the angle symbol treated as any other character.

The script to generate these results:

I have read in other posts that CSS will not affect MathML tags. Is there a way to change how Prince renders these symbols so they appear more as we expect them to?

------

Also, it appears that Arial Unicode MS is not a sufficient font on Windows for some math symbols. I had to install DejaVu before a glyph could be found for the longLeftRightArrow (U+27F7).

The first 3 lines and last line were rendered by Prince. The overline is too far above its corresponding content, causing line spacing to be affected and readability issues. The overlines on the third line appear as an underline to the line above in addition to increasing the line spacing.

The next three lines are what we expect to see. The overline is just above its content and the line spacing is not changed.

As can also be seen in line 3, the triangle is too small and centered in the line (when using Arial Unicode MS). Line 7 at the bottom, also rendered by Prince, shows that using the DejaVu font fixes the alignment (it is baselined with the text) and increases the size a bit, but it is still too small.

The angle symbol has too much white space to the left and right. The image below shows how prince (line 1) renders the angle symbol with excessive whitespace around it. the second line is what is expected, with the angle symbol treated as any other character.

The script to generate these results:

```
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Exam</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
math { vertical-align: baseline; }
</style>
</head>
<body>
<strong>First Line<br />
second line with normal line spacing below the first<br />
The lines in <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>▵</mi><mrow><mi>A</mi><mi>B</mi><mi>C</mi></mrow></mrow></math> are <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mover><mrow><mi>A</mi><mi>B</mi></mrow><mo>¯</mo></mover><mo>,</mo><mover accent="true"><mrow><mi>B</mi><mi>C</mi></mrow><mo stretchy="true">¯</mo></mover></mrow></math>, and <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mover accent="true"><mrow><mi>A</mi><mi>C</mi></mrow><mo class="overline" stretchy="true">¯</mo></mover></mrow></math> .<br />
<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>∠</mo><mrow><mi>B</mi><mi>C</mi><mi>E</mi></mrow><mo>≅</mo><mo>∠</mo><mrow><mi>D</mi><mi>C</mi><mi>E</mi></mrow></math>
</strong>
</body>
</html>
```

I have read in other posts that CSS will not affect MathML tags. Is there a way to change how Prince renders these symbols so they appear more as we expect them to?

------

Also, it appears that Arial Unicode MS is not a sufficient font on Windows for some math symbols. I had to install DejaVu before a glyph could be found for the longLeftRightArrow (U+27F7).