Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation about how to use Type-1 fonts in graphics #13817

Closed
ppurka opened this issue Dec 10, 2012 · 2 comments
Closed

Add documentation about how to use Type-1 fonts in graphics #13817

ppurka opened this issue Dec 10, 2012 · 2 comments

Comments

@ppurka
Copy link
Member

ppurka commented Dec 10, 2012

See this ask.sagemath thread.

The default matplotlib behavior is to use Type-3 fonts in graphics. However, some (many?) publications have a strict stipulation of using Type-1 fonts only in the document. The method to force matplotlib to have this behavior is to add a matplotlibrc file in the working directory with the following contents:

rcParams['ps.useafm'] = True
rcParams['pdf.use14corefonts'] = True
rcParams['text.usetex'] = True

This tidbit should be added to the main graphics documentation in some nice way. A ..note maybe?

Component: documentation

Reviewer: Punarbasu Purkayastha

Issue created by migration from https://trac.sagemath.org/ticket/13817

@ppurka
Copy link
Member Author

ppurka commented Oct 12, 2013

comment:2

Fixed by #14664

@ppurka ppurka removed this from the sage-5.13 milestone Oct 12, 2013
@ppurka
Copy link
Member Author

ppurka commented Oct 12, 2013

Reviewer: Punarbasu Purkayastha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants