All pastes #182642 Raw Edit

Stuff

public text v1 · immutable
#182642 ·published 2006-09-26 07:04 UTC
rendered paste body
Q: All my fonts look like they are the wrong sizes, how can I correct this?

The first thing to do is to make sure that the X Server is running at 100x100dpi as this is the resolution at which Myth is designed to operate. To find out what your resolution is (with the display running) use the command:

$ xdpyinfo | grep dots

If the response from this isn't 100x100 dots per inch, you need to change your X configuration file (XF86Config/xorg.conf) file to tell the X server the resolution to use.

Add a line:

DisplaySize x y

Under the "Monitor" section in your xorg.conf. Where x = (horizontal resolution)*0.254 and y = (vertical resolution)*0.254, both rounded to the nearest integer.

If you're using NVIDIA display drivers version 8756 or above and your monitor reports an EDID DPI value, you must tell the drivers to ignore this value. Whereas before 8756, the NVIDIA drivers would use the DPI or DisplaySize setting specified in the X configuration file to set or calculate the DPI--/even if/ your display reported a valid DPI in the EDID information--8756 changed handling of EDID so this is no longer the case. At the same time this change was made, NVIDIA deprecated the IgnoreEDID option (and its synonym "NoDDC")--so take them out of there--and instead use the appropriate options from the list below:

    * UseEDID (boolean): disables the use of all EDID information--equivalent to disabling all the following
    * UseEdidFreqs (boolean): determines whether the driver uses the HorizSync and VertRefresh ranges provided by the EDID
    * UseEdidDpi (boolean): determines whether the driver uses the DPI provided by the EDID
    * ModeValidation (string): if set to "NoEdidModes", will ignore the modeline information specified by the EDID (see the documentation for other settings)
    * DPI (string): specifies the DPI to use for the X and Y axes. 

So, for the simplest case with NVIDIA display drivers version 8756 or above, you can specify the following two options in the "Monitor" section of your X configuration file.

Option "UseEdidDpi" "FALSE"
Option "DPI" "100 x 100"

Note that specifying a DisplaySize will have no effect (either positive or negative) when these options are used. Also, you may specify the option "UseEdidDpi" (when using the NVIDIA display drivers) even if your monitor does not report an EDID DPI.

If this doesn't solve the problem then the chances are it's a broken font package or something. Feel free to post the problem to the mailing list at this point, but make it clear you know you're running at 100dpi or you'll get lots of requests telling you to make the changes listed above.
[edit]
Q: Should I use the mailing li