[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - filter/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Feb 13 14:25:35 UTC 2019


 filter/source/pdf/pdfexport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5b81a29202c29ba14b6c707215a8d8cc920dae35
Author:     merttumer <mert.tumer at collabora.com>
AuthorDate: Wed Feb 13 16:49:47 2019 +0300
Commit:     Aron Budea <aron.budea at collabora.com>
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 <mert.tumer at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/67774
    Reviewed-by: Aron Budea <aron.budea at collabora.com>
    Tested-by: Aron Budea <aron.budea at collabora.com>

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


More information about the Libreoffice-commits mailing list