New branch 'private/Ashod/pdfium_on_master' available with the following commits: commit 1249db653da98ecb242e8874d53067ec818ac3b9 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon May 28 08:02:06 2018 -0400
vcl: fix pdf rendering regression Reviewed-on: https://gerrit.libreoffice.org/54921 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> (cherry picked from commit 4a3457907546b4cde3adaf0ba6a6d258fe1b54b7) Change-Id: I6c2c48c033facb317b4ca7ed2af07348d6386b98 commit dd3c2e606cd03fc0fe4f157a787bfab050b9f7f5 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Thu May 24 23:01:15 2018 -0400 pdf: preserve the original page dimensions on import Also allow for rendering PDFs to images at custom resolution, instead of hard-coded (old hard-coded value of 96 dpi is now default arguments). Reviewed-on: https://gerrit.libreoffice.org/54786 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> (cherry picked from commit 40478fae4fe73319c5f336c69c6f5f5b0fed9991) Change-Id: Ia5b52f72d6ce7130a2debc7c6f86504aa041bdc8 commit e7a4f2a27ad9a6d4f7da9734f846137b50338340 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Thu May 24 06:59:39 2018 -0400 sd: make the imported PDF page exactly as original i.e. no borders or larger page than rendered PDF Reviewed-on: https://gerrit.libreoffice.org/54764 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> (cherry picked from commit 570c9afc48526c1a85d17d2d9c7c235cba4104ed) Change-Id: I1f356cceeec1d5d9f1728f0e29160fdd9241a221 commit 01c3661b0db04911db5b7c36337f0f80d5bc6640 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Thu May 24 01:33:50 2018 -0400 sd: render the correct PDF page on swapping in Reviewed-on: https://gerrit.libreoffice.org/54746 Reviewed-by: Jan Holesovsky <ke...@collabora.com> Tested-by: Jan Holesovsky <ke...@collabora.com> (cherry picked from commit 4b244589762ad43be15fa637b5d5d12340ccc668) Change-Id: I81225e228d9cf2b9849110715dbfdeb59f2805dd commit 72cde76fc2653eae5d7ca5c7fc0db00aa1011539 Author: Jan Holesovsky <ke...@collabora.com> Date: Tue May 22 10:47:46 2018 +0200 Introduce a LO_IMPORT_USE_PDFIUM envvar to force PDFium for PDF import. Change-Id: Ibb7734430b955dad4aefec22260ba8694ccb9183 (cherry picked from commit 6b73da7bee4d3d60af6ff1ee01039f7183e57680) commit f243b79bddb0391d19c7515333977556f2c27d28 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun May 20 22:31:36 2018 -0400 sd: disable pdf import tests Change-Id: Iaee679d2ff322c67d081185588103d5685fa970a (cherry picked from commit 978f52ff31d08d9da3c9c1b52064c433c956d9f6) commit 380db6cc1cced6f4dbae7ef86e72c1cc46b380fa Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun May 20 15:17:16 2018 -0400 svx: set the font name of imported PDF text Change-Id: I79dde3c8983a70311de2d2a46093fac2722fb372 (cherry picked from commit b29879a233e7cdb4162092483752c2f6d13733aa) commit e0614ef61cb25b700a575440c05ca86b57824834 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat May 19 21:28:31 2018 -0400 svx: update PDFium patch and code Change-Id: I07c6a7c65d5631b70da64927a35d7a3b371eff25 (cherry picked from commit d4eaa026efde056ad4d429bccaa0b18f0388d6ec) commit 847cba8a66ad1235d9533ec4d2f573db4ca23a1d Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Mon May 14 08:55:58 2018 +0200 pdfium: update to 3426 Allows dropping the ugly freetype.patch.1. Change-Id: Ifa8a6dac02a49a2c13572e59773261a847efad3f Reviewed-on: https://gerrit.libreoffice.org/54294 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> commit a13368fa681910069a49afa76b558bef4b1e796f Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Fri May 18 09:15:36 2018 -0400 svx: cleanup pdfium importer Change-Id: Id925ba7734a2c73270e40f19d3fc50552441c34e (cherry picked from commit 5217375499e314e909d8e1c2a6a815bda46ca5b0) commit a735d3a731263721e3a067b67e3f66122d7c9f1c Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon May 14 19:57:15 2018 -0400 svx: transform PDF text rectangles while importing Change-Id: I7675a183bfb691a8783950f33dc34826f91cb768 (cherry picked from commit 02d15d96fe42f7c5e1857f52ab6c0620017ac06f) commit 397aa7177e23d848ae7db5e8db32fd05da838660 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 22 17:21:30 2018 -0400 svx: support no fill and no stroke paths in PDF import Change-Id: Ida5daa71d469805fd52e08e804fb9fa182d7d008 (cherry picked from commit e25ed0d0690ee8d5f07c98ccbb79868415fef5fb) commit 401638823f6657ec9f585df4d0a7c953d9d299e7 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 22 17:01:18 2018 -0400 svx: support sub-paths in PDF import Change-Id: Ibcfd30383db6846e791aea7609ab196c4f3f2da4 (cherry picked from commit 50bb1d4ab26a00bb2bb866df15ccb5660605fbe2) commit 9d03df990070b6e96cfb22d4413fd3e5d6a15763 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 22 10:48:51 2018 -0400 svx: import processed PDF text Some PDFs don't include spaces in the text. Instead, they rely on the explicit positioning of each character to render visually separated words. Latex seems to be prone to this approach, though not exclusively. Luckily, PDFium does process text and inserts "generated" spaces where necessary, which is what we retrieve and use as the text string while importing. Change-Id: Ic21fe6c8416ecaba66f06b6260f1d6b040ff12af (cherry picked from commit da4b44d6afc01de4fb08251732ddcbdbd832b71f) commit d633c02c1ecdf4148c81a6b41c769b72c52ea6b2 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Wed Apr 18 21:27:27 2018 -0400 svx: correctly possition form objects from PDF Change-Id: I7d216ca61b8a10219628877db7dd593a4987ef60 (cherry picked from commit 81f16107c1b0b5315537f38a9830cf967e4abb68) commit 575acae0bb5196f755842bf95aa219c59b07ec04 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 15 21:56:49 2018 -0400 svx: support importing forms from PDFs Still missing the context matrix transformations. Change-Id: Id9457c6475463127d3bc444f36fa373a6ec8fcb6 (cherry picked from commit 08e2c68e99151c70d06581261bbc137f80967d9e) commit df0e3ba6d079e3aa9a97581bf6c3699eeaaa29bc Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 15 20:32:52 2018 -0400 sd: support breaking any PDF page (cherry picked from commit 971ada2fe6cb1ccd91ead7e0f34624ace92f3b7d) Change-Id: Ifa5f58163bef209a988fc0f88e2b609b1973e0d4 commit 9ddfbcb02238cb466ad5e83ccaaa81632124c23c Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 15 11:11:33 2018 -0400 svx: path line width is given as full thickness in PDF Change-Id: I728d962ea65ad1671e3b4c76034d396bee84228e (cherry picked from commit 70b3203a9a22f7235a6a5d3f1e5449566997adc5) commit d2f0d29c8d7f13b44c10f14018c6078c94a477c5 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 15 10:51:39 2018 -0400 svx: support color text for imported PDFs Change-Id: I01cba9456b37bd7a63c823bbe332d686f7ede389 (cherry picked from commit 26e37f98b08ce59a0feb93a8d2a8fbc982cfc103) commit 7884e7a8543cf9c05dea5fcd8bb73f79952bc52e Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat Apr 14 16:20:11 2018 -0400 svx: more accurate PDF imported text size Change-Id: I22880afdd9d36d9096003d86bba15098b465e0b3 (cherry picked from commit d583d4635f165a788c12ef336a25377239049253) commit 7d5f78d2761dbbdfb888d7b4d9504f5e1e1f4601 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat Apr 14 11:40:18 2018 -0400 svx: correct the positioning of PDF Paths and the stroke width Change-Id: I5b150721cc1b61b028f282062c1466ef6a67fcae (cherry picked from commit 37a40d8025ac70f84937de2b1d0f596d08088cbd) commit 0e66e793546f3c93d6e794c93ddf9e96cb897111 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Fri Apr 13 20:26:11 2018 -0400 svx: improved text importing from PDF Change-Id: I9a2fc2c8511655c1aa362c1a03a5e82ae3ba697e (cherry picked from commit d057cf3d9184cc5d96af9c957411911f5e788f4d) commit d27e516c8451037fac9ff5039c12038171a0834e Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Fri Apr 13 18:59:56 2018 -0400 svx: improve path importing from PDF Change-Id: I8e63b2a35d841e065ef32fea95c0a5f22ca6f049 (cherry picked from commit 819d11b7ae198a6a8e864852a3654ddbed389ecb) commit 677dd7a54eb11feb98c7cf7f9d53a5fa932e22d6 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Tue Apr 10 18:06:47 2018 -0400 svx: support Paths in PDFs while importing Change-Id: Idba294cf5a3a8dd00988f94786715b110039e000 (cherry picked from commit b1083c119832c32d722a4e81415ef7a02c23d4aa) commit c4eadb1dd5ff7159b9b9414a553424fd8685074e Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Tue Apr 10 07:45:06 2018 -0400 svx: support PDF text color Change-Id: I7fa675c6560504e4fc7917e19cac3cceb2700d8e (cherry picked from commit 3c02b52fdad9c5a34d4bfb7623e04c4e85875a89) commit 8af72f0ffd527897f89ae3f5645375c64302faac Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon Apr 9 22:17:49 2018 -0400 svx: more informative logging Change-Id: Ia9f2fa1fbb24ad3466bd082b778244f451c90745 (cherry picked from commit bd2092d664550e24965773289cd9de00e05225ff) commit c7b6966a4006af40042383ae3241f3bc8f9c5af5 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon Apr 9 22:16:05 2018 -0400 svx: import PDF images as BGRA This makes it trivial to support all sort of odd bit-format and 8-bit paletted images. Change-Id: I4555794eccd0ee2906f9a39bd93957ad3775432c (cherry picked from commit 5ca54d5fa9fec264431d5d1f712b351b4b199fd6) commit bc4f79efb550b9941af8852f869899a4639dd294 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon Apr 9 09:08:02 2018 -0400 svx: refactor PDF text importing Change-Id: Ibe8d794c1d457936c9272bb664a5478d78654dd4 (cherry picked from commit e84047e4ebce65ae7b7fc3ebf1f6897aaa332650) commit a44400c04cb33c25c7c3811aa566fe8c1c6ded2c Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 8 23:38:55 2018 -0400 svx: more accurate PDF text importing Change-Id: If37119510cbc091dc86cb5f699984186167745c7 (cherry picked from commit 7dc905d1e9b561bb71f58881190bb6f590d09d80) commit 2a591fde97b619a0230f74e99d022fce01d836ff Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 8 20:34:29 2018 -0400 svx: import PDF text using PDFium (cherry picked from commit 07cd74846d41779b5a315a081cdfb1db6b5e18a3) Change-Id: I7c75477f5257931f5182b8d65e898857526bf555 commit 27d2af28ae72c8fde8a5d1bcd5cd921d570a4f13 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon Jun 4 00:22:20 2018 -0400 Revert "pdfium: update to 3426" Temporarily revert the PDFium upgrade to fix build (a number of PDFium patches will follow this commit, which only apply on the previous PDFium version). This will be re-applied after a number of commits. This reverts commit 56195a4d0bbb21edeed1cea7a45283141c733f18. commit 82bff3752764752d4f2f863d6252950125218182 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 8 15:41:38 2018 -0400 svx: import PDF images at correct possition and scale Change-Id: Idb447b99143ad326294f2748f4d5154432fc328a (cherry picked from commit 8071e92e264eb905dfc1b68bd4ac77453e6f2cf5) commit add58f19975412e0df6de83345d3a54301797952 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sun Apr 8 11:37:30 2018 -0400 svx: import images from PDF (cherry picked from commit 22aa48947834905c0ebc42b222b7cfc7ce566a2c) Change-Id: If0765aac9f47df73f1021664e13afa15ebf0f9ee commit a60a959a6bd6d0c5a24a055d2e9809db557a675f Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat Apr 7 19:00:32 2018 -0400 svx: support importing PDF images (cherry picked from commit 6e00acca4ffe130f41d19313e5b310ae6da6358d) Change-Id: Id4524a30b8f9fa4228c4acb4bf8714700da3017c commit 54c3ff15be8eef2fef8f2c41a397fa9fd3cf109b Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat Apr 7 15:22:06 2018 -0400 svx: support breaking PDFs imported as images (cherry picked from commit 825ca67423eef8567edbc938fc8b65dab45781a9) Change-Id: I990c2b3c3055fbffddedc407c34beb5824277b38 commit 5be75c91086683233e41a5c6562125946b061cf3 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon Apr 2 20:34:11 2018 -0400 vcl: svx: preserve the imported PDF page number in Graphic (cherry picked from commit dbbf8641e9e66c106cf74637ea9e94b56fd588c0) Change-Id: I1bb3fa7d44d5f92df2bb8c4ed4b85ccd984c2617 commit 83e2c70b62226cc50b773beb375241fc0f672365 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Fri Mar 30 23:34:03 2018 -0400 svx: sd: cosmetics Change-Id: Ic82e0b20b6e0f0ecdd308969c85c887ef84d2340 (cherry picked from commit 9510d017af8f36953bd17ac4ae4ab7768684665c) commit 075aa655ba5d4def1cdfa3bb3fed25ce9371fbd9 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon May 14 08:15:30 2018 -0400 svx: share PDF stream when saving imported PDF as images (cherry picked from commit 23642eead069133d794bb1ac5cf9e7042d18d876) Change-Id: I05dd9ccb8f61c795212f8c587ee0a69c3cd75cf6 commit 5c0b46d3c899d85b16ab9866ae0575ddaef3a81e Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Tue Mar 13 23:55:26 2018 -0400 sd: import PDFs as images using Pdfium new SdPdfFilter LOK now opens PDFs as images using Pdfium, which has a superior accuracy and support to poppler, the default pdf reader. (cherry picked from commit 0e8f4f45b44935c7c8002d606b97a48e60e37b23) (cherry picked from commit 42733c51385b6518678a8d5483c234909db2af40) Change-Id: Ifbbecf7f048f001836fb98886705cba47e6bed4e commit 498b14d8a8f4b51b137d03c4fb5c6f8c2747e7cd Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Tue Mar 13 21:07:17 2018 -0400 vcl: support rendering multiple PDF pages to bitmap Reviewed-on: https://gerrit.libreoffice.org/51255 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> (cherry picked from commit d7c0cc3908a7624aa159549ab1561b511d6fae28) Change-Id: Id42ecabcad90dde84475a01e5df4ed94f221f5ce commit f0db4d1a0cc5d6b3f42b8af77bc2631a6c65c749 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat Jun 2 23:57:04 2018 -0400 vcl: refresh font cache only on real change GTK3 emits way too many style-updated, which triggers font cache updates. The avoidance of unecessary font cache updates was first implemented in 29c55564. Unfortuantely, it seems that the current font was never set as last-seen font, so checking for font style changes would have worked, leaving the code seemingly suffering the original issue of way too many font cache updates. Change-Id: I01a47d4d7fb033e335b1a49ffa6e1bb98f7fd28d _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits