diff options
author | Chris Lumens <clumens@redhat.com> | 2007-02-21 17:27:45 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2007-02-21 17:27:45 +0000 |
commit | ee4d0f511bc471dc0a9eca9fdea1e776097de0bb (patch) | |
tree | cc515ed48bb776ce24ce1c87e2e762359f7ad1e8 /anaconda | |
parent | 7f03c7151e1877800058617a3a51986c591ebc20 (diff) | |
download | anaconda-ee4d0f511bc471dc0a9eca9fdea1e776097de0bb.tar.gz anaconda-ee4d0f511bc471dc0a9eca9fdea1e776097de0bb.tar.xz anaconda-ee4d0f511bc471dc0a9eca9fdea1e776097de0bb.zip |
Solved the mystery of the tiny font size (#224665).
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -82,7 +82,6 @@ def doStartupX11Actions(): miniwm_pid = None log.error("Unable to start mini-wm") - # test to setup dpi # cant do this if miniwm didnt run because otherwise when # we open and close an X connection in the xutils calls # the X server will exit since this is the first X @@ -91,17 +90,11 @@ def doStartupX11Actions(): import xutils try: - if xutils.screenWidth() > 640: - dpi = "96" - else: - dpi = "75" - xutils.setRootResource('Xcursor.size', '24') xutils.setRootResource('Xcursor.theme', 'Bluecurve') xutils.setRootResource('Xcursor.theme_core', 'true') xutils.setRootResource('Xft.antialias', '1') - xutils.setRootResource('Xft.dpi', dpi) xutils.setRootResource('Xft.hinting', '1') xutils.setRootResource('Xft.hintstyle', 'hintslight') xutils.setRootResource('Xft.rgba', 'none') @@ -816,7 +809,7 @@ if __name__ == "__main__": xserver.generateConfig() xserver.addExtraScreen("Anaconda") xserver.display = ":1" - xserver.serverflags.extend(["-screen", "Anaconda"]) + xserver.serverflags.extend(["-screen", "Anaconda", "-dpi", "96"]) xserver_pid = xserver.startX(xStartedCB=doStartupX11Actions) except RuntimeError: stdoutLog.warning(" X startup failed, falling back to text mode") |