/[packages]/cauldron/python-matplotlib/current/SOURCES/matplotlib_UnicodeDecodeError.patch
ViewVC logotype

Contents of /cauldron/python-matplotlib/current/SOURCES/matplotlib_UnicodeDecodeError.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 475676 - (show annotations) (download)
Sat Sep 7 10:17:47 2013 UTC (10 years, 7 months ago) by philippem
File size: 494 byte(s)
- add matplotlib_UnicodeDecodeError.patch to fix mga#11128
- add requires on matplotlib-qt4 to fix mga#11131

1 diff -up ./lib/matplotlib/font_manager.py.ori ./lib/matplotlib/font_manager.py
2 --- ./lib/matplotlib/font_manager.py.ori 2013-07-30 20:56:33.000000000 +0200
3 +++ ./lib/matplotlib/font_manager.py 2013-09-07 11:49:20.154316752 +0200
4 @@ -395,7 +395,7 @@ def ttfFontProperty(font):
5 else:
6 sfnt2 = ''
7 if sfnt4:
8 - sfnt4 = sfnt4.decode('ascii').lower()
9 + sfnt4 = sfnt4.decode('ascii', 'ignore').lower()
10 else:
11 sfnt4 = ''
12 if sfnt4.find('oblique') >= 0:
13

  ViewVC Help
Powered by ViewVC 1.1.30