[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4058: etc/papersize doesn't allow spaces



> 
> 
> Package: libpaper, gs
> Version: 0.2-1, 3.53-4
> 
> Oef what do I hate these errors. The "<" char indicates the EOL char.
> 
> # cat /etc/papersize
> A4 <
> # gs -h
> Warning: unknown papersize in /etc/papersize
> Aladdin Ghostscript 3.53 (1996-1-10)
> [deleted]
> 
> # cat /etc/papersize
> A4<
> # gs -h
> Aladdin Ghostscript 3.53 (1996-1-10)
> [deleted]
> 
> Only one tiny little ugly space f*cked up printing on my system.  Please 
> correct this ASAP.

ASAP?
#time echo "A4" > /etc/papersize
0.01user 0.00system 0:00.06elapsed 14%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (65major+17minor)pagefaults 0swaps


There you go, in 0.06 second. If that isn't fast, then what is?

Oh, BTW, this has nothing to do with libpaper (I don't know why you
think it does, gs doesn't depend on libpaper, and has been reading
/etc/papersize before the existance of libpaper.)

I do wonder if libpaper does a better job, and I do wonder if
gs really should read "A4 ". Some people were really glad I
added a wrapper to allow gs to read /etc/papersize. Some are
angry it didn't read "A4 ". Well, you never please them all!

-- 
joost witteveen
            joost@rulcmc.leidenuniv.nl
          joostje@debian.org
--
Use Debian/GNU Linux!



Reply to: