On Sun, 2005-12-04 at 06:43 +0100, Jean Magnan de Bornier wrote:
> 
> > On Sat, 2005-12-03 at 23:03 -0600, Dale wrote:
> >> 
> >> Maybe you should do a killall for A4.  LOL  If it is dead it can't
> use
> >> it.  LOL  Pesky things.  So many choices, so few answers.
> >> 
> >> Dale
> >> :-)
> >
> > I would love to :-/
> > I think it is a bug in one of the kpdf or xpdf application.
> 
> Is kpdf a variant of xpdf? For the latter you just have to settle
> things
> in a .xpdfrc file; in mine I just wrote " psPaperSize A4 " because I
> happen to use a4 paper; you can describe your printing options there.
> Of
> course, "man xpdf" will tell you all you need.
> Sorry I have nothing about kpdf :-(
> 

Yes, kpdf is using xpdf.
I'm slowly getting into this solution as well, I was just reading "man
xpdfrc"
it says there:
psPaperSize letter | legal | A4 | A3 | match
              Sets the paper size for PostScript output to a standard
size.  The default paper size is set  when xpdf and pdftops are built,
typically to "letter" or "A4".  This can also be set to "match", which
will set the paper size to match the size specified in the PDF file.

So you are saying that simply putting putting in /etc/xpdfrc  
psPaperSize A4  (in my case it will be "psPaperSize letter") will work?

I was just checking my old etc-conf: xpdfrc and it didn't contain this
variable so I was just reading somewhere, that xpdf can be compiled with
"psPaperSize match" so it will print to a paper size based on
specification your application is using, though something must have gone
wring with latest ebuild as xpdf doesn't default to "match" variable.  
Anybody knows how to pass this variable to xpdif ebuild; I think it must
be in:
/var/db/pkg/app-text/xpdf-3.00-r10/xpdf-3.00-r10.ebuild 
though, I don't know how to pass this variable "psPaperSize match" to
ebuild (to test it).   It chould be this section: ???
src_compile() {
        use truetype \
                && myconf="--enable-freetype2 
--with-freetype2-includes=/usr/include/freetype2" \
                || myconf="--disable-freetype2"

Can anybody help?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list

Reply via email to