[cairo] Another Pango AttributesList question
behdad at behdad.org
Thu Sep 2 17:32:46 PDT 2010
On 09/02/10 19:47, Travis Griggs wrote:
> fetch attributes array from layout and add new attribute to it
> display layout again
> The second display show's no differences. Something happens after
> displaying that seems to make any subsequent adjustment to the
> attributes array ignored.
Humm. If I was to design this API I'd make pango_layout_get_attrs() return a
const. Modifying it definitely is not supported right now. You can trying
doing a set_attrs() after modification.
It's not impossible to fix, but is just not currently there.
> I tried a context_changed, but that has the effect of blowing all of the
Now that's unexpected.
More information about the cairo