APDF fonts
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > @Andreas_Wolf
    > Where is my links!

    Unfortunately, I've none on that problem. My only problem with garbled fonts in APDF is with some of the PDF files which have their fonts embedded. As a workaround I use the online Google Docs Viewer.
  • »10.09.10 - 02:57
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    Update:

    > As a workaround I use the online Google Docs Viewer.

    Another approach, even nicer as it doesn't require the PDF file to be online:

    http://andreasgal.com/2011/06/15/pdf-js/
    https://wiki.mozilla.org/PDF.js

    Works fine in OWB (may be neccesary to switch pages before content becomes visible).
  • »18.06.11 - 16:20
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dake
    Posts: 204 from 2007/9/14
    From: The building p...
    Thanks Andreas!

    very interesting project!
    But there is not many pdf:s that can be loaded with this, maybe some OWB issue but I don't think soo.
    When I download the https://github.com/andreasgal/pdf.js/tarball/master version this couldn't render at all even if you switch pages, but the https://github.com/andreasgal/pdf.js/tree/gh-pages version could render with some strange characters:(

    >Works fine in OWB (may be neccesary to switch pages before content becomes visible).

    Do you manage to use this select file button in the submittet link to view a pdf?

    Anyone else having total success with this?
  • »19.06.11 - 11:14
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > there is not many pdf:s that can be loaded with this, maybe some
    > OWB issue but I don't think soo.

    This project has only just been started so expect it to improve over time.

    > When I download the https://github.com/andreasgal/pdf.js/tarball/master
    > version this couldn't render at all even if you switch pages, but the
    > https://github.com/andreasgal/pdf.js/tree/gh-pages version could render
    > with some strange characters:(

    Yes, same here. Seems OWB compatibility got broken from the older version with strange character rendering to the newer one with no rendering at all. But as it's all in a state of flux let's monitor the development and try new versions from time to time to see if OWB compatibility returns.

    > Do you manage to use this select file button in the submittet link to view a pdf?

    No, I don't. Sorry for having been not specific enough. I just meant to refer to the rendering of the one default document. It seems that as of now we have to pre-specify in the script the document we want to show.
  • »19.06.11 - 13:29
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dake
    Posts: 204 from 2007/9/14
    From: The building p...
    Thanks for the clarification.

    >This project has only just been started so expect it to improve over time.

    Agree
  • »19.06.11 - 15:05
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > very interesting project!

    Found another one with the same approach:

    http://trapeze.xyrka.com
    http://code.google.com/p/trapeze-reader/
    http://blog.xyrka.com/?p=43

    OWB on MorphOS: doesn't work (white sheet)
    TenFourFox on Leopard: doesn't work (crash)
    Safari on Leopard: works
  • »23.06.11 - 11:48
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    Update:

    >> When I download the https://github.com/andreasgal/pdf.js/tarball/master
    >> version this couldn't render at all even if you switch pages, but the
    >> https://github.com/andreasgal/pdf.js/tree/gh-pages version could render
    >> with some strange characters:(

    > Yes, same here.

    Works again in OWB :-)

    ...and some more information:

    http://blog.mozilla.com/cjones/2011/07/03/pdf-js-first-milestone/

    ...as well as a new homepage with new online demo:

    http://mozilla.github.com/pdf.js/


    Edit: updated github link to new location

    [ Edited by Andreas_Wolf 15.11.2011 - 13:46 ]
  • »11.07.11 - 02:22
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Divinity
    Posts: 498 from 2009/9/8
    news about a new PDF viever in MorphOS2.x ?
    I'd like it A LOT !!! :)
  • »20.07.11 - 21:29
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    mobydick
    Posts: 179 from 2004/2/26
    From: Mordor, capita...
    May be, it is stupid question, but... How to install it?

    [ Edited by mobydick 08.08.2011 - 19:21 ]
    Pegasos II/G4@1GHz, 1 GB RAM, MorphOS 3.9
    Efika MX Smartbook, Ubuntu 12.04
    peguser.narod.ru
  • »08.08.11 - 15:20
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > How to install it?

    Click the first link in posting #7 to download the most recent version from the repository. Extract the archive to where you like.

    For usage:
    Open from within OWB the file /web/viewer.html and then select your own local PDF file from there (yes, the 'select file' button actually works with the most recent version as opposed to the release version from one month ago that is also in the current online demo).
  • »08.08.11 - 23:08
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    mobydick
    Posts: 179 from 2004/2/26
    From: Mordor, capita...
    Thank you,

    > 'select file' button actually works

    Yes, the button works. Unfortunately, the script renders pages very slow. Also, it can not open most of my pdf files.
    Pegasos II/G4@1GHz, 1 GB RAM, MorphOS 3.9
    Efika MX Smartbook, Ubuntu 12.04
    peguser.narod.ru
  • »09.08.11 - 19:45
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > the script renders pages very slow.

    Of course it's slower than a natively compiled application like Apdf, after all it's a script executed by an interpreter (at least as long as we've no JavaScript JIT on MorphOS).

    > it can not open most of my pdf files.

    Actually, it can open all of my PDF files, but most of them are not displayed flawlessly yet ;-)
  • »09.08.11 - 20:19
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    mobydick
    Posts: 179 from 2004/2/26
    From: Mordor, capita...
    >> it can not open most of my pdf files.
    >Actually, it can open all of my PDF files, but most of them are not displayed flawlessly yet ;-)
    ^^^^^^^^^^^^^

    Happy man :) Usually I see *nothing*. Well, let wait for new versions...
    Pegasos II/G4@1GHz, 1 GB RAM, MorphOS 3.9
    Efika MX Smartbook, Ubuntu 12.04
    peguser.narod.ru
  • »10.08.11 - 07:41
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > Usually I see *nothing*.

    After it finishes loading a new PDF (watch the CPU load) step one page forward, also after display size change. Does that change anything for you? For example jacadcaps' dual boot guide is rendered rather nicely here (it has some very small glitches though).
  • »10.08.11 - 10:45
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    mobydick
    Posts: 179 from 2004/2/26
    From: Mordor, capita...
    > step one page forward, also after display size change.

    I tried this way without success. But now i can't chack anything 'coz i have no access to my Pegasos. I'll try it at sunday.
    Pegasos II/G4@1GHz, 1 GB RAM, MorphOS 3.9
    Efika MX Smartbook, Ubuntu 12.04
    peguser.narod.ru
  • »10.08.11 - 19:31
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12150 from 2003/5/22
    From: Germany
    > news about a new PDF viever in MorphOS2.x ? I'd like it A LOT !!! :)

    It seems MorphOS 3.0 will have it:

    "New pdf viewer too, the layout looks a lot better than the current one. If based on a recent version of Poppler as the source, it should incorporate changes form xpdf 3.02 (ie support for pdf v1.6 and 1.7) too!"
    https://morph.zone/modules/newbb_plus/viewtopic.php?topic_id=8121&forum=9
  • »13.11.11 - 16:35
    Profile