FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/src/checkdep_freetype2.c at doc-git · timhoffm/matplotlib · GitHub
timhoffm
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
src
/
checkdep_freetype2.c
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (16 loc) · 658 Bytes
Breadcrumbs
matplotlib
/
src
/
checkdep_freetype2.c
Copy path
File metadata and controls
19 lines (16 loc) · 658 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifdef
__has_include
#if
!
__has_include
(
<
ft2build
.
h
>
)
#error
"FreeType version 2.3 or higher is required. \
You may unset the system_freetype entry in setup.cfg to let Matplotlib download it."
#endif
#endif
#include
<ft2build.h>
#include
FT_FREETYPE_H
#define
XSTR
(
x
) STR(x)
#define
STR
(
x
) #x
#pragma
message("Compiling with FreeType version " \
XSTR(FREETYPE_MAJOR) "." XSTR(FREETYPE_MINOR) "." XSTR(FREETYPE_PATCH) ".")
#if
FREETYPE_MAJOR
<<
16
+
FREETYPE_MINOR
<<
8
+
FREETYPE_PATCH
<
0x020300
#error
"FreeType version 2.3 or higher is required. \
You may unset the system_freetype entry in setup.cfg to let Matplotlib download it."
#endif
Back
|
FazBrowse Home
|
New Git URL