diff --git a/packages/geo/src/lib/print/shared/print.service.ts b/packages/geo/src/lib/print/shared/print.service.ts index 3d8584c4cb..11f916f0c9 100644 --- a/packages/geo/src/lib/print/shared/print.service.ts +++ b/packages/geo/src/lib/print/shared/print.service.ts @@ -46,11 +46,11 @@ export class PrintService { mapPrintExtent: Array; TEXTPDFFONT = { - titleFont: 'Times', + titleFont: 'Sans Serif', titleFontStyle: 'bold', - subtitleFont: 'Times', + subtitleFont: 'Sans Serif', subtitleFontStyle: 'bold', - commentFont: 'courier', + commentFont: 'Sans Serif', commentFontStyle: 'normal', commentFontSize: 12 }; @@ -493,7 +493,7 @@ export class PrintService { const mapScale = map.viewController.getScale(dpi); textProjScale += scaleText + ': ~ 1 / ' + formatScale(mapScale); } - doc.setFont('courier'); + doc.setFont(this.TEXTPDFFONT.commentFont); doc.setFontSize(projScaleSize); doc.text(textProjScale, projScaleMarginLeft, heightPixels); }