-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MµPDF 1.14.0 #762
MµPDF 1.14.0 #762
Conversation
And drop deprecated stuff
Special shout out to past self in #660 ;p. |
Sidebar: upstream's documentation is still abysmal, ripgrep is my best friend. As is landing by chance on the right commit message. Which may very well mean that shit I may have missed will break. And, let's face it, there's a 142% probability that I did miss something ;). |
Library authors: for the love of all that is holy, please document API changes in a clear, concise, and easy to find way. |
Because it appears to be including hb.h even with HB disabled, or something.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes everything fantastically opaque, not a fan, but hey. -_-".
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Pro tip: calling a function that doesn't exist will segfault! :D.
|
This reverts commit 93c4755.
I have no idea how any of this is supposed to work, so, if anyone wants to take care of it, be my guest ;). |
Haven't hit an issue related to that yet, no ;).
…On Fri, Nov 16, 2018, 13:45 Frans de Jonge ***@***.*** wrote:
Quads instead of rects when highlighting and searching text.
Is that the relevant part of the changelog? I don't know what quads are in
this context but it sounds like it might very well break all of our
assumptions, although if there were a pointer on how to *use* them it
might still be easy to keep it all the same for the frontend by just
passing a rectangle.
But yeah… I don't have time to go code digging, atm and not much desire to
do so on Sunday, at least this one. ;-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#762 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG1ZmWXGZw6WxdU5hIoJZJQSig4lWlTks5uvrNUgaJpZM4Yezpd>
.
|
(There's a link to the offending commit for the current issue in a comment added in the latest commit). |
Good, that's one step closer. ;-) |
The following command might be helpful in knowing precisely how the API changed:
|
My main concern is no longer ranting about undocumented changes, but instead figuring out the replacing API with zero knowledge of the PDF format :D. |
And voila MuPdf 1.15 is out with API changes :) At least made in 1.14 Regarding replacing API for Have you looked here (see how this
At the end of manipulations it seems second call to |
Thanks for the heads up ;). That looks sensible, thanks! This'll have to wait until k2pdfopt moves to this new MuPDF version, though ;). Provided the accompanying bump to tesseract and friends doesn't also drive me mad ;p. |
1.16 comes with further significant API changes: https://github.com/ArtifexSoftware/mupdf/blob/97096297d409ec6f206298444ba00719607e8ba8/docs/api/changes.html |
No new k2pdfopt release yet, though, so 1.14 is still what it expects IIRC.
…On Mon, Jul 29, 2019, 15:23 Frans de Jonge ***@***.***> wrote:
1.16 comes with further significant API changes:
https://github.com/ArtifexSoftware/mupdf/blob/97096297d409ec6f206298444ba00719607e8ba8/docs/api/changes.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#762?email_source=notifications&email_token=AAA3KZW7RTOKOCWW4OCIOGLQB3VLRA5CNFSM4GD3HJO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3AV5RI#issuecomment-515989189>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAA3KZSEKGALIWDHK5JFDITQB3VLRANCNFSM4GD3HJOQ>
.
|
@NiLuJe I hope I merged it right; it was a quickie using the GH web GUI. k2pdfopt 2.52 just came out but it's still on MuPDF 1.14 I believe. |
I'll take a look at it sometime this week ;). |
@Frenzie @NiLuJe k2pdfopt 2.53 seems to have updated to MuPDF 1.17. |
@roshavagarga: Ah, now we're talking, thanks for the heads up! I'll try to take a look at it Soon(TM) ;). |
Sidebar: soon may be late, because I won't be available for most of August ;p. |
Well, have fun! ;-) |
Superseded by #1203. |
Here be dragons, a few API changes to pass some stuff by value instead of by reference...
And a buildsystem update, because of course. :D.
This change is