View Issue Details

IDProjectCategoryView StatusLast Update
0033374FPCPackagespublic2018-03-08 10:43
ReporterStephanoAssigned ToMichael Van Canneyt 
PriorityurgentSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Platformx86_64OSUbuntuOS Version16.04
Product Version3.1.1Product Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0033374: FPReport designer: Designer crash
DescriptionThe standalone designer (rev 57462) crashes upon placing a memo with
EReportFontNotFound (Helvetica)
- Create a new report
- Add a band
- Add a memo
-> error + crash
TagsNo tags attached.
Fixed in Revision38451
FPCOldBugId0
FPCTarget
Attached Files

Activities

Stephano

2018-03-08 10:32

developer   ~0106984

Hack patch, but the original line of code was as hackish too :)
fpreport.pp line 2173:
  {$IFDEF UNIX}
  cDefaultFont = 'LiberationSans';
  {$ELSE}
  cDefaultFont = 'Helvetica';
  {$ENDIF}

Michael Van Canneyt

2018-03-08 10:39

administrator   ~0106986

Well, one of the ideas I had was to set a separate default font name in the designer, and to use that always. For instance when a company has a house style; they may want to design all reports using the same default font.

Stephano

2018-03-08 10:43

developer   ~0106987

Good idea. But the designer must then have a fallback plan instead of crashing.

Issue History

Date Modified Username Field Change
2018-03-08 10:15 Stephano New Issue
2018-03-08 10:15 Stephano Status new => assigned
2018-03-08 10:15 Stephano Assigned To => Michael A. Hess
2018-03-08 10:15 Stephano Assigned To Michael A. Hess => Michael Van Canneyt
2018-03-08 10:15 Stephano Priority normal => urgent
2018-03-08 10:15 Stephano Severity minor => crash
2018-03-08 10:32 Stephano Note Added: 0106984
2018-03-08 10:39 Michael Van Canneyt Fixed in Revision => 38451
2018-03-08 10:39 Michael Van Canneyt Note Added: 0106986
2018-03-08 10:39 Michael Van Canneyt Status assigned => resolved
2018-03-08 10:39 Michael Van Canneyt Fixed in Version => 3.1.1
2018-03-08 10:39 Michael Van Canneyt Resolution open => fixed
2018-03-08 10:39 Michael Van Canneyt Target Version => 3.2.0
2018-03-08 10:43 Stephano Note Added: 0106987
2018-03-08 10:43 Stephano Status resolved => closed