More TODOs.

This commit is contained in:
Pietro Gagliardi 2017-02-24 21:43:37 -05:00
parent 3d5fbc0880
commit 70940e5c06
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
// TODO on an empty string nLines == 0
// we must prevent this somehow
// TODO in general, every function could be more robust, but we cannot have a situation where there are zero lines
// TODO what happens to extents if only whitespace?
struct uiDrawTextLayout {
CFAttributedStringRef attrstr;

View File

@ -5,6 +5,7 @@
// TODO
// - if the RTL override is at the beginning of a line, the preceding space is included?
// - nLines == 0: mostly works, except the width is wrong if the paragraph alignment is center or right...
// - TODO check whitespace and line bounds
struct uiDrawTextLayout {
PangoLayout *layout;