Opened 3 years ago

Closed 3 years ago

#11387 closed defect (fixed)

variable naming of font_path leads to false assumptions

Reported by: anonymous Owned by: rjollos
Priority: normal Component: GanttChartPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by rjollos)

Because the variable was called font_path and the example stated out /path/to/font/ I added the path to the font there, until I go throw the implementation and found out that the font has to be defined instead.

So the variable should be either renamed to font_file or an additional variable should be used to define the font within font_path.

Minor fix but I spend approx. an hour to find.

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by rjollos

  • Owner changed from malsmith to rjollos
  • Status changed from new to assigned

comment:2 Changed 3 years ago by rjollos

  • Description modified (diff)

comment:3 Changed 3 years ago by rjollos

  • Description modified (diff)

comment:4 Changed 3 years ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

In 13556:

0.3dev: Renamed option font_path to font_file for clarity. Fixes #11387.

Add Comment

Modify Ticket

as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.