With agg 1.9.0, ■ U+25A0 is rendered as synthetic full-cell geometry instead of a font glyph, so it appears much larger than related symbols like ◧ ▦ ⛶, which are rendered from the font. In a terminal with the same font all four have consistent proportions.
Expected output (terminal):
agg/swash rendering:
As a workaround I built agg with the self.paint_powerline_symbol() and self.paint_mosaic_symbol() calls removed, which makes swash fall back to normal glyph rendering and fixes the inconsistency.
It would be nice to have an option like --no-synthetic-symbols to render these symbols from the selected font.
With agg 1.9.0, ■ U+25A0 is rendered as synthetic full-cell geometry instead of a font glyph, so it appears much larger than related symbols like ◧ ▦ ⛶, which are rendered from the font. In a terminal with the same font all four have consistent proportions.
Expected output (terminal):
agg/swash rendering:
As a workaround I built agg with the
self.paint_powerline_symbol()andself.paint_mosaic_symbol()calls removed, which makes swash fall back to normal glyph rendering and fixes the inconsistency.It would be nice to have an option like
--no-synthetic-symbolsto render these symbols from the selected font.