git-svn-id: svn://ultimatepp.org/upp/trunk@12212 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-08-31 14:03:03 +00:00
parent 3c4b2d2a9a
commit 00987867ce

View file

@ -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;