mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 22:16:17 +02:00
LCL: Reset current font selection in postscript output after new page (issue #8579)
git-svn-id: trunk@10834 -
This commit is contained in:
parent
19872b8e64
commit
49d2976787
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user