OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: guscpu on April 19, 2008, 10:16:05 pm

Title: Pdf Viewer Not Working?
Post by: guscpu on April 19, 2008, 10:16:05 pm
Using ipkg from the CLI I have installed "qpdf2_render-freetype-2.2.1-20040217-1_arm.ipk"  and "libfreetype_6.3.4-1_arm.ipk" with no obvious problems.

But when I click on the pdf viewer icon nothing happens!

Have tried....
ipkg depends qpdf2_render-freetype-2.2.1-20040217-1_arm.ipk
but i get ERROR:Package name qpdf2_render-freetype-2.2.1-20040217-1_arm.ipk.......contains illegal characters so i got rid of the underscore characters and "ipkg depends"  worked, whats that all about???



Can anyone offer any advice pls


Gus
Title: Pdf Viewer Not Working?
Post by: tml on April 20, 2008, 12:38:35 am
Quote
But when I click on the pdf viewer icon nothing happens!

What happens if you start it from the command line?

IMHO qpdf2 isn't very usable anyway. Unfortunately there is AFAIK no free qt alternative.
Title: Pdf Viewer Not Working?
Post by: Jon_J on April 20, 2008, 11:53:01 am
I use this one, maybe it will work better for you. Un-install the other one first.
Also, having a swapfile is very helpful when reading pdf files.
You already have libfreetype_6.3.4-1
I also included the version of libt1 that I have installed.
Remember, the forum changes dashes to underscores. These are the correct filenames:
qpdf2_render-freetype-2.3.0-070505a-1_arm.ipk
libt1_1.3.0-1_arm.ipk
Code: [Select]
Package: qpdf2
Version: render-freetype-2.3.0-070505a-1
Depends: libfreetype, libt1
Section: qpe/applications
Architecture: arm
Maintainer: Philip Kohn
MD5Sum: 78968771bae6e701b81bd1653d87a0dd
Size: 437537
Filename: ./qpdf2_render-freetype-2.3.0-070505a-1_arm.ipk
Description: Advanced PDF viewer and organizer for QPE.
Title: Pdf Viewer Not Working?
Post by: guscpu on April 20, 2008, 01:59:55 pm
Quote from: Jon_J
I use this one, maybe it will work better for you. Un-install the other one first.
Also, having a swapfile is very helpful when reading pdf files.
You already have libfreetype_6.3.4-1
I also included the version of libt1 that I have installed.
Remember, the forum changes dashes to underscores. These are the correct filenames:
qpdf2_render-freetype-2.3.0-070505a-1_arm.ipk
libt1_1.3.0-1_arm.ipk
Code: [Select]
Package: qpdf2
Version: render-freetype-2.3.0-070505a-1
Depends: libfreetype, libt1
Section: qpe/applications
Architecture: arm
Maintainer: Philip Kohn
MD5Sum: 78968771bae6e701b81bd1653d87a0dd
Size: 437537
Filename: ./qpdf2_render-freetype-2.3.0-070505a-1_arm.ipk
Description: Advanced PDF viewer and organizer for QPE.

Thanks for that, have now got it working. Am viewing Meanies pdf zbook3K and whilst its a bit slow drawing the pages it is certainly usable. The one thing that is a bit of a pain is when i choose to fit the pages to the width of the screen the font goes really small. When i zoom in I end up having to scroll like crazy. Do you know if there is a way around this?

Many thanks for your help
Gus
Title: Pdf Viewer Not Working?
Post by: Jon_J on April 21, 2008, 12:25:28 pm
PDF readers have no word wrap, so making the font larger by zooming in is always going to produce a horizontal scrollbar.
A PDF document needs to have large fonts embedded into the original document to achieve nice readable fonts on a small screen without producing a horizontal scrollbar.
Basically the pdf readers for the Zaurus, and other handhelds are for reading small 1 to 10 page pdfs.
My work around for meanie's documentation is to do this.
I go to meanie's website on my desktop and save the page as htm "Web page, complete" in Firefox.
I did this with the various pages that are linked. Then I copy these to my Zaurus hard drive.
Viewing these in a browser is a much better experience than as a PDF.
I use both Opera and Netfront.
Netfront has an option to "Wrap content" I use either "JustFit" or SmartFit"
Opera has some settings to make fonts easier to read, and the resulting horizontal scrollbar only hides the margins.
Title: Pdf Viewer Not Working?
Post by: guscpu on April 22, 2008, 07:19:02 pm
Quote from: Jon_J
PDF readers have no word wrap, so making the font larger by zooming in is always going to produce a horizontal scrollbar.
A PDF document needs to have large fonts embedded into the original document to achieve nice readable fonts on a small screen without producing a horizontal scrollbar.
Basically the pdf readers for the Zaurus, and other handhelds are for reading small 1 to 10 page pdfs.
My work around for meanie's documentation is to do this.
I go to meanie's website on my desktop and save the page as htm "Web page, complete" in Firefox.
I did this with the various pages that are linked. Then I copy these to my Zaurus hard drive.
Viewing these in a browser is a much better experience than as a PDF.
I use both Opera and Netfront.
Netfront has an option to "Wrap content" I use either "JustFit" or SmartFit"
Opera has some settings to make fonts easier to read, and the resulting horizontal scrollbar only hides the margins.


Taken your advice and it works much better than the pdf prog, hopefully the pdf software will come in handy at some point

Many thanks
Gus
Title: Pdf Viewer Not Working?
Post by: tml on April 23, 2008, 12:17:02 am
Quote from: guscpu
hopefully the pdf software will come in handy at some point

If you're able to run X (via pdaxqtrom or so), I personally found xpdf more useful. It lacks integration with the qt-based standard-environment though.