corretto da guy errore su impostazione stampante
git-svn-id: svn://10.65.10.50/trunk@5323 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
859349afed
commit
cc9bd8387a
@ -5233,8 +5233,16 @@ void TForm::read(
|
||||
set_compulsory_specials();
|
||||
TPrinter& pr = printer();
|
||||
pr.set_offset(_y,_x);
|
||||
pr.set_char_size(_fontsize);
|
||||
pr.set_fontname(_fontname);
|
||||
if (_fontname.not_empty())
|
||||
{
|
||||
pr.set_char_size(_fontsize);
|
||||
pr.set_fontname(_fontname);
|
||||
}
|
||||
else
|
||||
{
|
||||
_fontname = pr.fontname();
|
||||
_fontsize = pr.get_char_size();
|
||||
}
|
||||
set_fink_mode(TRUE);
|
||||
|
||||
main_app().end_wait();
|
||||
|
Loading…
x
Reference in New Issue
Block a user