MythLogBot@irc.freenode.net :: #mythtv-theming

Daily chat history

Current users (13):

brfransen, Captain_Murdoch, mag0o_, MythLogBot, Seeker`, anykey_, jpabq, jpabq-, justinh, mrand, sphery, toeb, wagnerrp
Thursday, February 23rd, 2012, 00:15 UTC
[00:15:39] jpabq_ (jpabq_!~jpabq@mythtv/developer/jpabq) has quit (Quit: jpabq_)
[00:22:25] toeb (toeb!~tob@HSI-KBW-078-042-104-026.hsi3.kabel-badenwuerttemberg.de) has quit (*.net *.split)
[00:28:09] toeb (toeb!~tob@HSI-KBW-078-042-104-026.hsi3.kabel-badenwuerttemberg.de) has joined #mythtv-theming
[00:37:38] jpabq: stuartm, danielk pointed out that the font used on all of my non-MythUI screens is too small. How do I adjust that?
[00:38:29] stuartm: qtlook.txt
[00:40:03] stuartm: wait, no, that's not right
[00:40:07] jpabq: Is there a font size adjustment available in there?
[00:40:42] stuartm: would you believe I've forgotten? It used to be set through the UI, but I can't remember how to change it now
[00:41:29] stuartm: sphery might be able to say, I think he was the one who removed the settings controlling font size in QT screens
[00:51:38] wagnerrp: stuartm: how fine of control over our DNS do we have?
[00:51:52] wagnerrp: would there be any potential for mythtv.org subdomains for things like themes?
[00:52:15] wagnerrp: or would it be better to just be able to set up some web space on alcor?
[00:53:24] stuartm: we have full control AFAIK, we already have themes.mythtv.org for the theme download stuff
[00:54:09] stuartm: but I'm not really the best person to ask, Beirdo can answer with more authority
[00:55:43] wagnerrp: maybe better for capt'm, something to add once the server-side management for themes is set up
[01:14:45] sphery: jpabq: did you try qtconfig font settings?
[01:28:18] jpabq: sphery, yes, but it didn't actually seem to affect Myth's screens.
[01:35:12] sphery: jpabq: what do you get from: xdpyinfo | grep -B2 resolution
[01:35:52] jpabq: sphery, 100x100
[01:36:47] sphery: what about dimensions?
[01:37:00] jpabq: sphery, the size does not actually bother me. It was danielk that mentioned that it was small compared to the fonts used in the rest of the theme.
[01:37:50] jpabq: 1920x1200 on my dev box. 1920x1080 on my TV
[01:38:20] jpabq: I was trying to determine if there was something I could do in the theme itself, to "fix" it for everyone.
[01:38:26] sphery: I'd think, though, that 100x100dpi should look good enough... maybe danielk has his set "correctly", which means when it displays a 9pt font on his TV, it's tiny
[01:39:34] sphery: is your font based on 1920x1080 rather than 1280x720? that would also change it (because we normalize font sizes to baseres, I think)
[01:40:21] sphery: so if danielk was comparing to a theme with a baseres of 1280x720, it would look smaller
[01:41:19] sphery: (I'm now starting to think that the font size isn't affected by DPI, even in settings screens--and it's just affected by requested font size and normalized to baseres--but don't know of any way to request any particular font size in settings)
[01:43:12] jpabq: I designed the theme on my computer with the 100dpi settings. If you want to see it for yourself: git clone git://http://github.com/jpoet/Steppes.git
[01:55:44] sphery: jpabq: Yeah, but what I'm saying is that font sizes are normalized to baseres as if the font was displayed on a screen with baseres resolution at 100DPI. So, since baseres affects the number of "inches" in the display, a 1920x1080 baseres (which is what you used) has 19.2in x 12.8in available and a 1280x720 baseres has 12.8in x 7.2in available. That means that a 24pt font (=1/3 in high) will be 33 pixels at 100DPI, which is 3% of ...
[01:55:50] sphery: ... height on a 1920x1080 baseres, and 4.5% of height on 1280x720 baseres. Therefore, the same point sized font looks 1.5 times larger on themes like MythCenter-wide, than on themes like Steppes. So, since we don't know of a way to change fonts in settings UI, the fonts will look 1080/720 = 2/3 the size in Steppes versus MythCenter-wide
[01:56:42] sphery: so, in other words, my theory is that it only "looks" smaller to danielk because he's comparing the font size in your theme's settings pages to the font size in MythCenter-wide's settings pages
[01:57:08] sphery: (and, yeah, I know that's a terrible explanation of what's going on, but hope it's good enough to explain my theory)
[01:57:33] sphery: I think if you compare settings font sizes in your theme with those in another 1920x1080 baseres theme (like Arclight), they'll be the same
[01:58:54] jpabq: sphery, I believe I understand.
[02:44:38] sphery: jpabq: OK, pretty sure the settings font sizes are all set in https://github.com/MythTV/mythtv/blob/master/ . . . er.cpp#L1585 (and the 2 following functions). We had just hard coded them as "reasonable," once we added code to normalize font sizes, since all that's left that's using them is settings pages and we had expected to have settings converted to mythui by now
[02:45:29] sphery: fortunately, xavierh has started work on it, again, so maybe those hard-coded sizes will be gone by 0.26 and we'll be using theme-specified fonts, even in settings
[02:45:59] jpabq: sphery, okay. Thanks for looking into it.
[02:50:44] sphery: I was encountering a similar issue with my patch that allows themes to specify caption fonts/properties--I can make the font sizes right for default/-wide themes, but then it looks too small for themes with higher baseres
[02:51:16] sphery: I was thinking about asking stuartm if we could add a percentage-based size or something, but there's probably a better solution
[02:52:26] sphery: If mythuihelper has access to the baseres sizes, it could take that into account when choosing the points size to pass to NormalizeFontSize() in Get*Font().
[05:07:22] not7ac0 (not7ac0!~not7ac0@gateway/tor-sasl/not7ac0) has joined #mythtv-theming
[05:13:11] not7ac0 (not7ac0!~not7ac0@gateway/tor-sasl/not7ac0) has quit (Quit: leaving)
[06:32:23] skd5aner (skd5aner!~skd5aner@cpe-071-071-242-134.carolina.res.rr.com) has quit (Read error: Connection reset by peer)
[06:32:38] skd5aner (skd5aner!~skd5aner@cpe-071-071-242-134.carolina.res.rr.com) has joined #mythtv-theming
[10:53:40] toeb: should i create a new ticket for http://pastebin.ca/2120463 ? Or will it get applied without going through trac too?
[11:06:52] stuartm: toeb: always better to create a ticket otherwise these things get forgotten
[11:13:03] toeb: ok
[12:56:30] justinh (justinh!~justin@cpc10-salf5-2-0-cust50.10-2.cable.virginmedia.com) has quit (Remote host closed the connection)
[13:07:57] knightr (knightr!~knightr@mythtv/developer/knightr) has quit (Ping timeout: 265 seconds)
[13:17:06] justinh (justinh!~justin@cpc10-salf5-2-0-cust50.10-2.cable.virginmedia.com) has joined #mythtv-theming
[14:00:12] stuartm (stuartm!~stuartm@mythtv/developer/stuartm) has quit (Remote host closed the connection)
[14:49:53] stuartm (stuartm!~stuartm@cpc1-derb9-0-0-cust441.8-3.cable.virginmedia.com) has joined #mythtv-theming
[14:49:53] stuartm (stuartm!~stuartm@cpc1-derb9-0-0-cust441.8-3.cable.virginmedia.com) has quit (Changing host)
[14:49:53] stuartm (stuartm!~stuartm@mythtv/developer/stuartm) has joined #mythtv-theming
[14:49:54] Mode for #mythtv-theming by ChanServ!ChanServ@services. : +v stuartm
[17:03:42] jpabq_ (jpabq_!~jpabq@mythtv/developer/jpabq) has joined #mythtv-theming
[17:07:46] jpabq_ (jpabq_!~jpabq@mythtv/developer/jpabq) has quit (Ping timeout: 240 seconds)
[18:29:44] natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has joined #mythtv-theming
[18:41:39] natanojl (natanojl!~jonatan@c83-252-237-63.bredband.comhem.se) has quit (Ping timeout: 260 seconds)
[21:34:43] skd5aner (skd5aner!~skd5aner@cpe-071-071-242-134.carolina.res.rr.com) has quit (Quit: Leaving)

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.