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 — Update font-related documentation by jkseppan · Pull Request #30150 · matplotlib/matplotlib

Conversation

@jkseppan

@jkseppan jkseppan commented Jun 7, 2025

Copy link
Copy Markdown
Member

We now subset Type-1 fonts and no longer have a copy of ttconv.

Make the font comparison table a grid table so we can use a colspan
cell.

Clarify that Type-1 fonts get used only in the usetex/pdf combination.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jkseppan
Update font-related documentation
08cdd1a
We now subset Type-1 fonts and no longer have a copy of ttconv.

Make the font comparison table a grid table so we can use a colspan
cell.

Clarify that Type-1 fonts get used only in the usetex/pdf combination.
@github-actions github-actions Bot added the Documentation: user guide files in galleries/users_explain or doc/users label Jun 7, 2025
story645
story645 reviewed Jun 9, 2025
View reviewed changes
Comment thread galleries/users_explain/text/fonts.py Outdated
@@ -86,11 +91,8 @@
The solution to this problem is to subset the fonts used in the document and
only embed the glyphs actually used. This gets both vector text and small
files sizes. Computing the subset of the font required and writing the new

@story645 story645 Jun 9, 2025

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you're already touching this, the This in "This gets both vector text" reads as ambigous to me - I don't know what gets both, and also I don't quite understand what gets means in this context

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jkseppan jkseppan Jun 11, 2025

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rewrote the paragraph, hopefully in a clearer way.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread galleries/users_explain/text/fonts.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread galleries/users_explain/text/fonts.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread galleries/users_explain/text/fonts.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread galleries/users_explain/text/fonts.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@story645 story645 added this to Font and text overhaul Jun 9, 2025
@github-project-automation github-project-automation Bot moved this to Waiting for other PR in Font and text overhaul Jun 9, 2025
@story645 story645 moved this from Waiting for other PR to Ready for Review in Font and text overhaul Jun 9, 2025
jkseppan and others added 6 commits June 11, 2025 13:33
@jkseppan @story645
Update galleries/users_explain/text/fonts.py
c3ed0c9
Co-authored-by: hannah <[email protected]>
@jkseppan @story645
Update galleries/users_explain/text/fonts.py
153e254
Co-authored-by: hannah <[email protected]>
@jkseppan @story645
Update galleries/users_explain/text/fonts.py
867cf9f
Co-authored-by: hannah <[email protected]>
@jkseppan @story645
Update galleries/users_explain/text/fonts.py
2da9307
Co-authored-by: hannah <[email protected]>
@jkseppan
Reword paragraph on subsetting
b2e6451
@jkseppan
Realign grid table
dfab321
story645
story645 approved these changes Jun 11, 2025
View reviewed changes

@story645 story645 left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, that's a much clearer explanation of font subsetting.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@story645

story645 commented Jun 11, 2025

Copy link
Copy Markdown
Member

We now subset Type-1 fonts and no longer have a copy of ttconv.

When did that come in/what should this PR be milestoned to?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

QuLogic
QuLogic approved these changes Jun 11, 2025
View reviewed changes
@QuLogic QuLogic added this to the v3.11.0 milestone Jun 11, 2025
@QuLogic
QuLogic merged commit d810e68 into matplotlib:main Jun 11, 2025
@github-project-automation github-project-automation Bot moved this from Ready for Review to Done in Font and text overhaul Jun 11, 2025
@jkseppan

jkseppan commented Jun 12, 2025

Copy link
Copy Markdown
Member Author

We now subset Type-1 fonts and no longer have a copy of ttconv.

When did that come in/what should this PR be milestoned to?

  • Type-1 subsetting: Type-1 font subsetting #20716
  • ttconv removal: Remove ttconv and implement Type-42 embedding using fontTools #20866

I suppose this should be v3.11.0?

story645 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jkseppan
jkseppan deleted the doc-type1-subsetting branch June 12, 2025 04:26
@yashuatla yashuatla mentioned this pull request Jun 23, 2025
Feature implementation from commits 5f922ff..45d4dfd yashuatla/matplotlib#1
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@QuLogic QuLogic QuLogic approved these changes
@story645 story645 story645 approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

Documentation: user guide files in galleries/users_explain or doc/users

Projects

Font and text overhaul
Status: Done

Milestone

v3.11.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@jkseppan @story645 @QuLogic
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — 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.