From 00987867ce44756455307be8137df73a26bc8ca3 Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 31 Aug 2018 14:03:03 +0000 Subject: [PATCH] .upptst git-svn-id: svn://ultimatepp.org/upp/trunk@12212 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- upptst/CharMetrics/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/upptst/CharMetrics/main.cpp b/upptst/CharMetrics/main.cpp index 1daad55bd..c58a9ea64 100644 --- a/upptst/CharMetrics/main.cpp +++ b/upptst/CharMetrics/main.cpp @@ -12,8 +12,9 @@ struct MyApp : TopWindow { w.DrawText(Zx(220), 0, String() << fnt.GetFaceName() << ", ascent: " << fnt.GetAscent() << ", descent: " << fnt.GetDescent() - << ", external: " << fnt.GetExternal()); - RTIMING("Draw"); + << ", external: " << fnt.GetExternal() + << (fnt.IsSerif() ? ", [serif]" : "") + << (fnt.IsScript() ? ", [script]" : "")); int y = 50; for(int p = 32; p < 8192 && y < sz.cy; p += 64) { int x = 0;