Author Topic: Evince / Poppler Experiences  (Read 6612 times)

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Evince / Poppler Experiences
« Reply #15 on: November 28, 2006, 12:25:48 pm »
Found some old ipks for evince poppler and freetype in this thread: https://www.oesf.org/forums/index.php?showt...hl=evince&st=30

seem to work very well, if slow, and with this older poppler the version of epdfview (mentioned below) works fine

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Evince / Poppler Experiences
« Reply #16 on: November 28, 2006, 06:10:07 pm »
Quote
First impressions of epdfview are very good, I had a doc open that was very readable set at page width zoom. Since then I've tried to open a couple of larger pdfs and it segfaults before I actually see any text. I have a large swapfile so it shouldnt be low memory causing the crash...

Will try again later, thanks for the packages
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146597\"][{POST_SNAPBACK}][/a][/div]

most of the poppler/xpdf libraries have /tmp hardcoded so swap is ignored ;(
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #17 on: November 29, 2006, 04:02:34 am »
Quote
Quote
First impressions of epdfview are very good, I had a doc open that was very readable set at page width zoom. Since then I've tried to open a couple of larger pdfs and it segfaults before I actually see any text. I have a large swapfile so it shouldnt be low memory causing the crash...

Will try again later, thanks for the packages
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146597\"][{POST_SNAPBACK}][/a][/div]

most of the poppler/xpdf libraries have /tmp hardcoded so swap is ignored ;(
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147449\"][{POST_SNAPBACK}][/a][/div]

aha, that means, if we link /tmp to a place with much space, these crashes shouldn't happen anymore?

Will try.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #18 on: November 29, 2006, 04:57:24 am »
Did some tests:

I have uninstalled the old freetype 2.1.9 and installed the newer freetype package 2.1.10 from here.

Now the new epdfview / poppler combo from the hermocom feed seems to better! At least it doesn't segfault anymore on large documents.

However, the page index / table of contents navigation does not seem to work. The chapters are listed, but all with page #0, and clicking on them does nothing.
Navigating using page number entry seems to work.
Also, sometimes pages appear empty.

BTW: During working with a large document, I observed the contents of /tmp.
I could not find anything created by epdfview or poppler there.

daniel
« Last Edit: November 29, 2006, 05:06:31 am by daniel3000 »
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #19 on: November 29, 2006, 05:06:13 am »
just saw on the console:

Code: [Select]
some font thing failed
Error: could not create type1 face
some font thing failed
Error: could not create truetype face

repeating.
So somehow there still seems to be a freetype problem.
But what exactly?
Any idea?


daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #20 on: November 29, 2006, 05:13:25 am »
problem solved it seems:
THIS was due to a full /tmp directory. :-)
I have filled my /tmp (/dev/shm/tmp; 12MB) with junk to simulate a full /tmp and see if epdfview really suffers from it.
It does! Meanie is right.

Depleting /tmp now makes epdfview work well. No font problems anymore.

However, the index still does not work.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

zi99y

  • Sr. Member
  • ****
  • Posts: 282
    • View Profile
Evince / Poppler Experiences
« Reply #21 on: November 29, 2006, 05:28:08 am »
Excellent! So is it much improved from using the latest poppler package? I'm hoping it will be a bit faster as the older one is pig slow, but does work.

Maybe someone could make an amendment on the hermocom ipk post in the new packages thread for others.

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #22 on: November 29, 2006, 08:22:35 am »
Quote
Excellent! So is it much improved from using the latest poppler package? I'm hoping it will be a bit faster as the older one is pig slow, but does work.

Maybe someone could make an amendment on the hermocom ipk post in the new packages thread for others.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147487\"][{POST_SNAPBACK}][/a][/div]

done.

I don't know about improvements of new poppler / epdf above the older versions.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #23 on: November 29, 2006, 10:13:17 am »
If you install the new freetype package 2.1.10, be sure to run these commands afterwards:

Code: [Select]
strip /usr/lib/libfreetype.so.6.3.8
strip /usr/lib/libfreetype.a

This reduces the size of the two files from together 3MB to 600kB!

You may need a developer image mounted for this to work. I don' tknow if strip is part of the standard installation of pdaXrom.

(I wondered why that new freetype is so much larger than the old one - the packager seems to have forgotten stripping the libs).

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #24 on: November 30, 2006, 08:20:14 am »
I tried epdfview. It crash while opening pdf file. size of pdf ~ 177K

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #25 on: November 30, 2006, 03:55:29 pm »
Quote
I tried epdfview. It crash while opening pdf file. size of pdf ~ 177K
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147584\"][{POST_SNAPBACK}][/a][/div]

Which version of freetype is installed on your system?
Which versions of epdfview and poppler did you try?

Any output on the console which could help?

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

tanjian2

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
Evince / Poppler Experiences
« Reply #26 on: November 30, 2006, 07:00:28 pm »
Quote
Quote
I tried epdfview. It crash while opening pdf file. size of pdf ~ 177K
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147584\"][{POST_SNAPBACK}][/a][/div]

Which version of freetype is installed on your system?
Which versions of epdfview and poppler did you try?

Any output on the console which could help?

daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147631\"][{POST_SNAPBACK}][/a][/div]

I have just tried epdfview (epdfview_0.1.2_arm5tel.ipk/poppler_0.5.1_arm5tel.ipk) with a 6.9Mb pdf and it works fine - freetype-2.1.9 I think.

tanjian
« Last Edit: November 30, 2006, 07:02:27 pm by tanjian2 »
SL-C3000(Spitz) - pdaXii13 5.5alpha + sound enhanced kernel - MD in 1 great big partition -  Ambicom CF Wifi + USB Ethernet  and NOW Zubuntu on a 4Gb SD

svs57

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #27 on: December 01, 2006, 06:03:59 am »
Quote
Quote
I tried epdfview. It crash while opening pdf file. size of pdf ~ 177K
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Which version of freetype is installed on your system?
Which versions of epdfview and poppler did you try?

Any output on the console which could help?

daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=147631\"][{POST_SNAPBACK}][/a][/div]
[a href=\"http://www.hermocom.com/feeds/pdaxrom1.1.0beta3/epdfview_0.1.5-hmc-1_armv5tel.ipk]http://www.hermocom.com/feeds/pdaxrom1.1.0...-1_armv5tel.ipk[/url]
http://www.hermocom.com/feeds/pdaxrom1.1.0...-1_armv5tel.ipk
http://www.karma-lab.net/zaurus/experiment....5_armv5tel.ipk
freetype 2.1.10 forget from which site

$epdfview file.pdf
killed
$
I tried set swap and change /tmp to sd
Nothing help
xpdf open this pdf file on zaurus
I use pdaXrom r121
Thanks

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Evince / Poppler Experiences
« Reply #28 on: December 01, 2006, 07:41:59 am »
r121 - so this could be the reason?
The IPKs are compiled for beta3. At least the hermocom ones. karma-lab too?

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0