Skip to content

Inconsistent rendering with synthetic powerline and mosaic symbols #119

Description

@dimk90

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):

Image

agg/swash rendering:

Image

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions