Author Topic: pdf viewer for pdaxrom?  (Read 17489 times)

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
pdf viewer for pdaxrom?
« Reply #30 on: December 31, 2004, 04:25:45 pm »
Here is a file which should fix xpdf for you people. It includes four fonts, courier, times, symbol and helvetica. I have been able to open many dozen files, and very quickly...

Courier and Symbol were taken from the windows directory of my windows 2000 machine. If you need more fonts, get a ghostscript fonts package and edit xpdfrc.

Extract it to any directory and exceute the following command "./runscript.sh"
That should be it. Please let me know how you get on...

Xpdf Changes
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
pdf viewer for pdaxrom?
« Reply #31 on: January 01, 2005, 10:21:36 am »
amazing. Now Xpdf looks like it should look: an alternative to acrobat reader.
Thank you Omega

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
pdf viewer for pdaxrom?
« Reply #32 on: January 01, 2005, 11:07:16 am »
thanks! ;-)  

Now, go immediately to the pdaxrom tweaks post. Read the contents of the two files mentioned and i suggest you do the following. Setup the mail key as a windows key.  From now on i use mail-4 for alt-f4, mail up/down for volume in xmms no matter what application i'm using...  the best though is mail-m  - maximise the current window (e.g. xpdf). It's fantastic.
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
pdf viewer for pdaxrom?
« Reply #33 on: January 02, 2005, 08:54:33 am »
not sure it qualifies as a tweak --
but one of the first things that I do is go to the input control
and blank out every one of the silkscreen assignments...
otherwise, I tend to launch tons of (random) apps.

Scott

Sna

  • Full Member
  • ***
  • Posts: 107
    • View Profile
pdf viewer for pdaxrom?
« Reply #34 on: January 03, 2005, 05:04:43 am »
Hi
I've downloaded the zip and installed
but now, when i launch Xpdf he says
Error: No display font for 'Courier-Bold'
Error: No display font for 'Courier-BoldOblique' (Tiens un francais )
...Helvetica...
...Times...
...ZapfDingbats...
and some warnings
Warning : Cannot convert string "-*-helvetica-nedium-r-normal--12-*-*-*-*-*-iso8859-1" to type FontStruct

and when i try to open a pdf file (small) XPdf Segfault with no other information

i'll try again after a rom reinstall, but if anyone has already been in case...

thanks in advance

wmadan

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • http://
pdf viewer for pdaxrom?
« Reply #35 on: January 03, 2005, 04:10:03 pm »
Like Sna, I get the same display font errors. I also get:
"Warning: Cannot convert string "*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1 to type FontStruct"
Ditto for courier medium, times medium and times bold.

Bill

omega

  • Hero Member
  • *****
  • Posts: 626
    • View Profile
    • http://
