Opened 10 years ago

Closed 10 years ago

#7433 closed defect (worksforme)

CC font using wrong font bounding box?

Reported by: tim@… Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: MythTV - General Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

In an effort to improve readability for my .srt subtitle files, I changed the CC font to Arial Bold. This works great, but while playing about I noticed a small nit with all the fonts: the height appears to be calculated from the smaller bounding box of an "n" rather than the full height from the top of a "f" to the bottom of a "g". As a result, when playing a 16x9 video on a 4:3 screen, the tops of the letters clip the bottom of the video and when there are two lines of subtitles an "f" on the lower line clips a "g" on the upper line.

This is with trunk, revision 22568

Change History (2)

comment:1 Changed 10 years ago by anonymous

I should amend that. If it were calculated from an "n" then the lower line's "f" would clip the baseline :-) Had I been thinking properly I would have said it's accounting for either the riser or the descender but not both. It should use both.

comment:2 Changed 10 years ago by sphery

Resolution: worksforme
Status: newclosed

This is almost definitely a misconfiguration of your display/aspect ratio, an improper approach for changing the CC font, or a broken freetype configuration. Please ask for help on the -users list with a description of your display/aspect settings and how you went about changing the CC font to Arial Bold.

Note: See TracTickets for help on using tickets.