Skip to content

WIP: New FreeType wrappers #5414

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

Closed
wants to merge 35 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
038cd9c
Remove ft2font
mdboom Nov 5, 2015
5e4c36e
Install freetypy from git
mdboom Nov 5, 2015
0cc61e9
Remove tests and examples that are now obsolete
mdboom Nov 5, 2015
d97def9
Use freetypy in font_manager.py
mdboom Nov 5, 2015
23c2f07
Move from FT2Font to freetypy for all uses
mdboom Nov 5, 2015
c91d988
Update comment
mdboom Nov 5, 2015
440fc51
Move local freetype building resp. to freetypy
mdboom Nov 5, 2015
632a6f6
Bugfix for AFM fonts
mdboom Nov 5, 2015
72cedd3
Remove usage of ttconv, in favor of freetypy.subset
mdboom Nov 18, 2015
4eaa209
Use font config in place of font_manager
mdboom Nov 18, 2015
04c14db
Font layout details
mdboom Nov 18, 2015
d8ca0d5
Bug fixes in new font universe
mdboom Dec 1, 2015
28fb1dc
Build freetypy with specific version of freetype
mdboom Dec 1, 2015
b7d73af
Install fcpy on Travis
mdboom Jan 22, 2016
d45129f
Minor fixes and consistency cleanups
mdboom Jan 22, 2016
cbd59dc
Fix merge
mdboom Jan 22, 2016
19bc0a3
Fix y-alignment
mdboom Apr 11, 2016
2825e44
Fix SVG
mdboom Apr 11, 2016
39a5e79
Fix y-alignment
mdboom Apr 11, 2016
1dfb7b8
Fix rendering of mathtext
mdboom Apr 11, 2016
d2ceb8e
Fix deprecation warnings
mdboom Apr 12, 2016
0208eb5
Remove obsolete test
mdboom Apr 19, 2016
ed07ac8
Fix requirements
mdboom Apr 28, 2016
2261d48
Narrow builds no longer relevant
mdboom Apr 28, 2016
e7e8065
Improve layout-to-bitmap API
mdboom Apr 28, 2016
e3f921e
Fix spacing in PDF
mdboom Apr 28, 2016
6ce033f
Fix slant handling
mdboom Apr 28, 2016
641d2b4
Make single directory font lookup work
mdboom Apr 28, 2016
b55c8eb
Fix deprecated rcParam warnings
mdboom Apr 28, 2016
607767e
Fix font styles test
mdboom Apr 28, 2016
e037636
Fix layout in legends
mdboom Apr 28, 2016
d00777d
Bugfix
mdboom Apr 28, 2016
4c68718
Handle AFM files correctly
mdboom Apr 29, 2016
0d10ec1
Use new layout API
mdboom Apr 29, 2016
9d6632f
Update test images
mdboom Apr 29, 2016
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
Prev Previous commit
Next Next commit
Fix layout in legends
  • Loading branch information
mdboom committed Apr 28, 2016
commit e0376367a45ebc65d2a30a3a46f2c5ca13522035
2 changes: 1 addition & 1 deletion lib/matplotlib/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def _get_layout(self, renderer):
ymin = horizLayout[-1][1]
ymax = horizLayout[0][1] + horizLayout[0][3]
height = ymax - ymin
xmax = xmin + width
xmax = width

# get the rotation matrix
M = Affine2D().rotate_deg(self.get_rotation())
Expand Down