Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2012 19:38:53 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        bsam@passap.ru
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: print/libpaper problem
Message-ID:  <20120302.193853.1299638526616672412.hrs@allbsd.org>
In-Reply-To: <4F5075CC.9010507@passap.ru>
References:  <4F4E63A3.7060000@passap.ru> <20120301.063715.1637304310088980264.hrs@allbsd.org> <4F5075CC.9010507@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Fri_Mar__2_19_38_53_2012_616)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Boris Samorodov <bsam@passap.ru> wrote
  in <4F5075CC.9010507@passap.ru>:

bs> So what if install a system wide default paper size while installing
bs> print/libpaper? That may help both in gs case (when a binary is linked
bs> with libpaper) and those that just use libpaper if it is installed.

 No.  defaultpapername() returns a constant value at compile time.
 Nothing to do with the $PREFIX/etc/papersize file.

bs> >  I think WITH_A4SIZE option should be deprecated at some point and the
bs> >  default paper size can be selected by libpaper in run-time because it
bs> >  will be more consistent and flexible,
bs>
bs> I'd propose to leave a system wide default variable for a paper size.
bs> I don't care if it is WITH_A4SIZE, DEFAULT_PAPERSIZE=A4 or else.
bs>
bs> > but the current code in gs
bs> >  prevents it because it uses defaultpapername(), not systempapername()
bs> >  for some reason.
bs> >
bs> >  So, the functionality the libpaper provides in gs is only to define
bs> >  /DEFAULTPAPERSIZE but it is confusing due to the above reason.  This
bs> >  was why I decided to disable libpaper at this moment.
bs>
bs> Yea, but those who will choose that non-default option and install
bs> print/libpaper (in current state, i.e. without installing
bs> /usr/local/etc/papersize file) will fall in trouble anyway.

 What is the non-default option and what trouble will occur by it?

-- Hiroki

----Security_Multipart(Fri_Mar__2_19_38_53_2012_616)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEABECAAYFAk9Qoz0ACgkQTyzT2CeTzy2VtwCguFTdE2G/jEHOje8K2HQFp3UX
Rc8AnRcdspwSLtlclL06mpgWJ0js3nMT
=/Lpd
-----END PGP SIGNATURE-----

----Security_Multipart(Fri_Mar__2_19_38_53_2012_616)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120302.193853.1299638526616672412.hrs>