[mythtv-commits] Re: Ticket #667: Fix OSD font width and height for
non-4:3 display, letterbox modes
MythTV
mythtv at cvs.mythtv.org
Sat Nov 19 04:34:51 EST 2005
#667: Fix OSD font width and height for non-4:3 display, letterbox modes
------------------------------+---------------------------------------------
Reporter: gtgj at pacbell.net | Owner: danielk
Type: patch | Status: new
Priority: minor | Milestone: 0.20
Component: mythtv | Version: head
Severity: medium | Resolution:
------------------------------+---------------------------------------------
Comment (by gtgj at pacbell.net):
Okay, I just tried 1280x1024 resolution on a 1920x1080 display. With the
patch, the OSD fonts look correct and look the same as they did with
1920x1080 resolution. This is with 1080i, 720p, and 480x480 bttv videos.
GetOSDBounds tells the OSD its width and height in "video" pixels. I
think that it is sufficient to tell the OSD its physical aspect ratio (not
the display aspect ratio) so that it can scale its widths appropriately.
Then, only the VideoOutput class needs to be aware of the actual display
width/height/aspect -- as long as VideoOutput scales/frames the video so
that the OSD ends up shown with the correct aspect ratio. This is
automatically true in normal operation because I think VideoOutput ensures
that the video is displayed with the correct aspect ratio, and in normal
operation, the video aspect ratio is the same as the OSD aspect ratio.
This is what I was trying to accomplish by adding "aspect" to
GetOSDBounds. I think you're probably right that "XJ_aspect" is not the
appropriate number in some letterbox modes but I guess I'm still a little
unclear how the various modes are supposed to look like with different
display aspect ratios.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/667>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list