More notes.
This commit is contained in:
parent
f0b9ff9aba
commit
d8316790a0
|
@ -82,7 +82,7 @@ static CFAttributedStringRef attrstrToCoreFoundation(uiAttributedString *s, uiDr
|
|||
return mas;
|
||||
}
|
||||
|
||||
// TODO this is wrong for our grapheme test; figure out what it should be...
|
||||
// TODO this is wrong for our hit-test example's multiple combining character example
|
||||
static uiDrawTextLayoutLineMetrics *computeLineMetrics(CTFrameRef frame, CGSize size)
|
||||
{
|
||||
uiDrawTextLayoutLineMetrics *metrics;
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
#include "uipriv_unix.h"
|
||||
#include "draw.h"
|
||||
|
||||
// TODO
|
||||
// - if the RTL override is at the beginning of a line, the preceding space is included?
|
||||
|
||||
struct uiDrawTextLayout {
|
||||
PangoLayout *layout;
|
||||
uiDrawTextLayoutLineMetrics *lineMetrics;
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
#include "uipriv_windows.hpp"
|
||||
#include "draw.hpp"
|
||||
|
||||
// TODO
|
||||
// - consider the warnings about antialiasing in the PadWrite sample
|
||||
// - if that's not a problem, do we have overlapping rects in the hittest sample? I can't tell...
|
||||
|
||||
struct uiDrawTextLayout {
|
||||
IDWriteTextFormat *format;
|
||||
IDWriteTextLayout *layout;
|
||||
|
|
Loading…
Reference in New Issue