GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Incorrect glyphs selected for angle brackets · Issue #18740 · matplotlib/matplotlib

Incorrect glyphs selected for angle brackets #18740

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
Incorrect glyphs selected for angle brackets#18740
Copy link
Assignees
QuLogic
Labels
status: duplicatetopic: text/mathtext

Description

@anntzer
anntzer
opened on Oct 15, 2020
Issue body actions

Bug report

Bug summary

mathtext sometimes selects incorrect glyphs to display angle brackets.

Code for reproduction

from pylab import *

figtext(.2, .7,
        r"$\left<?\right>"
        r"\left\langle?\right\rangle$") \
    .set_math_fontfamily("custom")
figtext(.2, .3,
        r"$\left<\frac{\sum_{0}^{1}}{\sum_{0}^{1}}\right>"
        r"\left\langle\frac{\sum_{0}^{1}}{\sum_{0}^{1}}\right\rangle$") \
    .set_math_fontfamily("cm")
show()

Actual outcome

test
The glyphs for the small \left<\right> when using "custom" mathtext.fontset and the large \left\langle\right\rangle when using "cm" mathtext.fontset are wrong.

Expected outcome

Correct glyphs.

I have some ideas on how to fix this, but would rather wait for mathtext to go fully private (i.e. 3.6) instead of jumping through hoops and hoops of backcompat layers... (but if anyone else wants to have a go at it before then, please do)

Matplotlib version

  • Operating system: fedora
  • Matplotlib version: head
  • Matplotlib backend (print(matplotlib.get_backend())): agg
  • Python version: 38
  • Jupyter version (if applicable):
  • Other libraries:

Activity

  1. anntzer
    added
    topic: text/mathtext
    on Oct 15, 2020
  2. github-actions commented on Aug 28, 2023

    @github-actions
    github-actionsBot
    on Aug 28, 2023
    More actions

    This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

  3. github-actions
    added
    status: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action
    on Aug 28, 2023
  4. oscargus
    added
    keepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Action
    and removed
    status: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action
    on Aug 28, 2023
  5. oscargus commented on Aug 28, 2023

    @oscargus
    oscargus
    on Aug 28, 2023
    Member
    More actions

    The bug is still there and there is a PR for it, so keep it until fixed.

  6. QuLogic
    self-assigned this
    on Apr 17, 2025
  7. QuLogic commented on Apr 17, 2025

    @QuLogic
    QuLogic
    on Apr 17, 2025
    Member
    More actions

    This is a duplicate of #5210.

  8. QuLogic
    closed this as a duplicateof Unexpected replacement of \right) with exclamation point in MathTextParser output #5210 on Apr 17, 2025
  9. QuLogic
    added
    status: duplicate
    and removed
    keepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Action
    on Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @QuLogic
    QuLogic

Labels

status: duplicatetopic: text/mathtext

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.