[ 
https://jira.nuxeo.com/browse/NXP-7291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=99039#comment-99039
 ] 

Leon Kolchinsky commented on NXP-7291:
--------------------------------------

Resolved by compiling pdftohtml from source -

[root@vera004 pdftohtml-0.39]# tar -xvzf pdftohtml-0.39.tar.gz
[root@vera004 pdftohtml-0.39]# pwd
/srv/home/lkolchin/pdftohtml-0.39

line 22 replace 
GBool HtmlLink::isEqualDest(const HtmlLink& x) const;
with
GBool isEqualDest(const HtmlLink& x) const;

[root@vera004 pdftohtml-0.39]# make

[root@vera004 pdftohtml-0.39]# cp src/pdftohtml /usr/bin/

> PDF preview broken
> ------------------
>
>                 Key: NXP-7291
>                 URL: https://jira.nuxeo.com/browse/NXP-7291
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 5.4.2
>         Environment: RedHat 5.6
>            Reporter: Leon Kolchinsky
>            Priority: Major
>
> Hello,
> I'm trying to use preview with Nuxeo DMS and PDF documents.
> pdftohtml ver. 036 installed.
> I'm getting this when previewing PDF's:
> �PNG  IHDRSI�.�       pHYs��t��KtEXtSoftwareGPL Ghostscript 8.70t8X� 
> IDATx���k�� 
> �`}'��M��7:��^[Ώ��t�B�G:�9QQ��I�����������|��K!��Z�`-�|�D>X"��ւ�kA��� 
> ��Z�`-�|�D>X"��ւ�kA��� ��Z�`-�|�D>X"��ւ��m��#��-}�F����:�W�� ��Ϩ���� 
> �E�~Bs�\������ϧ 
> �r��n#����)��lY������*U�'�%�J��ʵt�q�|!rLi��(����ټ��D�*u��`�fT1^�ªε�r�޸ 
> D>�>6�T�EevN��e��kt�O{V��wŢu[���4&V忛�G�>�[��jEt<�����+�ø፮��������e�Jւ9��ւ�kA���
>  ��Z�`-�|�D>X"��ւ�kA��� 
> ��Z�`-�|����'�>پD�>>�aB)*��$O��kx윯Ş7��^�H�s�R�����'��$r�eCW2�S��6��s%��\n4�飼��(4;�{�#P�T�hS�.*
>  u'�V�ʥDu��e[b@��F>�ऎ��I.���* `Y�ڙ/'J�����g��y�q.\%�����c�|[9���E�fh�K݀H�\| 
> Any help?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to