View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Sep 20, 2005 1:17 pm 
Offline
Joined: Sun Mar 06, 2005 9:55 am
Posts: 34
O-kay, I've read a ton and searched the forums concerning how to get the values for the "DisplaySize" setting in the XF86Config-4 file. Obviously, all of my attempts at trying to find the exact settings have not yielded anything legible (man, those fonts are hurtful in the TV Guide). And since all of the references I've found are for either a 27" TV or an HDTVMofo, none of those settings have helped. They've only confused me more than I normally am. So I'm hoping someone here can help me with the following:

DisplaySize settings for a 32" TV (I'm using an nVidia FX5200, S-Video)
Font Point Sizes used (if not using MythTV's default)
What theme is being used (I've discovered that not all theme guides are created equal)

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 7:53 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
I think you missed the point. The real display size doesn't matter since the trick is all about lying to the X server so it chooses a 100dpi or 75dpi font size. What really matters is the desired display resolution (640x480, 800x600, ...) and the DPI number for the font that you want to use. The numbers in my previous examples should work as is for an 800x600 display (the numbers are in millimeters, don't ask me why they used mm for the display size and dpi for the font size). Here's how to get the right "fake" numbers for 640x480 at 75 DPI:

640 pixel dots / 75 dots per inch = ~8.53 inches
8.53 inches * 25.4 millimeters per inch = ~217 millimeters

(480 / 75) * 25.4 (do we really need to show the units again?) = ~152

So you would use: DisplaySize 217 152

For 100 DPI replace the 75 above with 100, for different horizontal and vertical resolutions replace the 640 and 480, ...

Edited to correct the units and misplaced decimal point in the second example.


Last edited by tjc on Wed Sep 21, 2005 10:06 pm, edited 4 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 8:44 pm 
Offline
Joined: Sun Mar 06, 2005 9:55 am
Posts: 34
Aaaahhh...now I understand how it works. Being able to actually SEE the math calculation really helps. Thanks a ton tjc. I think this should really be added to the "FontSizeHowTo" on the KnoppMyth Wiki site. At least it would give the newbies (or idiots like me) a better idea on how to calculate these settings. BTW, is that a typo in the section "(480 / 75) * 2.54" since above it you're using 25.4 for the unit of multiplication? Thanks again for the help.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 9:40 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
actually I think the 25.4 centimeters per inch is the typo.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 21, 2005 9:56 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Actually 25.4 is right since it makes the numbers work, but centimeters isn't. I should had said millimeters instead. I'll go back and fix it to prevent accidents for naive users...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 22, 2005 4:36 am 
Offline
Joined: Sun Mar 06, 2005 9:55 am
Posts: 34
Millimeters...centimeters...it's all metric. :D

Anyway, after some tweaking, it looks like DisplaySize 214 163 (100 DPI @ 800x600) renders readable fonts in the Guide and everywhere else. Thanks again for your help. Now it's just a matter of tweaking my nvidia-settings.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 06, 2005 11:18 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
great post after a little playing i have a legible guide finally.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 19, 2005 1:28 pm 
Offline
Joined: Thu Jan 20, 2005 11:41 am
Posts: 12
OK, I get the displaysize math but...Since I set it up incorrectly to begin with, HOW DO I and WHERE DO I edit the file to make the change to keep from going blind.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 19, 2005 8:35 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
See the example here: http://www.knoppmythwiki.org/index.php?page=XF86ConfigForFX5200HowTo


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 19, 2005 8:49 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
OK -- Here's the bonus round...

How do I affect the font and widget size of the underlying gdm window manager, so that I can actually see menus and read text on an xterm when the frontend is down?

I can see the Myth menus and such easily, but when I exit the frontend and try to use something like nvidia-settings, I can't even read the menus or text because of ny 1920x1080i display. It's gotten even harder to read with the 8174 driver.

It seems to me I need something like a 200 or 400 dpi font size for gdm!

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 19, 2005 9:06 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Well you can always try hunting down where those are invoked (look in /etc/X11/fluxbox/ and /home/mythtv/.fluxbox/) and add appropriate -font or -fn setting to the command lines...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 07, 2006 9:27 am 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
I'd like to set my display correctly.
But I read somewhere that I can destroy my TV if I enter wrong values.

I understood the math calculation.
But Am I compelled to use a 800x600 resolution? NTSC is 720x480 isn't it?
How do I know if I shoud use 100 DPI or 75 DPI?
For now I'm in 800x600 but xterm is unreadable , the GUI is too large and TV is not square. (it's round on the EDGE).

My TV is 27". I'm using S-video.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 07, 2006 3:32 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Please don't hijack threads like this. The topic of this thread is how to determine the correct pseudo DisplaySize to force the use of 75 or 100 DPI fonts, not how get a good/safe X configuration for TV output.

The critcal factors for getting a safe TV out mode are the HorizSync and VertRefresh rates. These are completely independant of the DisplaySize setting. If you want to discuss this further please start another thread or follow up on one where this is already being discussed.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 09, 2006 9:17 am 
Offline
Joined: Sun Oct 16, 2005 12:15 pm
Posts: 288
tjc, I apologize.
I mixed DisplaySize and Refresh rates.
I though this topic was near to my questions, that's why I posted here. I didn't want to post a redundant topic.

Sorry about that.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu