Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What pdf viewer ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Sat Apr 02, 2005 4:35 pm    Post subject: What pdf viewer ? Reply with quote

I am going to make a presentation soon (I just sorted out the incompatibilities between my powerbook and the videoprojectors :)) and need a decent pdf viewer now.

I would have been happy to use acroread but this is one is available as a binary only (no version for ppc).

What I need is mainly a real full-scren mode. I have seen kghostview, but I just cannot get exactly the slide: I get more on the side.

Another question of interest to me is the screen ratio problem: the screen of the 15" pb is 3:2; the video-projector is 4:3. How to avoid some ugly scaling effects ?

Xavier
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sat Apr 02, 2005 4:51 pm    Post subject: Reply with quote

Use xpdf. I personally use it for making presentations together with latex-beamer-made documents.

It has a good fullscreen mode:
Code:
xpdf -fullscreen yourfile.pdf


[edit]If you also use latex-beamer, you can use the 'pdflatex' command[/edit]
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sat Apr 02, 2005 4:56 pm    Post subject: Reply with quote

Code:
xpdf -fulscreen

works well for me. I am not sure about what scaling you are talking about, I am getting on my Powerbook a virtual screen of the size of the LCD screen which is mirrored (fully) on the LCD and also on the projector (at the projector's resolution). There is no scaling, and positioning the projector's screen (using the mouse) to the upper-left corner of the virtual screen results in a nice presentation (I just used the setting a couple of days ago with a projector capable of doing 1152x864).

I am using MergedFB for this (on a Radeon M9) with CRT2Position set to "Clone" and appropriate MetaModes (such as "1280x854-1280x1024 1280x854-1152x864 1280x854-1024x768"). What are you using?
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Sat Apr 02, 2005 5:55 pm    Post subject: Reply with quote

Ok, I know about xpdf but forgot to mention the problem: I do not know how to get rid of the toolbar in the bottom (just a little distracting when projected on a screen during a conference).

I am also using MergedFB. (actually I think I have used parts of your xorg.conf, bruda :) you gave it in one previous thread about external displays; thanks).
First I tried at the resolution of my monitor and I had to position the screen with the mouse on the external screen (I have only tried with an external screen now). I do not like this solution that much because I also plan to do a demo of some software on the screen and would have been happy to extend some windows in full-screen mode.

Then I decided to set the resolution of my monitor to the resolution of the output screen; xorg scaled the fonts so that it would look nice on my screen so that the output was scaled wrong... I do not mind if the result is ugly oon my screen but I wish the projection to be perfect...

At this point, the best solution is the first one (that is the one you suggest, bruda).

What I would like to do: a display to the resolution of the projector on both screen and with no rescaling; I accept to have a part of the screen that would not be used on the laptop (this is how I used to do whith my PD with resolution 1400x1050: I downresed it to 1280x1024 and everything was fine).

Thanks for all the help.
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sun Apr 03, 2005 1:22 am    Post subject: Reply with quote

Do you have the toolbar when using the "-fullscreen" option? That's strange, I get no such thing with my xpdf, the toolbar only shows up in normal (window) mode.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Apr 03, 2005 5:36 am    Post subject: Reply with quote

bruda wrote:
Do you have the toolbar when using the "-fullscreen" option? That's strange, I get no such thing with my xpdf, the toolbar only shows up in normal (window) mode.

Yes, I do not get such a toolbar when using fullscreen, too.
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Sun Apr 03, 2005 7:30 am    Post subject: Reply with quote

Talking about xpdf: I have found recently that it doesn't show pdf files correctly, mainly the pictures are just missing. Often I get an empty page, misarranged fonts, and the shadow effect results in an ugly black box. Not sure whose fault it is, but xpdf doesn't seem very mature at this point... ??

Jens
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Sun Apr 03, 2005 8:42 am    Post subject: Reply with quote

R!tman wrote:
bruda wrote:
Do you have the toolbar when using the "-fullscreen" option? That's strange, I get no such thing with my xpdf, the toolbar only shows up in normal (window) mode.

Yes, I do not get such a toolbar when using fullscreen, too.

I do not see what I do wrong; I do not see any option to disable this.

Do you have a ".xpdfrc" file ?
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Apr 03, 2005 9:38 am    Post subject: Reply with quote

xavier10 wrote:
Do you have a ".xpdfrc" file ?

No, I do not have that.
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sun Apr 03, 2005 2:24 pm    Post subject: Reply with quote

xavier10 wrote:
I do not see what I do wrong; I do not see any option to disable this.

Do you have a ".xpdfrc" file ?

I do, but this just sets up fonts and the external browser. I see no toolbar option. I am at a loss why you have the toolbar visible. Could it be a Motif rather than xpdf problem? I simply don't know, it just works for me (and for all I see -fullscreen should get rid of all the decorations and toolbars).

In respect to xpdf having rendering problems, no, I have not seen anything like this. It may be slow for documents with images and stuff, but about all the documents I have been opening with it rendered just fine.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Sun Apr 03, 2005 2:38 pm    Post subject: Reply with quote

What kind of motif problem do you mean ?

BTW, I have checked and I have got no problem either with the figures in xpdf. This works well.

I could not say that about the toolbar nor about the centering of the slides on the screen: they are just in the left of the screen, even in fulscreen mode...

Xavuier
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Apr 03, 2005 2:59 pm    Post subject: Reply with quote

No rendering problems of any kind here, too.

@xavier10: Maybe try the masked version of xpdf.
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Sun Apr 03, 2005 3:02 pm    Post subject: Reply with quote

I see only one version of xpdf:

Code:

$ ACCEPT_KEYWORDS=~ppc emerge -s xpdf
Searching...
[ Results for search key : xpdf ]
[ Applications found : 1 ]

