diff --git a/windows/drawtext.cpp b/windows/drawtext.cpp index ee38fb2f..a8f13963 100644 --- a/windows/drawtext.cpp +++ b/windows/drawtext.cpp @@ -427,7 +427,7 @@ void uiDrawTextLayoutSetWidth(uiDrawTextLayout *layout, double width) logHRESULT("error setting max layout width in uiDrawTextLayoutSetWidth()", hr); } -// TODO for a single line the height is always taller than ascent + descent +// TODO for a single line the height includes the leading; it probably shouldn't but I'm not sure void uiDrawTextLayoutExtents(uiDrawTextLayout *layout, double *width, double *height) { DWRITE_TEXT_METRICS metrics;