filter/source/pdf/pdfexport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 5b81a29202c29ba14b6c707215a8d8cc920dae35 Author: merttumer <[email protected]> AuthorDate: Wed Feb 13 16:49:47 2019 +0300 Commit: Aron Budea <[email protected]> CommitDate: Wed Feb 13 15:25:07 2019 +0100 Fix watermark is not shown due to the absence of the font Change-Id: I3b9249b435d788d538827cda64e5643a9a36c11b Signed-off-by: merttumer <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/67774 Reviewed-by: Aron Budea <[email protected]> Tested-by: Aron Budea <[email protected]> diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx index 6c9e7b90320c..e815d16aeb3a 100644 --- a/filter/source/pdf/pdfexport.cxx +++ b/filter/source/pdf/pdfexport.cxx @@ -1121,10 +1121,10 @@ void PDFExport::ImplWriteWatermark( vcl::PDFWriter& rWriter, const Size& rPageSi void PDFExport::ImplWriteTiledWatermark( vcl::PDFWriter& rWriter, const Size& rPageSize ) { - vcl::Font aFont( OUString( "Helvetica" ), Size( 0, 40 ) ); + vcl::Font aFont( OUString( "Liberation Sans" ), Size( 0, 40 ) ); aFont.SetItalic( ITALIC_NONE ); aFont.SetWidthType( WIDTH_NORMAL ); - aFont.SetWeight( WEIGHT_BOLD ); + aFont.SetWeight( WEIGHT_NORMAL ); aFont.SetAlignment( ALIGN_BOTTOM ); aFont.SetFontHeight(40); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
