Opened 3 years ago

Closed 3 years ago

#13385 closed Bug Report - General (fixed)

Spurious font mismatch errors

Reported by: David Hampton Owned by: David Hampton
Priority: minor Milestone: 31.0
Component: MythTV - General Version: Master Head
Severity: low Keywords:
Cc: Ticket locked: no


I'm seeing a large nuber of the following errors:

MythFontProperties?: Failed to load 'Droid Sans', got 'Droid Sans [MONO]' instead

The code should strip out the text in brackets before comparing font names.

Change History (1)

comment:1 Changed 3 years ago by David Hampton <mythtv@…>

Resolution: fixed
Status: assignedclosed

In 60a1db79f/mythtv:

Fix spurious font mismatch errors.

Strip out any text between square brackets before comparing font
names. This will allow a font family name like "Droid Sans [MONO]" to
match the request for "Droid Sans".

Fixes #13385.

Note: See TracTickets for help on using tickets.