Fixes the bug, which caused dtterm to show stripes of wrong color between text lines...
authorEugene Doudine <dudinea@gmail.com>
Sat, 3 May 2014 18:02:50 +0000 (21:02 +0300)
committerJon Trulson <jon@radscan.com>
Sun, 4 May 2014 04:11:41 +0000 (22:11 -0600)
commit4e2adc1f8efb7ec1f433ca2187ad4ec4bae97872
tree6cec5fb07b0622c4158b785a8a5339d672c901d4
parenta9dbe60805b2e7e8e196c868b7b36328ced77a97
Fixes the bug, which caused dtterm to show stripes of wrong color between text lines when using fontsets that include fonts of slightly different heights.

The cause of the bug was that X*DrawImageString draws background
according to the extents of the given string, not to extents of the font set,
which determine terminal line height.

Now, when such a situation is detected, the background is cleared before
drawing the characters.
cde/lib/DtTerm/TermPrim/TermPrimRenderFontSet.c