Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
PermalinkChoose a base ref {{ refName }}default Choose a head ref {{ refName }}default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:matplotlib/matplotlib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
base:01e919a
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
...
head repository:matplotlib/matplotlib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
Uh oh!
There was an error while loading.Please reload this page.
compare:7c49d52
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}defaultLoading
- 7commits
- 11files changed
- 3contributors
Commits on May 30, 2025
This reduces pdf file sizes when usetex is active, at the cost ofsome complexity in the code. We implement a charstring bytecodeinterpreter to keep track of subroutine calls in font programs.Give dviread.DviFont a fake filename attribute and a get_fontmapmethod for character tracking.In backend_pdf.py, refactor _get_subsetted_psname so it calls a method_get_subset_prefix, and reuse that to create tags for Type-1 fonts.Mark the methods static since they don't use anything from the instance.Recommend merging to main to give people time to test this, not toa 3.10 point release.Closes#127.Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Commits on May 31, 2025
Use one font descriptor for each Type-1 font
The old optimization where the same font file and descriptor could beshared by multiple differently-encoded fonts is wrong in the presence ofsubsetting, unless we also take the exact glyph subset into account.It is very unlikely for the exact same subset to be used by differentencodings, so just remove the optimization.Rearrange _embedTeXFont in neater blocks.
Commits on Jun 6, 2025
Install extra TeX fonts on one runner only
The DejaVu and Heuristica fonts are used by the type-1 fontsubsetting tests.Heuristica has a Cyrillic encoding and apparently cannot beloaded without installing texlive-lang-cyrillic.
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff 01e919a...7c49d52
Uh oh!
There was an error while loading.Please reload this page.