Skip to content

Conversation

@story645
Copy link
Member

@story645 story645 commented Nov 9, 2023

This swaps xkcd-script for the Humor sans font b/c the way Humor sans handles the .notdef character is leading to dropped - without warning #27232
This is cherry picked out of #26854

I think we should fork a copy of the xkcd branch under matplotlib because I'm uncomfortable with relying on an unmaintained fork of an unmaintained project, but this is the most complete character set.

PR summary

PR checklist

@story645
Copy link
Member Author

story645 commented Nov 9, 2023

attn @ksunden why xkcd script>xkcd
image

For best results, the "Humor Sans" font should be installed: it is
not included with Matplotlib.
For best results, install the `xkcd script <https://github.com/ipython/xkcd-font/>`_
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't seem to be the same link as what is used for CI, and the dependencies page.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think what I should probably do is see if the plain xkcd script works & if so use that and if not PR the xkcd branch (haven't heard back from author)

@story645
Copy link
Member Author

So for this PR I can get away w/ the xkcd-font on ipython since no negative ticks, but I need to fix this PR cause it's not using that font right now

@story645 story645 force-pushed the remove-humorsans branch 3 times, most recently from e8b9dea to be9c90d Compare November 15, 2023 22:55
add xkcd-script font to doc build

Co-authored-by: Oscar Gustafsson <[email protected]>
@story645
Copy link
Member Author

story645 commented Nov 15, 2023

Ok, so docs now build w/ xckd-script font

QuLogic added a commit that referenced this pull request Nov 17, 2023
…299-on-v3.8.x

Backport PR #27299 on branch v3.8.x ([MNT] swap xkcd script for humor sans)
@story645 story645 deleted the remove-humorsans branch May 2, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants