Re: [NTG-context] OT: mupdf 1.14

2018-10-09 Thread luigi scarso
On Tue, Oct 9, 2018 at 5:01 PM Pablo Rodriguez  wrote:

> On 10/9/18 7:19 AM, luigi scarso wrote:
> > https://mupdf.com
> >
> > The basic viewer mupdf-gl has now a minimal UI interface and  an add
> > annotation mode ('a') .
> > The mutool show command line tool is useful to inspect pdf .
>
> I’m experiencing a weird issue with mupdf-1.14.
>
> According to https://mupdf.com/release_history.html, I understand that
> mupdf-gl is able to sign PDF documents (in both Windows and Linux).
>
> Well, I have this minimal document with a sign field
> (https://bugs.ghostscript.com/attachment.cgi?id=15715) and a certificate
> (https://bugs.ghostscript.com/attachment.cgi?id=15716) with password
> "123456".
>
> All I get is segfault in Linux and a crash in Windows. I reported the
> bug in mupdf-1.14-rc1, but they released the stable version four days
> after (containing the same issue).
>
> Am I missing something or is there a bug in that part of mupdf-gl?
>
I think it's a bug.

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] OT: mupdf 1.14

2018-10-09 Thread Pablo Rodriguez
On 10/9/18 7:19 AM, luigi scarso wrote:
> https://mupdf.com
> 
> The basic viewer mupdf-gl has now a minimal UI interface and  an add
> annotation mode ('a') .
> The mutool show command line tool is useful to inspect pdf .

I’m experiencing a weird issue with mupdf-1.14.

According to https://mupdf.com/release_history.html, I understand that
mupdf-gl is able to sign PDF documents (in both Windows and Linux).

Well, I have this minimal document with a sign field
(https://bugs.ghostscript.com/attachment.cgi?id=15715) and a certificate
(https://bugs.ghostscript.com/attachment.cgi?id=15716) with password
"123456".

All I get is segfault in Linux and a crash in Windows. I reported the
bug in mupdf-1.14-rc1, but they released the stable version four days
after (containing the same issue).

Am I missing something or is there a bug in that part of mupdf-gl?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] OT: mupdf 1.14

2018-10-09 Thread Hans Hagen

On 10/9/2018 1:36 PM, Procházka Lukáš Ing. wrote:

Hello Luigi,

BTW, I have problem converting/compressing a scanned ~.pdf (~77 kB; of 
course, I have some bigger PDFs) via:


 mutool.exe convert -F pdf -O resolution=150,compress-images -o 
~~.pdf ~.pdf


- The mutool.exe crashes (here on Win7 64b). (Is my understanding of 
mutool command line options OK?)

indeed it can crash ... probably some bug

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] OT: mupdf 1.14

2018-10-09 Thread luigi scarso
On Tue, Oct 9, 2018 at 1:33 PM Procházka Lukáš Ing.  wrote:

> Hello Luigi,
>
> BTW, I have problem converting/compressing a scanned ~.pdf (~77 kB; of
> course, I have some bigger PDFs) via:
>
> mutool.exe convert -F pdf -O resolution=150,compress-images -o
> ~~.pdf ~.pdf
>
> - The mutool.exe crashes (here on Win7 64b). (Is my understanding of
> mutool command line options OK?)
>
 the cmd line is ok;
I also have crashes on some pdf files, but I think that the pdf converter
is not yet ok
(you can try  qpdf and the utils form poppler , they should  work on ubuntu
wsl in windows10;  also ghostscript should be ok) .
The interesting thing in 1.14 is mupdf-gl which for the first time has  has
a (terse and no native) common UI .


-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] OT: mupdf 1.14

2018-10-09 Thread Procházka Lukáš Ing .

Hello Luigi,

BTW, I have problem converting/compressing a scanned ~.pdf (~77 kB; of course, 
I have some bigger PDFs) via:

mutool.exe convert -F pdf -O resolution=150,compress-images -o ~~.pdf 
~.pdf

- The mutool.exe crashes (here on Win7 64b). (Is my understanding of mutool 
command line options OK?)

Lukas


On Tue, 09 Oct 2018 07:19:57 +0200, luigi scarso  wrote:


https://mupdf.com

The basic viewer mupdf-gl has now a minimal UI interface and  an add
annotation mode ('a' ) .
The mutool show command line tool  is  useful to inspect pdf .



--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS: 
nrpt3sn | IČO: 40763439
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] OT: mupdf 1.14

2018-10-08 Thread luigi scarso
https://mupdf.com

The basic viewer mupdf-gl has now a minimal UI interface and  an add
annotation mode ('a' ) .
The mutool show command line tool  is  useful to inspect pdf .

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] [OT] mupdf

2009-07-24 Thread Martin Schröder
2009/7/24 Yue Wang :
> well, so maybe there can be a luatex binding to replace original xpdf?

Not yet. And mupdf isn't what I'm looking at. GNUPF...

Best
   Martin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread luigi scarso
On Fri, Jul 24, 2009 at 1:47 PM, Yue Wang  wrote:

