Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura-pdf-mupdf
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
zathura-pdf-mupdf
Commits
19ea2a1b
Commit
19ea2a1b
authored
Oct 04, 2018
by
Leonardo Taccari
Committed by
Sebastian Ramacher
Oct 04, 2018
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore separations (fixes
#1
)
parent
327c9000
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
zathura-pdf-mupdf/render.c
zathura-pdf-mupdf/render.c
+1
-3
No files found.
zathura-pdf-mupdf/render.c
View file @
19ea2a1b
...
...
@@ -36,8 +36,7 @@ pdf_page_render_to_buffer(mupdf_document_t* mupdf_document, mupdf_page_t* mupdf_
fz_drop_device
(
mupdf_page
->
ctx
,
device
);
fz_colorspace
*
colorspace
=
fz_device_bgr
(
mupdf_document
->
ctx
);
fz_separations
*
seps
=
fz_page_separations
(
mupdf_page
->
ctx
,
mupdf_page
->
page
);
fz_pixmap
*
pixmap
=
fz_new_pixmap_with_bbox_and_data
(
mupdf_page
->
ctx
,
colorspace
,
irect
,
seps
,
1
,
image
);
fz_pixmap
*
pixmap
=
fz_new_pixmap_with_bbox_and_data
(
mupdf_page
->
ctx
,
colorspace
,
irect
,
NULL
,
1
,
image
);
fz_clear_pixmap_with_value
(
mupdf_page
->
ctx
,
pixmap
,
0xFF
);
device
=
fz_new_draw_device
(
mupdf_page
->
ctx
,
fz_identity
,
pixmap
);
...
...
@@ -47,7 +46,6 @@ pdf_page_render_to_buffer(mupdf_document_t* mupdf_document, mupdf_page_t* mupdf_
fz_drop_pixmap
(
mupdf_page
->
ctx
,
pixmap
);
fz_drop_display_list
(
mupdf_page
->
ctx
,
display_list
);
fz_drop_separations
(
mupdf_page
->
ctx
,
seps
);
return
ZATHURA_ERROR_OK
;
}
...
...
Sebastian Ramacher
@sebastinas
mentioned in issue
#1 (closed)
·
Oct 04, 2018
mentioned in issue
#1 (closed)
mentioned in issue #1
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment