[TD]fix regression of svg hatch during export

- last worked in v0.20
- svg hatch tile field is not cropped on export to svg.  svg tiles are
  replaced by pixmap tiles for export.
This commit is contained in:
wandererfan
2024-04-10 17:28:32 -04:00
committed by WandererFan
parent afaf0ce8ea
commit cea3370a24
4 changed files with 219 additions and 106 deletions

View File

@@ -930,8 +930,10 @@ void QGSPage::redraw1View(TechDraw::DrawView* dView)
// RichTextAnno needs to know when it is rendering an Svg as the font size
// is handled differently in Svg compared to the screen or Pdf.
// Also true of QGraphicsSvgItems.
void QGSPage::setExportingSvg(bool enable)
{
m_exportingSvg = enable;
QList<QGraphicsItem*> sceneItems = items();
for (auto& qgi : sceneItems) {
QGIRichAnno* qgiRTA = dynamic_cast<QGIRichAnno*>(qgi);