use Context.getProcessEngineConfiguration().getActivityFontName(); instead of parameter activityFontName of ProcessDiagramCanvas's constructor