diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-04-04 10:31:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-04-04 13:40:52 +0200 |
commit | 76fbdc6638824d2509d29a4993e5e5805bac65b0 (patch) | |
tree | dd63ab85528c3b9d721003da730b27f844403f82 | |
parent | 466156f14d8dee7e3e629dd72dc9c40ddc7262e8 (diff) |
improve font name in SwPageFrame::GetEmptyPageFont()
Fix the problem similar to what commit
1d9221ebc86f2696a65c12287ea19eea44d680cf (tdf#124601 sw: fix misplaced
images in table cells, 2022-11-30) did: use a font that we ship to avoid
font fallback.
Change-Id: I59be457e018c96f7edda80fb5d3787593d75b010
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165784
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 8479436a88c8..8aa4c3738934 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -7730,7 +7730,7 @@ const vcl::Font& SwPageFrame::GetEmptyPageFont() tmp.SetFontSize( Size( 0, 80 * 20 )); // == 80 pt tmp.SetWeight( WEIGHT_BOLD ); tmp.SetStyleName(OUString()); - tmp.SetFamilyName("Helvetica"); + tmp.SetFamilyName("Noto Sans"); tmp.SetFamily( FAMILY_SWISS ); tmp.SetTransparent( true ); tmp.SetColor( COL_GRAY ); |