[mythtv-users] Merge of OSD and Main themes causes WAF to Plummet
Michael T. Dean
mtdean at thirdcontact.com
Wed Mar 2 20:51:56 UTC 2011
On 03/02/2011 01:21 PM, Daniel Born wrote:
> Perhaps the solution lies in specifying font sizes, etc. in screen size percentages?
> Internally this could all be computed into real values based on screen resolution vs screen size (and perhaps also consider a predetermined viewing distance which is usually greater for large screens).
We already have code that normalizes the font size to a 100dpi
equivalent, regardless of display size. So, if you run an 1280x720
theme that defines a 12pt font (= 1/6 inch), that font will be 16 2/3
pixels /at/ 1280x720. However, if the theme is scaled to 1920x1080 for
display, it will be 25 pixels.
Likewise, if the theme specifies a pixelsize, rather than a point size,
the pixelsize is only used directly at the unscaled theme size. So, a
1280x720 theme that uses pixelsize 20 fonts will be displayed on a
1920x1080 screen at 30 pixels.
I.e. the theme looks identical everywhere from a
relative-sizing-of-elements perspective (unless you don't have the font
the theme uses installed and the theme doesn't provide a copy of that
font--but that's a misconfiguration, not a theme issue).
However, a font that's 1/6" high on a 12-inch tall screen would be 1/2"
high on a 36-inch tall screen. Therefore, if you can't read any font
smaller than 1/3" tall from your desired seating position, you'll need
to ensure you get a TV that's at least 24-inches tall to use that
theme. In other words, physical size changes, even though relative size
doesn't.
Mike
More information about the mythtv-users
mailing list