| <<<Back 1 day (to 2017/11/22) | 20171123 |
deekej | chrisl, kens: Hello guys. I forgot to forward to you a note that libidn will be deprecated, and libidn2 should replace it. Have you heard about it yet? | 09:54.47 |
kens | Not me no | 09:55.02 |
| But I probably wouldn't notice | 09:55.12 |
deekej | Here's more info: | 09:55.12 |
| https://bugzilla.redhat.com/show_bug.cgi?id=1449128#c0 | 09:55.14 |
| According to Nikos, the switch to libidn2 should be transparent, the API should be compatible. | 09:55.43 |
chrisl | Nope, haven't heard about that. Should be easy enough to resolve, though | 09:56.06 |
kens | I can't think what we actually use it for | 09:56.11 |
deekej | few days ago I saw that it is checked in ./configure script | 09:56.41 |
kens | I guess if there's no API change we shouldn't care | 09:56.50 |
chrisl | We have to check for the new lib name | 09:57.09 |
deekej | kens: IMHO, as chrisl said, you would probably just need to check for new library | 09:57.31 |
chrisl | We use for UTF-8 password support | 09:57.41 |
kens | Seems reasonable | 09:57.43 |
| UTF-8 passwords, really ? How bizarre | 09:58.06 |
deekej | chrisl: should I try to submit a pull-request for it, or should I leave this up to you? (I can create a BZ for it at least, if you want). | 09:58.08 |
chrisl | deekej: Can you open a bug, please? Otherwise I'll forget! | 09:58.27 |
deekej | chrisl: I'm on it :) | 09:58.35 |
chrisl | kens: If you have a PDF with a multi-byte password, the only way to pass that into Ghostscript on Unix is UTF-8 | 09:59.00 |
kens | That seems reasonable, I suppose we use wide chars on Windows ? | 09:59.32 |
chrisl | <shrug> | 09:59.45 |
kens | Anyway, its the OS-specific UTF-8 stuff. | 10:00.11 |
deekej | Wait, since when does Windows support UTF-8 stuff? :D Did I miss something? :D | 10:01.19 |
kens | Its more to do with passing the data, we do our own UTF-8 and UTF-16 internally | 10:01.45 |
deekej | kens: ah, ok - that makes sense :) | 10:02.04 |
kens | I'm assuming that on Windows we pass the multi-byte password as a wide character, not as a UTF-8 | 10:02.22 |
deekej | chrisl: done - https://bugs.ghostscript.com/show_bug.cgi?id=698774 | 10:06.45 |
chrisl | deekej: thanks | 10:07.35 |
deekej | hmm, lookin at the Fedora wiki about this change: | 10:17.06 |
| In short switch software from libidn to libidn2, it is sufficient replacing idna.h header with idn2.h. | 10:17.06 |
| "Although it is recommended for new software to use the native libidn2 functions (i.e., the ones prefixed with idn2), old software isnât always feasible to modify." | 10:19.48 |
| using the idn2.h should do the trick (there should be transitional macros) | 10:20.41 |
chrisl | I'm off out for a couple of hours - deekej if you just paste relevant links into the bug. I don't think I need to worry about it too urgently, as long as we get it done for the next release | 10:23.06 |
deekej | chrisl: ok :) | 10:23.26 |
| sorry guys for the stupid question, but what is the difference between Ghostview (gv) and Ghostscript with X11 driver (gs)? | 13:21.09 |
| I saw that gv create some "fancy" buttons around the image/document | 13:21.30 |
| but except for that I don't see much of a reason to use it... | 13:21.44 |
chrisl | deekej: IIRC, it makes it a bit easier to scroll around a large page. Other than that, gv actually does use the x11 device, IIRC | 13:26.22 |
deekej | ok, thanks :) | 13:27.00 |
chrisl | TBH, thought, I haven't use gv much - I don't like it | 13:27.23 |
| Oops, wrong window..... | 13:28.36 |
| Forward 1 day (to 2017/11/24)>>> | |