Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Type-1 font subsetting#20716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 6 commits intomatplotlib:mainfromjkseppan:type1-subset
Jun 6, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions.github/workflows/tests.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,8 +64,10 @@ jobs:
python-version: '3.12'
# https://github.com/matplotlib/matplotlib/issues/29844
pygobject-ver: '<3.52.0'
- os: ubuntu-22.04
- name-suffix: "(Extra TeX packages)"
os: ubuntu-22.04
python-version: '3.13'
extra-packages: 'texlive-fonts-extra texlive-lang-cyrillic'
# https://github.com/matplotlib/matplotlib/issues/29844
pygobject-ver: '<3.52.0'
- name-suffix: "Free-threaded"
Expand DownExpand Up@@ -142,7 +144,8 @@ jobs:
texlive-latex-recommended \
texlive-luatex \
texlive-pictures \
texlive-xetex
texlive-xetex \
${{ matrix.extra-packages }}
if [[ "${{ matrix.name-suffix }}" != '(Minimum Versions)' ]]; then
sudo apt-get install -yy --no-install-recommends ffmpeg poppler-utils
fi
Expand Down
9 changes: 9 additions & 0 deletionsdoc/users/next_whats_new/type1_subset.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
PDF files created with usetex now embed subsets of Type 1 fonts
---------------------------------------------------------------

When using the PDF backend with the usetex feature,
Matplotlib calls TeX to render the text and formulas in the figure.
The fonts that get used are usually "Type 1" fonts.
They used to be embedded in full
but are now limited to the glyphs that are actually used in the figure.
This reduces the size of the resulting PDF files.
Copy link
Member

Choose a reason for hiding this comment

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

This reads well to me. Thanks!

Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp