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

Bug#469730: cupsys: [PATCH] for the new pdftops filter - add support for custom pagesize (needed by firefox 3 beta 3)



tag 469730 - patch
tag 469730 moreinfo
thanks

Hi Alban,

Alban Browaeys [2008-03-06 20:08 +0100]:
> Firefox 3 beta 3 use custom pagesize (there is a hack to try to get near
> standard pages in most cases in pre beta 4 but it won't work in all
> cases).
> First thank you for th new pdftops filter that works with poppler-utils.
> 
> This patch check if there is a custom pagesize defined before feeding
> ppdPageSize with NULL. (btw the doc does not state what null is supposed
> to do ...).
> 
> I believe other application may be affected in fact any that renders pdf
> and use custom pagesize.

Reply from upstream:

--------- snip ----------
The patch isn't valid - custom page sizes are already set in the
cupsMarkOptions() call.

Passing NULL for the size name returns the currently marked size - will
add documentation for that.

What options are being passed to the filter?

(a debug error_log file will show the options...)
--------- snip ----------

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

My 5 today: #198753 (libxfce4mcs), #198129 (tzdata), #146230 (ps3-kboot),
#153152 (hplip), #177382 (postgresql-8.3)
    Do 5 a day - every day! https://wiki.ubuntu.com/5-A-Day

Attachment: signature.asc
Description: Digital signature


Reply to: