[mythtv-commits] Re: Ticket #667: Fix OSD font width and height for non-4:3 display, letterbox modes

MythTV mythtv at cvs.mythtv.org
Wed Nov 23 19:11:11 EST 2005


#667: Fix OSD font width and height for non-4:3 display, letterbox modes
------------------------------+---------------------------------------------
 Reporter:  gtgj at pacbell.net  |        Owner:  danielk 
     Type:  defect            |       Status:  reopened
 Priority:  minor             |    Milestone:  0.19    
Component:  mythtv            |      Version:  head    
 Severity:  medium            |   Resolution:          
------------------------------+---------------------------------------------
Changes (by anonymous):

  * resolution:  fixed =>
  * status:  closed => reopened

Comment:

 For all these sizes I tried, the fonts are virtually uniform in their
 width and height relative to the picture. A multi-line description wraps
 at the same points at any resolution. so I think you have the relative
 scaling licked.

 However, they are uniformly compressed too narrow at any resolution.
 Attached is a screenshot that shows the narrowed fonts. Perhaps 1.333333
 is factored in one too many times?

 {{{
 Decreasing recording width 640, 480, 320

 VideoOutput::MoveResize:
 Img(0,0 640,480)
 Disp(0,0 640,480)
 Offset(9,9)
 Vscan(0.000000, 0.000000)
 DisplayAspect: 1.333300
 VideoAspect(1.333330)
 XJ_aspect(1.333330)
 CDisplayAspect: 1.333333
 Letterbox: 0
 VideoOutput::MoveResize:
 Img(0,0 640,480)
 Disp(0,0 640,480)
 Offset(9,9)
 Vscan(0.000000, 0.000000)
 DisplayAspect: 1.327869
 VideoAspect(1.333330)
 XJ_aspect(1.333330)
 CDisplayAspect: 1.333333
 Letterbox: 0
 2005-11-23 15:24:29.060 XJ_aspect:      1.33333
 2005-11-23 15:24:29.077 videoAspect:    1.33333
 2005-11-23 15:24:29.078 display_aspect: 1.32787 dpa: 0.995902
 2005-11-23 15:24:29.078 vb scale:       1.33264
 2005-11-23 15:24:29.078 visible_aspect: 0.995386
 2005-11-23 15:24:29.078 font_scaling: 0.882425

 VideoOutput::MoveResize:
 Img(0,0 480,480)
 Disp(0,0 640,480)
 Offset(9,9)
 Vscan(0.000000, 0.000000)
 DisplayAspect: 1.333300
 VideoAspect(1.333330)
 XJ_aspect(1.333330)
 CDisplayAspect: 1.333333
 Letterbox: 0
 VideoOutput::MoveResize:
 Img(0,0 480,480)
 Disp(0,0 640,480)
 Offset(9,9)
 Vscan(0.000000, 0.000000)
 DisplayAspect: 1.327869
 VideoAspect(1.333330)
 XJ_aspect(1.333330)
 CDisplayAspect: 1.333333
 Letterbox: 0
 2005-11-23 15:26:13.605 XJ_aspect:      1.33333
 2005-11-23 15:26:13.605 videoAspect:    1.33333
 2005-11-23 15:26:13.605 display_aspect: 1.32787 dpa: 0.995902
 2005-11-23 15:26:13.605 vb scale:       1
 2005-11-23 15:26:13.605 visible_aspect: 0.746928
 2005-11-23 15:26:13.605 font_scaling: 0.810505

 VideoOutput::MoveResize:
 Img(0,0 320,480)
 Disp(0,0 640,480)
 Offset(9,9)
 Vscan(0.000000, 0.000000)
 DisplayAspect: 1.333300
 VideoAspect(1.333330)
 XJ_aspect(1.333330)
 CDisplayAspect: 1.333333
 Letterbox: 0
 VideoOutput::MoveResize:
 Img(0,0 320,480)
 Disp(0,0 640,480)
 Offset(9,9)
 Vscan(0.000000, 0.000000)
 DisplayAspect: 1.327869
 VideoAspect(1.333330)
 XJ_aspect(1.333330)
 CDisplayAspect: 1.333333
 Letterbox: 0
 2005-11-23 15:27:34.373 XJ_aspect:      1.33333
 2005-11-23 15:27:34.373 videoAspect:    1.33333
 2005-11-23 15:27:34.374 display_aspect: 1.32787 dpa: 0.995902
 2005-11-23 15:27:34.374 vb scale:       0.66736
 2005-11-23 15:27:34.375 visible_aspect: 0.49847
 2005-11-23 15:27:34.375 font_scaling: 0.754908

 Decreasing recording height 480, 368, 240

 See 640x480 above

 VideoOutput::MoveResize:
 Img(0,0 640,368)
 Disp(0,0 640,480)
 Offset(9,9)
 Vscan(0.000000, 0.000000)
 DisplayAspect: 1.333300
 VideoAspect(1.333330)
 XJ_aspect(1.333330)
 CDisplayAspect: 1.333333
 Letterbox: 0
 VideoOutput::MoveResize:
 Img(0,0 640,368)
 Disp(0,0 640,480)
 Offset(9,9)
 Vscan(0.000000, 0.000000)
 DisplayAspect: 1.327869
 VideoAspect(1.333330)
 XJ_aspect(1.333330)
 CDisplayAspect: 1.333333
 Letterbox: 0
 2005-11-23 15:32:12.372 XJ_aspect:      1.33333
 2005-11-23 15:32:12.372 videoAspect:    1.33333
 2005-11-23 15:32:12.372 display_aspect: 1.32787 dpa: 0.995902
 2005-11-23 15:32:12.372 vb scale:       1.73713
 2005-11-23 15:32:12.372 visible_aspect: 1.29751
 2005-11-23 15:32:12.372 font_scaling: 0.986669
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/667>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list