awesome

Welcome to awesome bug tracking system.
Tasklist

FS#171 - Use pango markup

Attached to Project: awesome
Opened by Dag Odenhall (donri) - Wednesday, 23 April 2008, 01:24 GMT
Last edited by Julien Danjou (jd) - Wednesday, 23 April 2008, 10:54 GMT
Task Type Feature Request
Category Widgets
Status Closed
Assigned To No-one
Operating System All
Severity Very Low
Priority Normal
Reported Version git/master
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

http://library.gnome.org/devel/pango/unstable/PangoMarkupFormat.html
http://library.gnome.org/devel/pango/unstable/pango-Text-Attributes.html#pango-parse-markup

Probably makes most sense in textboxes.

(I tried to hack it in to widgets/textbox.c, got it to strip the markup but not actually mark anything up, realized I probably have to fill a PangoAttrList and use that somehow and suddenly it was way beyond me. I wouldn't know how to make width work correctly for marked up text either. Probably should have an option to toggle pango markup also. My rather useless attempt is anyway available at http://pastie.caboo.se/185179.txt, just in case.)
This task depends upon

Closed by  Julien Danjou (jd)
Wednesday, 23 April 2008, 10:54 GMT
Reason for closing:  Implemented
Additional comments about closing:  -ldl -lglib-2.0 -lconfuse -lxcb-xinerama -lxcb -L/usr/local/lib -lxcb-event -lxcb -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
gcc -g -O2 -o awesome-menu common/swindow.o common/draw.o common/util.o common/version.o common/configopts.o common/xutil.o awesome-menu.o -lxcb -L/usr/local/lib -lxcb-atom -lxcb -L/usr/local/lib -lxcb-keysyms -lxcb -L/usr/local/lib -lxcb-aux -lxcb -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lconfuse -lxcb-xinerama -lxcb -L/usr/local/lib -lxcb-event -lxcb -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
/usr/bin/python ./build-utils/extractuicbdoc.py \
./*.c > uicbdocgen.txt
/usr/bin/asciidoc -d manpage -b docbook -o awesomerc.5.xml awesomerc.5.txt
/usr/bin/xmlto man awesomerc.5.xml
Note: meta date : no date; using generated date awesomerc
Note: meta date : see http://docbook.sf.net/el/date awesomerc
Note: meta source : no *info/productname or alternative awesomerc
Note: meta source : see http://docbook.sf.net/el/productname awesomerc
Note: meta source : no refentry/refmeta/refmiscinfo@class=sourc e awesomerc
Note: meta source : see http://docbook.sf.net/el/refmiscinfo awesomerc
Note: meta version: no *info/productnumber or alternative awesomerc
Note: meta version: see http://docbook.sf.net/el/productnumber awesomerc
Note: meta version: no refentry/refmeta/refmiscinfo@class=versi on awesomerc
Note: meta version: see http://docbook.sf.net/el/refmiscinfo awesomerc
Warn: meta source : no valid fallback for source; leaving empty awesomerc
Note: meta manual : no titled ancestor of refentry awesomerc
Note: meta manual : no refentry/refmeta/refmiscinfo@class=manua l awesomerc
Note: meta manual : see http://docbook.sf.net/el/refmiscinfo awesomerc
Warn: meta manual : no valid fallback for manual; leaving empty awesomerc
Note: Writing awesomerc.5
make[1]: Leaving directory `/home/ancient/jd/Work/src/awesome/src&# 039;
abydos awesome/src % echo '0 widget_tell sbar1 time text salut ca va <span foreground="blue" letter_spacing="40000" size="x-large">Blue text</span> is <i>cool</i>!a' | awesome-client
abydos awesome/src % echo '0 widget_tell sbar1 time text salut ca va <span foreground="blue" letter_spacing="40000" size="x-large">Blue text</span> is <i>cool</i>!a' | awesome-client
abydos awesome/src % echo '0 widget_tell sbar1 time text salut ca va <span foreground="blue" letter_spacing="40000" size="x-large">Blue text</span> is <i>cool</i>!a' | awesome-client
abydos awesome/src % git log heads/awesome-3 2088 pts/0 12:55:08
commit 466bbeedb760794fd38abd218d6390decde5eb7c
Author: Julien Danjou <julien@danjou.info>
Date: Wed Apr 23 12:57:01 2008 +0200

[common] Add support for pango markup ( FS#171 )

Signed-off-by: Julien Danjou <julien@danjou.info>

Loading...