diff options
-rw-r--r-- | do_tests.c | 4 | ||||
-rw-r--r-- | do_text.c | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -924,6 +924,10 @@ Test test[] = { InitText, DoText, ClearTextWin, EndText, V1_2FEATURE, ROP, 0, {80, False, "6x13", NULL}}, + {"-tileftext","Char in 80-char line (6x13)", NULL, + InitText, DoText, ClearTextWin, EndText, + V1_2FEATURE, ROP, 0, + {80, False, "6x13", NULL, FillTiled}}, {"-f8text", "Char in 70-char line (8x13)", NULL, InitText, DoText, ClearTextWin, EndText, V1_3FEATURE, ROP, 0, @@ -23,6 +23,7 @@ SOFTWARE. #include "x11perf.h" #include <stdio.h> +#include "bitmaps.h" static char **charBuf; static XFontStruct *font, *bfont; @@ -65,6 +66,8 @@ InitText(XParms xp, Parms p, int64_t reps) XChangeGC(xp->d, xp->fggc, GCFont, &gcv); XChangeGC(xp->d, xp->bggc, GCFont, &gcv); + SetFillStyle(xp, p); + charsPerLine = p->objects; charsPerLine = (charsPerLine + 3) & ~3; p->objects = charsPerLine; |