Skip to content

Commit

Permalink
Update MuPDF library for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions authored and diegobernardes committed Jun 6, 2024
1 parent 29e9ba0 commit fa9db50
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ save_to_png_output save_to_png(save_to_png_input input) {
page = pdf_load_page(ctx, doc, input.page);

float scale_factor = 1.5;
fz_rect bounds = pdf_bound_page(ctx, page);
fz_rect bounds = pdf_bound_page(ctx, page, FZ_CROP_BOX);
if (input.width != 0) {
scale_factor = input.width / bounds.x1;
} else if (input.scale != 0) {
Expand Down
Binary file modified misc/mupdf/lib/x86-64-linux/libmupdf-third.a
Binary file not shown.
Binary file modified misc/mupdf/lib/x86-64-linux/libmupdf.a
Binary file not shown.
Binary file modified testdata/sample_page0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified testdata/sample_page9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fa9db50

Please sign in to comment.