Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  PDF Viewer?
« previous next »
  • Print
Pages: [1] 2

Author Topic: PDF Viewer?  (Read 18786 times)

Offline PigMaster

  • Member
  • *
  • Posts: 15
PDF Viewer?
« on: January 29, 2007, 11:16:04 PM »
Hello all.
No, I'm NOT making a feature request (I know where they go, don't worry...), just wondering why there doesn't seem to be any developer interest in the idea of a PDF viewer.

http://www.rockbox.org/tracker/task/2613

I think it would be a great idea. If PDFs would be too hard to render or a view too hard to code, would there be any interest in a HTML viewer? (I might just add that to the feature request)

Cheers.
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: PDF Viewer?
« Reply #1 on: January 30, 2007, 04:55:43 AM »
Quote from: PigMaster on January 29, 2007, 11:16:04 PM
... PDFs would be too hard to render or a view too hard to code ...

You answered your question yourself!

Also about HTML, it maybe easier code-wise to get implemented compared to PDF but again, there would be many obstacles and problems to overcome (how to display pictures, different fonts etc.) that wouldn't worth the result of viewing html pages on such small screens. Besides, there are more interesting things for the developers to work on.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: PDF Viewer?
« Reply #2 on: January 30, 2007, 11:13:29 AM »
There are already feature requests for the HTML viewer - and I think most of them get closed with a reason something like "hahahaha - no."

HTML would be a complete nightmare to try and parse, let alone display on a hand held target.

Have you ever asked yourself why pocket interet explorer on WinCE devices sucks so much ?
Logged

Read The Manual Please

Offline Yotto

  • Artist
  • Member
  • *
  • Posts: 826
  • Every Silver Lining has a Cloud
    • My Blog
Re: PDF Viewer?
« Reply #3 on: January 30, 2007, 08:33:40 PM »
Quote from: GodEater on January 30, 2007, 11:13:29 AM
Have you ever asked yourself why pocket interet explorer on WinCE devices sucks so much ?

One thing I have never ever asked myself is why Internet Explorer on WinCE sucks so much.

On topic, most PDFs need at *least* an 800x600 screen to render well, and a lot of them aren't text, but compressed images of the pages.  The idea of scrolling back and forth for *every line* of text I'm reading makes me shudder.
Logged
Pulp Audio Weekly - Where we talk about News, Reviews, and pretty much anything else we feel like discussing.

Offline MaximillionUnlimited

  • Member
  • *
  • Posts: 1
Re: PDF Viewer?
« Reply #4 on: January 30, 2007, 08:56:28 PM »
Even though PDF viewer sounds cool im gona have to go with the guy above me to complicated even if they could make it view it. If they found some way of viewing it like 1 page at a time and the zoom feature combinded with a scroll then maybe there would be a chance. But that would be a pain of code.
Logged

Offline soap

  • Member
  • *
  • Posts: 1679
  • Creature of habit.
Re: PDF Viewer?
« Reply #5 on: January 31, 2007, 01:18:27 PM »
Porting/creating a project like Plucker http://www.plkr.org/ would be more reasonable.  Desktop side parsing and conversion with only the viewing side of the equation done player side.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline man

  • Member
  • *
  • Posts: 7
