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;
|
*_out << "<page number=" << page() << '>' << endl;
|
||||||
|
|
||||||
memset(&_tools, -1, sizeof(_tools));
|
memset(&_tools, 0, sizeof(_tools));
|
||||||
_font.create("", 12, XVT_FA_ALL);
|
_font.create("", 12, XVT_FA_ALL);
|
||||||
_horizontal_alignment = 'L';
|
_horizontal_alignment = 'L';
|
||||||
_vertical_alignment = 'T';
|
_vertical_alignment = 'T';
|
||||||
@ -1021,7 +1021,7 @@ bool TBook::print_page(TWindow& win, size_t page)
|
|||||||
COLOR col = COLOR_BLACK;
|
COLOR col = COLOR_BLACK;
|
||||||
PAT_STYLE pat = PAT_SOLID;
|
PAT_STYLE pat = PAT_SOLID;
|
||||||
sscanf(str, "<brush color=%u pattern=%u />", &col, &pat);
|
sscanf(str, "<brush color=%u pattern=%u />", &col, &pat);
|
||||||
if (pat <= PAT_HOLLOW || col == COLOR_WHITE)
|
if (pat <= PAT_HOLLOW)
|
||||||
win.hide_brush();
|
win.hide_brush();
|
||||||
else
|
else
|
||||||
win.set_brush(col, pat);
|
win.set_brush(col, pat);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user