8000 Remove PyCXX dependency for core extension modules by mdboom · Pull Request #3646 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Remove PyCXX dependency for core extension modules #3646

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

Merged
merged 18 commits into from
Oct 18, 2014
Merged
Changes from 1 commit
Commits
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 compilation
  • Loading branch information
mdboom committed Oct 17, 2014
commit 4a56cdadeb874fd959263fdb7af474c2416457f4
8 changes: 4 additions & 4 deletions src/ft2font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#define NO_IMPORT_ARRAY

#include <string>

#include "ft2font.h"
#include "mplutils.h"

Expand Down Expand Up @@ -649,8 +651,7 @@ void FT2Font::set_text(
}
error = FT_Load_Glyph(face, glyph_index, flags);
if (error) {
std::cerr << "\tcould not load glyph for " << thischar << std::endl;
continue;
throw "could not load glyph";
}
// ignore errors, jump to next glyph

Expand All @@ -660,8 +661,7 @@ void FT2Font::set_text(
error = FT_Get_Glyph(face->glyph, &thisGlyph);

if (error) {
std::cerr << "\tcould not get glyph for " << thischar << std::endl;
continue;
throw "could not get glyph";
}
// ignore errors, jump to next glyph

Expand Down
0