Bug 688708 - Add libpaper support
Summary: Add libpaper support
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 0.00
Hardware: PC Linux
: P4 enhancement
Assignee: Ralph Giles
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-17 12:23 UTC by Stefan Schweizer
Modified: 2009-02-11 00:09 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
libpaper-support.patch (3.66 KB, text/plain)
2006-05-17 12:26 UTC, Stefan Schweizer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schweizer 2006-05-17 12:23:51 UTC
Some distributions use libpaper to set the default paper size for all
applications. Debian/Ubuntu has a patch to add support for it.
Comment 1 Stefan Schweizer 2006-05-17 12:26:24 UTC
Created attachment 2210 [details]
libpaper-support.patch

the first file has two patches, for the old debian version and the 8.53 I tried
to port it to, but I think it needs some more work. You need to remove one of
them or both before trying to apply.

Problems with this patch include that it is not conditional. There is no patch
in gs-esp for this yet, so you have to implement it manually if it is needed?
Comment 2 Ralph Giles 2006-05-19 07:48:21 UTC
Maybe this should be a gp_ function. Do any other platforms have a default
papersize mechanism?
Comment 3 Ralph Giles 2009-02-11 00:09:24 UTC
A different version of this was added in r9334, r9336, and r9337, and is part of
the 8.64 release.