[MPlayer-users] [BUG] vo x11 + OSD + menu = ???

Filip Kalinski filon at pld.org.pl
Tue Jan 7 21:44:27 CET 2003


Hi,

There is a bug in mplayer's OSD displaying code. When mplayer is running
with -vo x11 -zoom and using truetype font with autoscaling font sizes
for OSD and for menu are different.

When run "-vo x11 -zoom -nofs" both are OK, but when changed to fullscreen
menu scales (OK) but OSD not (NOT OK, is way to small) (situation 1)

When run "-vo x11 -zoom -fs" sometimes (but rarely) it the same like in
(situation 1).
But more often (more than 90%) it is that OSD is OK, but menu NOT OK
(realy huge). After pressing "f" to change back to window OSD doesn't scale
(NOT OK, too large) and menu scales down (but is still way too large).

The problem is that OSD is rendered after soft-scale, and menu before.
This way the same size of both of them cannot be achieved.

The solutions I see are:

- render them both before scaling (and don't update font later) or
- render them both after scaling (and update font after each window resize)
  it is not preferred solution (becouse it's slow to process the font), but
  gives better font quality (renedered in higher resoultion)

-- 
Filip Kalinski <filon at pld.org.pl>



More information about the MPlayer-users mailing list