Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84dffb2

Browse files
committed
Merge remote-tracking branch 'upstream/v1.2.x'
Conflicts: lib/matplotlib/backend_bases.py lib/matplotlib/tests/test_artist.py src/_backend_agg.cpp
2 parents 4ed18ca + 141c28b commit 84dffb2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/matplotlib/tests/test_artist.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
from __future__ import print_function
22

3+
import copy
4+
5+
36
import numpy as np
47

58

ttconv/pprdrv_tt2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ void ttfont_add_glyph_dependencies(struct TTFONT *font, std::vector<int>& glyph_
700700

701701
std::vector<int>::iterator insertion =
702702
std::lower_bound(glyph_ids.begin(), glyph_ids.end(), gind);
703-
if (*insertion != gind)
703+
if (insertion == glyph_ids.end() || *insertion != gind)
704704
{
705705
glyph_ids.insert(insertion, gind);
706706
glyph_stack.push(gind);

0 commit comments

Comments
 (0)