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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
mdboom wants to merge35 commits intomatplotlib:masterfrommdboom:freetypy
Closed
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
35 commits
Select commitHold shift + click to select a range
038cd9c
Remove ft2font
mdboomNov 5, 2015
5e4c36e
Install freetypy from git
mdboomNov 5, 2015
0cc61e9
Remove tests and examples that are now obsolete
mdboomNov 5, 2015
d97def9
Use freetypy in font_manager.py
mdboomNov 5, 2015
23c2f07
Move from FT2Font to freetypy for all uses
mdboomNov 5, 2015
c91d988
Update comment
mdboomNov 5, 2015
440fc51
Move local freetype building resp. to freetypy
mdboomNov 5, 2015
632a6f6
Bugfix for AFM fonts
mdboomNov 5, 2015
72cedd3
Remove usage of ttconv, in favor of freetypy.subset
mdboomNov 18, 2015
4eaa209
Use font config in place of font_manager
mdboomNov 18, 2015
04c14db
Font layout details
mdboomNov 18, 2015
d8ca0d5
Bug fixes in new font universe
mdboomDec 1, 2015
28fb1dc
Build freetypy with specific version of freetype
mdboomDec 1, 2015
b7d73af
Install fcpy on Travis
mdboomJan 22, 2016
d45129f
Minor fixes and consistency cleanups
mdboomJan 22, 2016
cbd59dc
Fix merge
mdboomJan 22, 2016
19bc0a3
Fix y-alignment
mdboomApr 11, 2016
2825e44
Fix SVG
mdboomApr 11, 2016
39a5e79
Fix y-alignment
mdboomApr 11, 2016
1dfb7b8
Fix rendering of mathtext
mdboomApr 11, 2016
d2ceb8e
Fix deprecation warnings
mdboomApr 12, 2016
0208eb5
Remove obsolete test
mdboomApr 19, 2016
ed07ac8
Fix requirements
mdboomApr 28, 2016
2261d48
Narrow builds no longer relevant
mdboomApr 28, 2016
e7e8065
Improve layout-to-bitmap API
mdboomApr 28, 2016
e3f921e
Fix spacing in PDF
mdboomApr 28, 2016
6ce033f
Fix slant handling
mdboomApr 28, 2016
641d2b4
Make single directory font lookup work
mdboomApr 28, 2016
b55c8eb
Fix deprecated rcParam warnings
mdboomApr 28, 2016
607767e
Fix font styles test
mdboomApr 28, 2016
e037636
Fix layout in legends
mdboomApr 28, 2016
d00777d
Bugfix
mdboomApr 28, 2016
4c68718
Handle AFM files correctly
mdboomApr 29, 2016
0d10ec1
Use new layout API
mdboomApr 29, 2016
9d6632f
Update test images
mdboomApr 29, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions.travis.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -85,13 +85,19 @@ install:
# Fall back to pypi for non suported python versions
pip install $PRE $NUMPY $PANDAS;
fi

# Always install from pypi
pip install $PRE pep8 cycler coveralls coverage python-dateutil pyparsing!=2.0.4
pip install pillow sphinx!=1.3.0 $MOCK numpydoc ipython colorspacious
# Install nose from a build which has partial
# support for python36 and suport for coverage output suppressing
pip install git+https://github.com/jenshnielsen/nose.git@matplotlibnose

# Install freetypy from git
FREETYPY_LOCAL_FREETYPE=1 pip install git+https://github.com/matplotlib/freetypy@master
# Install fcpy from git
pip install git+https://github.com/matplotlib/fcpy@master

# We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
# availible in the Ubuntu version used by Travis but we can manually install the deb from a later
# version since is it basically just a .ttf file
Expand Down
16 changes: 6 additions & 10 deletionsINSTALL
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,6 +198,12 @@ Required Dependencies
easy_install or installing from source, the installer will attempt
to download and install `python_dateutil` from PyPI.

`freetypy` 1.0 or later
Python wrappers to freetype.

`fcpy` 1.0 or later
Python wrappers to fontconfig.

`pyparsing <https://pyparsing.wikispaces.com/>`__
Required for matplotlib's mathtext math rendering support. If
using pip, easy_install or installing from source, the installer
Expand All@@ -211,13 +217,6 @@ Required Dependencies
`pytz <http://pytz.sourceforge.net/>`__
Used to manipulate time-zone aware datetimes. http://pypi.python.org/pypi/pytz

:term:`FreeType` 2.3 or later
Library for reading true type font files. If using pip, easy_install or
installing from source, the installer will attempt to locate FreeType in
expected locations. If it cannot, try installing `pkg-config
<http://matplotlib.org/users/installing.html#optional-dependencies>`__,
a tool used to find required non-python libraries.

`cycler <http://matplotlib.org/cycler/>`__ 0.9 or later
Composable cycle class used for constructing style-cycles

Expand DownExpand Up@@ -279,9 +278,6 @@ Required libraries that ship with matplotlib
`qhull` 2012.1
A library for computing Delaunay triangulations.

`ttconv`
truetype font utility

six 1.9.0
Python 2/3 compatibility library. Do not use this in third-party
code.
Expand Down
10 changes: 0 additions & 10 deletionsdoc/api/font_manager_api.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,13 +9,3 @@ font_manager
:members:
:undoc-members:
:show-inheritance:

:mod:`matplotlib.fontconfig_pattern`
====================================

.. automodule:: matplotlib.fontconfig_pattern
:members:
:undoc-members:
:show-inheritance:


13 changes: 0 additions & 13 deletionsdoc/users/mathtext.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,13 +22,6 @@ to blend well with Times), or a Unicode font that you provide. The mathtext
font can be selected with the customization variable ``mathtext.fontset`` (see
:ref:`customizing-matplotlib`)

.. note::
On `"narrow" <http://wordaligned.org/articles/narrow-python>`_ builds
of Python, if you use the STIX fonts you should also set
``ps.fonttype`` and ``pdf.fonttype`` to 3 (the default), not 42.
Otherwise `some characters will not be visible
<http://thread.gmane.org/gmane.comp.python.matplotlib.general/19963/focus=19978>`_.

Here is a simple example::

# plain text
Expand DownExpand Up@@ -342,9 +335,3 @@ Here is an example illustrating many of these features in context.

.. plot:: pyplots/pyplot_mathtext.py
:include-source:






40 changes: 0 additions & 40 deletionsexamples/misc/font_indexing.py
View file
Open in desktop

This file was deleted.

66 changes: 0 additions & 66 deletionsexamples/misc/ftface_props.py
View file
Open in desktop

This file was deleted.

66 changes: 0 additions & 66 deletionsexamples/pylab_examples/font_table_ttf.py
View file
Open in desktop

This file was deleted.

41 changes: 0 additions & 41 deletionsextern/ttconv/global_defines.h
View file
Open in desktop

This file was deleted.

Loading

[8]ページ先頭

©2009-2025 Movatter.jp