*  app-text/xpdf
      Latest version available: 3.00-r8
      Latest version installed: 3.00-r8
      Size of downloaded files: 2,781 kB
      Homepage:    http://www.foolabs.com/xpdf/
      Description: An X Viewer for PDF Files
      License:     GPL-2
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sun Apr 03, 2005 3:54 pm    Post subject: Reply with quote

xavier10 wrote:
What kind of motif problem do you mean ?

I was thinking that your Motif (openmotif to be more precise) package has problems which causes xpdf to fail to go full screen mode. But you should ignore this, we have a more misterious thing here:
xavier10 wrote:
I could not say that about the toolbar nor about the centering of the slides on the screen: they are just in the left of the screen, even in fulscreen mode...

What kind of toolbar is it? I thought you were referring to the bottom set of buttons and whatnot, but now there is a toolbar sitting to the left? I have never seen anything like this, and I see no toolbar option in the xpdf or xpdfrc manual pages. I am at a loss of what is going on, but maybe you could tell us what is the content of that toolbar (I cannot guarantee I would know what to do with the information since I have never seen anything like this, but it won't hurt).
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Sun Apr 03, 2005 4:02 pm    Post subject: Reply with quote

bruda wrote:
xavier10 wrote:
What kind of motif problem do you mean ?

I was thinking that your Motif (openmotif to be more precise) package has problems which causes xpdf to fail to go full screen mode. But you should ignore this, we have a more misterious thing here:
xavier10 wrote:
I could not say that about the toolbar nor about the centering of the slides on the screen: they are just in the left of the screen, even in fulscreen mode...

What kind of toolbar is it? I thought you were referring to the bottom set of buttons and whatnot, but now there is a toolbar sitting to the left? I have never seen anything like this, and I see no toolbar option in the xpdf or xpdfrc manual pages. I am at a loss of what is going on, but maybe you could tell us what is the content of that toolbar (I cannot guarantee I would know what to do with the information since I have never seen anything like this, but it won't hurt).


I am refering to the toolbar of xpdf (with the forward, backward buttons, the page jump to area, the zoom menu and the search, print and help buttons). It always lies in the bottom whether in fullscreen mode or not. I would like it to just go away in fullscreen mode...

The centering problem I mention is about the slide itself. I just cannot get the slide in the middle of the screen as I would expect it to be; it is quite a bit on the left, so that I am left with blank area in the right...

Overall I have to say that I also find the documentation very lacking. I just miss a good pdf viewer. Acrobat just is much much better; anyway switching to OSX is not an option due to the demo I wish to do.
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Apr 03, 2005 4:17 pm    Post subject: Reply with quote

@xavier10: I am running out of ideas.

I guess you have already tried reemerging it. If not, do that. If it still does not work, try using all different combinations of the available use flags. No worries, xpdf is not very big (approximately 500k) and has only 2 different use flags.

Btw, I have disabled both useflags 'nodrm' and 'nomotif'.

Like that:
Code:
# emerge -pv xpdf

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-text/xpdf-3.00-r8  -nodrm -nomotif 522 kB

Total size of downloads: 522 kB

Seeing that now, I would suggest to enable the 'nodrm' useflag. This is because ppc has the "drm-problem" (or better, no 3D drivers at all) which might cause that.
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Sun Apr 03, 2005 4:44 pm    Post subject: Reply with quote

R!tman wrote:
@xavier10: I am running out of ideas.

Like that:
Code:
# emerge -pv xpdf

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-text/xpdf-3.00-r8  -nodrm -nomotif 522 kB

Total size of downloads: 522 kB

Seeing that now, I would suggest to enable the 'nodrm' useflag. This is because ppc has the "drm-problem" (or better, no 3D drivers at all) which might cause that.

Strange about the size:
Code:

$ emerge -s xpdf
Searching...
[ Results for search key : xpdf ]
[ Applications found : 1 ]

*  app-text/xpdf
      Latest version available: 3.00-r8
      Latest version installed: 3.00-r8
      Size of downloaded files: 2,781 kB
      Homepage:    http://www.foolabs.com/xpdf/
      Description: An X Viewer for PDF Files
      License:     GPL-2



About the flags: I tried any possible combination and all of them display that fucked up toolbar. No way! I will patch the code myself tonight.

Thanks all for the help by the way
Back to top
View user's profile Send private message
R!tman
Veteran
Veteran


Joined: 18 Dec 2003
Posts: 1303
Location: Zurich, Switzerland

PostPosted: Sun Apr 03, 2005 6:01 pm    Post subject: Reply with quote

Sorry that we could not help :-(.

The size is probably just because I am on x86 not ppc.
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Sun Apr 03, 2005 6:08 pm    Post subject: Reply with quote

R!tman wrote:
Sorry that we could not help :-(.

The size is probably just because I am on x86 not ppc.

No problem.

Sorry I did not recall I have a 15" screen, with a 1280x854 resolution (very common, no ? :cry:)
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Tue Apr 12, 2005 8:06 am    Post subject: Reply with quote

I found out the origin of the problem one day before I did the presentation. The problem was due to the window manager.

I was using kde (and am again).

It worked fine with gnome.

Do not ask me why.
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Tue Apr 12, 2005 12:17 pm    Post subject: Reply with quote

on KDE you might want to use kpdf. It is my favourite pdf-viewer.
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
xavier10
Guru
Guru


Joined: 19 Jan 2004
Posts: 449
Location: Paris, France

PostPosted: Tue Apr 12, 2005 12:22 pm    Post subject: Reply with quote

spitzwegerich wrote:
on KDE you might want to use kpdf. It is my favourite pdf-viewer.


Fullscreen mode does not allow removing all the bars, menus. I will not project it during a conference.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum