Skip to content

Determine if hinting_factor setting can be dropped #9681

Closed

Description

@QuLogic

While working out #9481, @anntzer and I have come to the conclusion that the hinting_factor setting is a relic of a different time when FreeType rendering was not so great. In essence, it causes horizontal rendering to be done at high resolution and then scaled down. However, it is not entirely clear that it is still necessary to do so.

Additionally, tests disable hinting but enable this factor (at 8x scaling). The default style enables both hinting and this factor. This makes it a bit difficult to say what the end effect would be overall.

Activity

  1. added this to the milestone on Nov 7, 2017
  2. modified the milestones: , on Feb 10, 2018
  3. modified the milestones: v3.0, v3.1 on Aug 11, 2018
  4. modified the milestones: v3.1.0, v3.2.0 on Feb 25, 2019
  5. github-actions commented on Apr 23, 2023

    @github-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!

  6. added
    keepItems to be ignored by the “Stale” Github Action
    on Apr 23, 2023
  7. anntzer commented on Apr 23, 2023

    @anntzer
    Contributor

    We should just drop it once we can regen the entire suite of baseline images (#14538).

  8. QuLogic commented on Apr 3, 2025

    @QuLogic
    MemberAuthor

    It looks like font.hinting_factor came in with #719, but that was simply the addition of an rcParam for something that was already hardcoded. And someone found that hinting_factor=1 with default hinting mode looked better. I might try out what they have as well.

    See #29816 (comment) for the effect of removing this setting.

  9. linked a pull request that will close this issueUpdate FreeType to 2.13.3 #29816on Apr 3, 2025
  10. moved this from Waiting for other PR to In Progress in Font and text overhaulon Jun 5, 2025
  11. QuLogic commented on Apr 10, 2026

    @QuLogic
    MemberAuthor

    The text-overhaul branch is now merged.

  12. removed
    keepItems to be ignored by the “Stale” Github Action
    on Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions