[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Options to cairo driver
From: |
Ben Pfaff |
Subject: |
Re: Options to cairo driver |
Date: |
Sat, 17 Dec 2011 09:28:52 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
John Darrington <address@hidden> writes:
> In order to make the output window properly respond to changes
> in style (eg. from gnome theme engines) we need to be able to
> dynamically set options AFTER the driver has been created.
>
> I thought this would be straightforward, but it seems not to be
> the case, because the parse_font, parse_dimension routeines etc.
> demand a default value, which has means it's not possible to set
> an indivual option, without also setting all the other options
> back to their default values.
I see two simple possibilities:
* Keep the original options around at the driver level.
Allow individual options to be set by modifying the
original options.
* Don't add any support for setting options at the driver
level at all but instead just destroy the driver and
create a new one with a new, complete set of options
that has been adjusted as necessary.
Will one of those work?
--
Ben Pfaff
http://benpfaff.org
- Options to cairo driver, John Darrington, 2011/12/17
- Re: Options to cairo driver,
Ben Pfaff <=
- Re: Options to cairo driver, John Darrington, 2011/12/17
- Re: Options to cairo driver, Ben Pfaff, 2011/12/17
- Message not available
- Re: Options to cairo driver, Ben Pfaff, 2011/12/18
- Re: Options to cairo driver, John Darrington, 2011/12/18
- Re: Options to cairo driver, Ben Pfaff, 2011/12/18
- Re: Options to cairo driver, John Darrington, 2011/12/19
- Re: Options to cairo driver, Ben Pfaff, 2011/12/20
- Re: Options to cairo driver, John Darrington, 2011/12/20
- Re: Options to cairo driver, Ben Pfaff, 2011/12/20