Diagnosed the root cause of an issue in a TODO; still need to fix it.
This commit is contained in:
parent
eb6e10350d
commit
32cc648e13
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue