Re: GnomeCanvasText properties (was: Re: The future of GdkFont declarations)
- From: ERDI Gergo <cactus cactus rulez org>
- To: Havoc Pennington <hp redhat com>
- Cc: gnome-libs-devel gnome org
- Subject: Re: GnomeCanvasText properties (was: Re: The future of GdkFont declarations)
- Date: Sat, 5 May 2001 18:45:58 +0200 (CEST)
Hi,
On 5 May 2001, Havoc Pennington wrote:
> I would think no, the attribute list would be merged with the other
> stuff when creating the layout.
>
> "markup" is a shortcut for setting this attribute list.
>
> Then to create the layout you copy the attr list, add "underline"
> etc., then set it on the layout.
OK this is what is happening now. So, is there anything left to do before
looking at the AA text rendering code?
> "underline" is really a bit weird, the reason CellRendererText has it
> is simply that you may want to tie it to a boolean column in the model
> (i.e. there's value in just making this a boolean toggle for a cell
> renderer). Maybe there's no real reason to do that for CanvasText.
it will be useful for clickable URIs in GnomeAbout, to easily underline
the text in mouse-over events
> > Strike-through is not rendered properly (either from a marked up text or
> > by explicitly turning it on) -- is it a Pango limitation or am I doing
> > something wrong here?
>
> Bug in something. ;-) It seems to render properly in the text widget
> demo in gtk-demo; does that work on your machine?
testtext works, but modifying testgtk to display a strikethrough string in
the Label demo doesn't (I'm using <span strikethrough="true"> to test it)
--
.--= ULLA! =---------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`---= cactus cactus rulez org =---'
All C programs are derived from `Hello World'.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]