Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SharedProject/Core/ReportGenerator/ReportGeneratorUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ private IReportColours ReportColours

public string ReportGeneratorExePath { get; private set; }

private string FontSize => $"{environmentFontDetails.Size * dpiScale.DpiScaleX}px";
private string FontName => environmentFontDetails.Family.Source;
private string FontSize => environmentFontDetails == null ? "12px" : $"{environmentFontDetails.Size * dpiScale.DpiScaleX}px";
private string FontName => environmentFontDetails == null ? "Arial" : environmentFontDetails.Family.Source;

[ImportingConstructor]
public ReportGeneratorUtil(
Expand Down