pdf viewer for pdaxrom?
« Reply #36 on: January 03, 2005, 06:01:01 pm »
To the two previous posts... read the readme (i'm pretty sure, i said this... if not i apologise).  Those fonts are all missing, because i have not included them!

I included Courier, Heletiva, Times and Symbol. Any other errors are okay and not troublesome - if you want more fonts get the files...  

SNA, wmadan - did you run the script? It says it can't find the fonts (courier, times Helvetica, symbol) and it also segfaults. That suggests you didn't.  Unzip the file and run the script file as described in the readme.  This should create a /fontfiles directory with four files in it (the four fonts). It also links the new freetype library in place of the old one.  Let me know how you get on.
Gorgeous C860, 256 Sandisk SD, 1Gig Pretec 40x CF, PDAIR leather case & the really cool retractable iPDA USB sync/charge cable. Powered by PDAXROM BETA 1.

My wish - to have a Command & Conquer style game on my Z! (FREECNC!!!) Simcity 2000 would also be great.

wmadan

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • http://
pdf viewer for pdaxrom?
« Reply #37 on: January 03, 2005, 09:23:13 pm »
Omega,

I did run the script and it created the /fontfiles directory and there are 4 font files there. I checked the xpdfrc config file and I see the four lines uncommented out.

Bill

wmadan

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • http://
pdf viewer for pdaxrom?
« Reply #38 on: January 03, 2005, 10:46:48 pm »
Another update:

A couple of files loaded, but not all.

Any ideas?

wmadan

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • http://
pdf viewer for pdaxrom?
« Reply #39 on: January 04, 2005, 03:53:53 pm »
Yet another update (I am on a mission   )

I checked the symlinks and libfreetype.so and libfreetype.so.6 were linked to libfreetype.so.6.3.7, not libfreetype.so.6.3.4. I edited the symlinks manually and the two test files that caused segfaults disappeared.

So, now I have a question: Is it okay to keep 6.3.7 there, or should I remove it?

osteron

  • Newbie
  • *
  • Posts: 6
    • View Profile
pdf viewer for pdaxrom?
« Reply #40 on: January 20, 2005, 08:43:00 am »
if you have 6.3.4 installed you can remove 6.3.7 .. because when it is linked xpdf will not work .. if it's not then it won't be used.. but the next time ldconfig runs it automatically symlinks to the newer version
if 6.3.4 is not there you should not remove 6.3.7 because X won't start without libfreetype

you can also decrease the size of the lib by stripping it.. before it was 1.3M now it's only 0.4M


i also tried to compile newer versions of libfreetype.. but 6.3.4 was the latest one which was not segfaulting
« Last Edit: January 20, 2005, 08:44:32 am by osteron »

jandr

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • http://bok.fas.harvard.edu/john/zaurus/
pdf viewer for pdaxrom?
« Reply #41 on: January 20, 2005, 11:42:14 am »
Quote
if you have 6.3.4 installed you can remove 6.3.7 .. because when it is linked xpdf will not work .. if it's not then it won't be used.. but the next time ldconfig runs it automatically symlinks to the newer version
if 6.3.4 is not there you should not remove 6.3.7 because X won't start without libfreetype

I'd recommend against removing 6.3.7: when I did and tried to compile something (QT3? I forget) against 6.3.4, g++ bombed, complaining that libfreetype used hardware FP where the other libs on the system used software.  Switching back to 6.3.7 made g++ happy again.

My impression is that xpdf has a bug somewhere that causes it to erroneously want hardware FP, and using 6.3.4 on the Z counteracts that bug instead of fixing it.  So you might want to leave 6.3.7 in /usr/lib, put 6.3.4 somewhere outside ldconfig's search path, and put a wrapper around xpdf that setenvs LD_PRELOAD=/where/you/put/libfreetype.so.6.3.4 so that 6.3.7 is what everything else still uses.

cheers
jg
- SL-C760 - Ambicom WiFi CF - PNY 512MB SD - Belkin 1500E IR kb - pdaXrom rc12 (2005/11) -

osteron

  • Newbie
  • *
  • Posts: 6
    • View Profile
pdf viewer for pdaxrom?
« Reply #42 on: January 20, 2005, 01:40:34 pm »
I recompiled libfreetype by myself instead of using the file from the zip so it should be compiled using the new FP system.
freetype-2.1.5 worked without problems

w14

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • http://
pdf viewer for pdaxrom?
« Reply #43 on: May 20, 2005, 07:14:45 pm »
For anyone happy with RC9 and like me unwilling to upgrade to RC10 just yet, the version of xpdf in the RC10 feed installs fine on RC9 and it seems to work very well ...

Mike.
sl-c3100
pdaxrom 1.1.0 beta1

prohto

  • Newbie
  • *
  • Posts: 12
    • View Profile
pdf viewer for pdaxrom?
« Reply #44 on: September 26, 2005, 03:08:51 am »
Hi everyone, for those who want try another nice pdf reader, here are three package:

Evince 0.4.0 : document viewer from gnome
Poppler 0.4.2: library for render pdf's
freetype 2.1.10: I compiled a fresh freetype library, because the one which is in the current feed caused evince to crash.

Some notes about avince:
- I didn't know where to put the stock_leave-fullscrean icon in the package
- Text selection cause the full page to go blank, I saw this problem in my pc to.

Stay tuned, xchm is on the way.

Have fun and best regards

Carlos F.

P.S.: PdaxRom SDK Rocks