Patch level : 2.1 88
Files correlati : nuove stampe Ricompilazione Demo : [ ] Commento : Corretta stampa su PDF dei rettangoli bianchi pieni (risultavano grigi) git-svn-id: svn://10.65.10.50/trunk@12252 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
76b5f2f519
commit
5b6df63031
@ -747,7 +747,7 @@ bool TBook::open_page()
|
||||
|
||||
*_out << "<page number=" << page() << '>' << endl;
|
||||
|
||||
memset(&_tools, -1, sizeof(_tools));
|
||||
memset(&_tools, 0, sizeof(_tools));
|
||||
_font.create("", 12, XVT_FA_ALL);
|
||||
_horizontal_alignment = 'L';
|
||||
_vertical_alignment = 'T';
|
||||
@ -1021,7 +1021,7 @@ bool TBook::print_page(TWindow& win, size_t page)
|
||||
COLOR col = COLOR_BLACK;
|
||||
PAT_STYLE pat = PAT_SOLID;
|
||||
sscanf(str, "<brush color=%u pattern=%u />", &col, &pat);
|
||||
if (pat <= PAT_HOLLOW || col == COLOR_WHITE)
|
||||
if (pat <= PAT_HOLLOW)
|
||||
win.hide_brush();
|
||||
else
|
||||
win.set_brush(col, pat);
|
||||
|
Loading…
x
Reference in New Issue
Block a user