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:
cris 1997-10-06 08:31:21 +00:00
parent 859349afed
commit cc9bd8387a

View File

@ -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();