LCL: Reset current font selection in postscript output after new page (issue #8579)

git-svn-id: trunk@10834 -
This commit is contained in:
jesus 2007-03-30 18:43:23 +00:00
parent 19872b8e64
commit 49d2976787

View File

@ -1239,13 +1239,17 @@ end;
procedure TPostscriptPrinterCanvas.NewPage;
begin
Inherited NewPage;
inherited NewPage;
Write('stroke');
Write('showpage');
Write('%%'+Format('Page: %d %d',[PageNumber, PageNumber]));
write('newpath');
// after showpage, font holds an invalid font dictionary
// force selection of current font
FirstUpdatefont:=True;
end;
//Move the current position