> well, so maybe there can be a luatex binding to replace original xpdf?
> and  we can remove cpp code completely in LuaTeX...
> (and that enable the plan 9 guys to compile luatex on those exotic
> systems.)
>
until know, the most attractive  thing is
$> pdfdraw -x a.pdf
-xxml dump of display tree

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread Yue Wang
well, so maybe there can be a luatex binding to replace original xpdf?
and  we can remove cpp code completely in LuaTeX...
(and that enable the plan 9 guys to compile luatex on those exotic systems.)
On Fri, Jul 24, 2009 at 6:08 PM, luigi scarso wrote:
>
>
> On Fri, Jul 24, 2009 at 11:53 AM, Taco Hoekwater  wrote:
>>
>>
>> Taco Hoekwater wrote:
>> >
>> > The more serious problem is that it does not interaction objects
>> > at all, not even bookmarks or hyperlinks.
>>
>> Oops sorry, it does indeed do in-document hyperlinks.
>
> ==
>  ABOUT
>
> MuPDF is a lightweight PDF viewer and toolkit written in portable C.
>
> The renderer in MuPDF is tailored for high quality anti-aliased graphics.
> MuPDF renders text with metrics and spacing accurate to within fractions of
> a pixel for the highest fidelity in reproducing the look of a printed page
> on screen.
>
> MuPDF has a small footprint. A binary that includes the standard Roman fonts
> is only one megabyte. A build with full CJK support (including an Asian
> font) is approximately five megabytes.
>
> MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit
> provides a simple API for accessing the internal structures of the PDF
> document. Example code for navigating interactive links and bookmarks,
> encrypting PDF files, extracting fonts, images, and searchable text, and
> rendering pages to image files is provided.
> 
>
> I haven't  find an example for bookmarks .
>
> --
> luigi
>
>
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___
>
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread luigi scarso
On Fri, Jul 24, 2009 at 11:53 AM, Taco Hoekwater  wrote:

>
>
> Taco Hoekwater wrote:
> >
> > The more serious problem is that it does not interaction objects
> > at all, not even bookmarks or hyperlinks.
>
> Oops sorry, it does indeed do in-document hyperlinks.
>

==
 ABOUT

MuPDF is a lightweight PDF viewer and toolkit written in portable C.

The renderer in MuPDF is tailored for high quality anti-aliased graphics.
MuPDF renders text with metrics and spacing accurate to within fractions of
a pixel for the highest fidelity in reproducing the look of a printed page
on screen.

MuPDF has a small footprint. A binary that includes the standard Roman fonts
is only one megabyte. A build with full CJK support (including an Asian
font) is approximately five megabytes.

MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit
provides a simple API for accessing the internal structures of the PDF
document. Example code for navigating interactive links and bookmarks,
encrypting PDF files, extracting fonts, images, and searchable text, and
rendering pages to image files is provided.


I haven't  find an example for bookmarks .


-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread Taco Hoekwater


Taco Hoekwater wrote:
> 
> The more serious problem is that it does not interaction objects
> at all, not even bookmarks or hyperlinks.

Oops sorry, it does indeed do in-document hyperlinks.




___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread Taco Hoekwater


luigi scarso wrote:
> 
> 
> On Thu, Jul 23, 2009 at 5:24 AM, Aditya Mahajan  > wrote:
> 
> On Thu, 23 Jul 2009, luigi scarso wrote:
> 
> http://ccxvii.net/mupdf/
> It seems a valid alternative to xpdf
> 
> 
> Minimal and fast... but file reload does not seem possible, so not
> useful in a normal TeX workflow.
> 
> C code looks clear --
> shoud be not difficult to extend it to  mimic xpdf
> Eventually for a sprint at meeting

The more serious problem is that it does not interaction objects
at all, not even bookmarks or hyperlinks.

Best wishes,
Taco


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread luigi scarso
On Thu, Jul 23, 2009 at 5:24 AM, Aditya Mahajan  wrote:

> On Thu, 23 Jul 2009, luigi scarso wrote:
>
>  http://ccxvii.net/mupdf/
>> It seems a valid alternative to xpdf
>>
>
> Minimal and fast... but file reload does not seem possible, so not useful
> in a normal TeX workflow.
>
C code looks clear --
shoud be not difficult to extend it to  mimic xpdf
Eventually for a sprint at meeting

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] mupdf

2009-07-22 Thread Hans Hagen

luigi scarso wrote:

http://ccxvii.net/mupdf/
It seems a valid alternative to xpdf


kde okular is quite nice (runs also on windows) although i can't start 
it up from the editor


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [OT] mupdf

2009-07-22 Thread Aditya Mahajan

On Thu, 23 Jul 2009, luigi scarso wrote:


http://ccxvii.net/mupdf/
It seems a valid alternative to xpdf


Minimal and fast... but file reload does not seem possible, so not useful 
in a normal TeX workflow.


Aditya
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] [OT] mupdf

2009-07-22 Thread luigi scarso
http://ccxvii.net/mupdf/
It seems a valid alternative to xpdf

-- 
luigi
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___