On Fri, Mar 27, 2020 at 5:49 PM Sven Baars sbaars@codeweavers.com wrote:
Signed-off-by: Sven Baars sbaars@codeweavers.com
dlls/d3dx9_36/font.c | 213 ++++++++++++++++++++++++++----------- dlls/d3dx9_36/tests/core.c | 8 +- 2 files changed, 155 insertions(+), 66 deletions(-)
This seems more complicated than necessary. See the attached patch for a possible alternative (which I didn't test a lot, it's mostly a proof of concept).
The tabs and no-tabs code paths could also be merged, although we probably want to keep avoiding extra extent computations in the no-tabs case.