Skip to content

Commit f87c892

Browse files
committed
Merge branch 'master' of https://github.com/rk700/PyMuPDF
2 parents c03fd80 + 6d58b48 commit f87c892

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

installation/freebsd/freebsd_pymupdf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ setenv CFLAGS -fPIC
22

33
# install the pre-required tool
44
pkg install swig
5+
pkg install freetype2
56

67
wget https://mupdf.com/downloads/archive/mupdf-1.18.0-source.tar.gz
78
tar -zxvf mupdf-1.18.0-source.tar.gz
@@ -12,7 +13,6 @@ git clone https://github.com/pymupdf/PyMuPDF.git
1213
cd mupdf-1.18.0-source
1314
# replace files in mupdf source
1415
cp ../PyMuPDF/fitz/_config.h include/mupdf/fitz/config.h
15-
cp ../PyMuPDF/fitz/_pdf-font-add.c source/pdf/pdf-font-add.c
1616

1717
gmake HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local
1818
gmake HAVE_X11=no HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local install

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def load_libraries():
8282
"/usr/local/include/mupdf",
8383
"/usr/local/include",
8484
"/usr/include/freetype2",
85+
"/usr/local/include/freetype2",
8586
],
8687
# libraries should already be linked here by brew
8788
library_dirs=["/usr/local/lib"],

0 commit comments

Comments
 (0)