Re: PDF Viewer?
« Reply #6 on: January 31, 2007, 04:39:30 PM »
hmm... and what about porting a text-base open-source browser like ELinks (http://www.elinks.cz) to Rockbox?
Logged

Offline Genre9mp3

  • Artist
  • Member
  • *
  • Posts: 146
Re: PDF Viewer?
« Reply #7 on: January 31, 2007, 05:01:29 PM »
ELinks seems to be a very nice and interesting project overall but again... it doesn't worth to port such a thing in Rockbox! IMO, even on the biggest screens (Gigabeat/iPod Video) it would be a pain to read html pages. Besides, what html files would someone carry with him/her? The only useful thing I can think of is the html manual. But even on this, a txt file of that would be equally good.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: PDF Viewer?
« Reply #8 on: February 01, 2007, 03:25:38 AM »
Quote from: man on January 31, 2007, 04:39:30 PM
hmm... and what about porting a text-base open-source browser like ELinks (http://www.elinks.cz) to Rockbox?

The problem you'll find with most of these projects that are designed for actual computers, and not handheld devices, is that they will make extensive use of malloc() calls all the way through them (or equivalents). Rockbox has no support for such a function, and not only are there no plans to make one, there are very vocal people wielding pitchforks that hunt down and burn people that suggest we ought to include one.

Even if those vocal people could be silenced, and convinced not to hurt people that suggested such a thing - you're then talking about two lots of things which need to happen. Firstly, the system programmers, the ones who actually write rockbox would have to work out how to properly implement malloc() in rockbox. This is not a trivial problem to solve on hardware which mostly doesn't include an MMU. Secondly, the application programmers, the hypothetical people who are going to do the port, are going to have to sit down and work out how to make elinks work properly on such a tiny target.

In short - I think hell will freeze over long before you see a port of elinks to rockbox. But I'm willing to be proved wrong.
« Last Edit: February 01, 2007, 03:36:51 AM by GodEater »
Logged

Read The Manual Please

Offline nbigaouette

  • Member
  • *
  • Posts: 2
Re: PDF Viewer?
« Reply #9 on: March 08, 2007, 06:59:46 PM »
Quote from: soap on January 31, 2007, 01:18:27 PM
Porting/creating a project like Plucker http://www.plkr.org/ would be more reasonable.  Desktop side parsing and conversion with only the viewing side of the equation done player side.
I use Plucker on my Palm Zire 21 (1 bit color depth, small screen) and it is really great. Even on that kind of screen the rendering is really good.

Quote from: GodEater on February 01, 2007, 03:25:38 AM
The problem you'll find with most of these projects that are designed for actual computers, and not handheld devices [...]
Plucker was designed for handheld devices. I don't know if it uses mallocs but it wasn't designed for computers. Hence it is a good candidate for document viewer on RockBox.

I think it could be quite interesting to see Plucker on rockbox. Each morning I was downloading my news and with plucker I read it in the metro.

Unfortunatly I never managed to view pdf on the palm. Is it possible to convert a pdf to a plucker file?
Logged

Offline soap

  • Member
  • *
  • Posts: 1679
  • Creature of habit.
Re: PDF Viewer?
« Reply #10 on: March 09, 2007, 12:17:17 AM »
The whole point (IMHO) of PDF is to preserve layout across a variety of platforms.
All the Rockbox targets have screens too small to present (in a usable form) the layout of all but the simplest and smallest of pages.
That is why I, personally, think the idea of PDF on Rockbox is silly.
I have, though, long been a supporter of Plucker on Rockbox.  I obviously haven't put my time where my mouth is and tried to port it.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline nbigaouette

  • Member
  • *
  • Posts: 2
Re: PDF Viewer?
« Reply #11 on: March 09, 2007, 12:13:19 PM »
PDF was created for layout preservation on multiple targets. But this is not its only use today. I think an important use, if not the first, is that PDF prevent editing. Documents can be given without fear of it being modified (Sending of an homework as PDF in an email. You could always argue that the copy the corrector received is not the same you have sent if it was in doc format.)

I don't think it would be silly to (try) display a PDF on rockbox. I would like being able to read some PDF files on my rockboxed iriver H10 (160x128x16). I think it could be possible to convert PDF to html and then to plucker.

So the bottom line would be try to port plucker, then try something about PDF ;)

Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: PDF Viewer?
« Reply #12 on: March 09, 2007, 02:36:58 PM »
Well don't let my comments stop you. If you want it that badly, and think it won't look rubbish - by all means go ahead.
Logged

Read The Manual Please

Offline caw

  • Member
  • *
  • Posts: 1
Re: PDF Viewer?
« Reply #13 on: September 06, 2007, 11:38:36 AM »
Just wondering if anyone has looked into porting plucker to rockbox. I use plucker all the time on my Sony Clie, and being able to use it on rockboxed devices would, well, rock!
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2273
  • /usr/local/bin/weirdo
    • The Nostalgia Roadtrip
Re: PDF Viewer?
« Reply #14 on: September 06, 2007, 11:43:55 AM »
Well, Plucker is GPL software, and the source is available, so why don't you download the source and start some research on it?
Logged
Retired Rockbox dev; still a user!

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  PDF Viewer?
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.091 seconds with 22 queries.