Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
18e70f3
upload v1.14.0
JorjMcKie Nov 9, 2018
3f88440
update documentation to v1.14.0
JorjMcKie Nov 9, 2018
be4bf3a
.travis.yml: try xz archive
JorjMcKie Nov 9, 2018
705497f
Update .travis.yml
JorjMcKie Nov 9, 2018
c767c36
try fix mupdf download 1
JorjMcKie Nov 10, 2018
0ab2625
try another mupdf download
JorjMcKie Nov 10, 2018
c30ecf9
try alternative download
JorjMcKie Nov 10, 2018
1e48610
Update .travis.yml
JorjMcKie Nov 11, 2018
48324bf
Update .travis.yml
JorjMcKie Nov 11, 2018
3642f6a
next try
JorjMcKie Nov 11, 2018
b9b1658
Update .travis.yml
JorjMcKie Nov 11, 2018
d983254
yet another try
JorjMcKie Nov 11, 2018
48ad3c8
Update .travis.yml
JorjMcKie Nov 11, 2018
a133a59
Update .travis.yml
JorjMcKie Nov 11, 2018
34cc715
Update .travis.yml
JorjMcKie Nov 12, 2018
23ef882
Merge branch 'master' of https://github.com/JorjMcKie/py-mupdf
JorjMcKie Nov 12, 2018
01b8c4b
Update .travis.yml
JorjMcKie Nov 12, 2018
989c6d9
avoid use of FLT_EPSILON
JorjMcKie Nov 12, 2018
6429fb9
try tar.gz after re-compressing
JorjMcKie Nov 12, 2018
5732662
Update .travis.yml
JorjMcKie Nov 12, 2018
83d1e70
Update .travis.yml
JorjMcKie Nov 12, 2018
d9c84de
Update .travis.yml
JorjMcKie Nov 12, 2018
12f5724
apply corrections
JorjMcKie Nov 13, 2018
faa1b9d
Update .travis.yml
JorjMcKie Nov 13, 2018
c3c7dde
.travis.yml: gbu99 in linux only
JorjMcKie Nov 13, 2018
c9294ff
upload v1.14.0 docu and corrected pdf-device.c (MuPDF)
JorjMcKie Nov 14, 2018
5939401
try redirection of stderr & stdout
JorjMcKie Nov 15, 2018
5be2eef
redirecting stderr of MuPDF
JorjMcKie Nov 16, 2018
f2fbee4
Merge branch 'master' into master
JorjMcKie Nov 16, 2018
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
try tar.gz after re-compressing
  • Loading branch information
JorjMcKie committed Nov 12, 2018
commit 6429fb926cea7a4096f8f889f94ee440ba107c40
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cache:
- "$HOME/Library/Caches/Homebrew"
env:
global:
- MUPDF='https://github.com/JorjMcKie/mupdf-copy/blob/master/mupdf-1.14.0-source.tar.gz'
- MUPDF='https://github.com/JorjMcKie/mupdf/blob/master/mupdf.tar.gz'
- COPYFILE_DISABLE=1
matrix:
include:
Expand All @@ -21,7 +21,7 @@ matrix:
before_script:
- export CIBW_BEFORE_BUILD="yum install -y zlib-devel && cd mupdf && make HAVE_X11=no
HAVE_GLFW=no HAVE_GLUT=no prefix=/usr/local install && cd .."
- export CIBW_ENVIRONMENT='CFLAGS="-fPIC -std=gnu99"'
- export CIBW_ENVIRONMENT='CFLAGS="-fPIC"'
- os: osx
osx_image: xcode8.3
language: generic
Expand All @@ -38,10 +38,12 @@ matrix:
- export CIBW_ENVIRONMENT='CFLAGS=-fPIC'
install:
- "$PIP install cibuildwheel==0.10.0"
- git clone --depth=50 --branch=master https://github.com/JorjMcKie/mupdf.git mupdf
- wget -q $MUPDF -O mupdf.tar.gz
- mkdir mupdf
- tar -xzf mupdf.tar.gz mupdf
- cp fitz/_mupdf_config.h mupdf/include/mupdf/fitz/config.h
script:
- export CIBW_ENVIRONMENT='CFLAGS="-fPIC -std=gnu99"'
- export CIBW_ENVIRONMENT='CFLAGS="-fPIC"'
- export CIBW_SKIP="cp33-* *i686"
- export CIBW_TEST_COMMAND="python -c 'import fitz'"
- cibuildwheel --output-dir wheelhouse
Expand Down
5 changes: 3 additions & 2 deletions examples/posterize.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

Result
-------
A file "poster-input.pdf" with 4 output pages for every input page.
The file "poster-input.pdf" with 4 output pages for every input page:
top-lef, top-right, bottom-left, bottom-right part on separate pages.

Notes
-----
Expand Down Expand Up @@ -51,7 +52,7 @@
xref = page.showPDFpage(page.rect, # fill all new page with the image
src, # input document
spage.number, # input page number
subrect = rx, # which part to use of input page
clip = rx, # which part to use of input page
reuse_xref = xref) # copy input page once only

# that's it, save output file
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
sources=['./fitz/fitz_wrap.c',])

setup(name = 'PyMuPDF',
version = "1.13.20",
version = "1.14.0",
description = 'Python bindings for the PDF rendering library MuPDF',
classifiers = ['Development Status :: 5 - Production/Stable',
'Environment :: Console',
Expand Down