Re: extending Pango Attributes
- From: Behdad Esfahbod <behdad behdad org>
- To: Paul Plaquette <trilda free fr>
- Cc: gtk-i18n-list <gtk-i18n-list gnome org>
- Subject: Re: extending Pango Attributes
- Date: Mon, 02 Mar 2009 11:32:46 +0330
Paul Plaquette wrote:
> Hello,
>
> for a project I have to add specific tag that come with attributes.
> I also have to support pango span tag and its attributes as the set of
> pango facility markups.
>
> Looking at PangoAttributes, I am thinking to use that data structure as
> a basis and to extend it for the use of my specific markup call it mymarkup
> and its attributes. It should also possible to use most of the mecanism
> that deals with pango attributes and list of attributes.
>
> i could first parse my own set of markups and attributes using Markup.
> and then parse the reste of the text using pango_parse_markup().
That should work.
> i send this message to take advice form the community:
> do you think it is possible to do it ?
Should be possible, but a bit of a pain. We want to make pango markup
extensible, but have not came up with the design yet.
behdad
> thanks,
> Trilda
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]