summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-04-18 20:04:31 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-04-18 20:04:31 +0000
commit799b1cfe73d7fc5676f584715b6ac6efefc6a9eb (patch)
tree48373dee44a24064ddf16c887fc860e044186d51 /TODO
parent4121f3559f75d07a04af44874264701fbd29b493 (diff)
downloadpango-799b1cfe73d7fc5676f584715b6ac6efefc6a9eb.tar.gz
Add a function pango_layout_line_get_x_ranges(), to allow handling
Mon Apr 17 12:04:20 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.[ch]: Add a function pango_layout_line_get_x_ranges(), to allow handling selections not as attributes. Which is necessary, since currently setting the background/foreground results in splitting shaped runs. Fri Apr 14 13:20:05 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_check_lines): Fix bug with indent handling. * pango/pango-layout.c (process_item): Never break a line at a non-break position, even if that position ends an item. Fri Apr 14 10:43:09 2000 Owen Taylor <otaylor@redhat.com> * pango/pangox.c (pango_x_render_layout_line): Fix a missing PANGO_SCALE factor for UNDERLINE_SINGLE. * pango/pango-layout.c (pango_layout_get_cursor_pos): New function to determine cursor positions corresponding to a particular index. Wed Apr 12 15:44:22 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-attributes.[ch]: Add PANGO_ATTR_FONT_DESC, which allows an entire font description to be specified as a single attribute, instead of as 6 separate attributes.
Diffstat (limited to 'TODO')
-rw-r--r--TODO9
1 files changed, 9 insertions, 0 deletions
diff --git a/TODO b/TODO
index 63af5672..8c8f608d 100644
--- a/TODO
+++ b/TODO
@@ -25,6 +25,15 @@ string and produces lines of glyphs.
* optimize right alignment for width == -1 and only a single
line. (Currently this causes a useless call to gtk_layout_get_extents.)
+* There is currently a serious problem in that every attribute
+ causes items to be broken into separately shaped runs. That means
+ that selections can't be handled as background/foreground attributes.
+
+ Since, for selections, you need to be able to select partial
+ glyphs, doing this any different would basically mean having to
+ separate out these attributes from the rest of the attributes,
+ and handle them separately while rendering a layout.
+
X rendering
===========