From df1eea7e7ac2ed50c548ca4639bee1777a4950ef Mon Sep 17 00:00:00 2001
From: Andrea Giudiceandrea <andreaerdna@libero.it>
Date: Sat, 25 Nov 2023 18:17:54 +0100
Subject: [PATCH] Update qgsgeorefmainwindow.cpp

---
 src/app/georeferencer/qgsgeorefmainwindow.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/georeferencer/qgsgeorefmainwindow.cpp b/src/app/georeferencer/qgsgeorefmainwindow.cpp
index beca0b6da383..c70ab6f62581 100644
--- a/src/app/georeferencer/qgsgeorefmainwindow.cpp
+++ b/src/app/georeferencer/qgsgeorefmainwindow.cpp
@@ -1809,6 +1809,7 @@ bool QgsGeoreferencerMainWindow::writePDFMapFile( const QString &fileName, const
 
   //create layout
   QgsLayout layout( QgsProject::instance() );
+  layout->renderContext().setTextRenderFormat( Qgis::TextRenderFormat::AlwaysText );
   std::unique_ptr< QgsLayoutItemPage > page = std::make_unique< QgsLayoutItemPage >( &layout );
 
   double leftMargin = 8;