Re: Screen font size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/9/07, L. Rahyen <research@xxxxxxxxxx> wrote:
> On Tuesday October 9 2007 08:41, Renaud (Ron) OLGIATI wrote:
> >  Probably very simple, but I cannot find it:
> >
> > Is there a way to increase the size of the screen fonts used by Wine and
> > apps running under Wine ?
> >
> > Cheers,
> >
> > Ron.
>
>         There is setting in winecfg in current version but it have strangely low
> maximum limit so it is useless in most cases. This is how I do it. Execute to
> make sure that WINE is really closed (if you forgot this step then registry
> changes may "magically" disappear):
>
> wineserver -k
>
>         Now open registry with your favorite editor. I like nano, but you can use
> kwrite or any other you like:
>
> nano ~/.wine/system.reg
>
>         Search for "LogPixels" there. You will see something like this:
>
> "LogPixels"=dword:00000060
>
>         Change 60 to something more suitable. For example this is what I use with my
> two displays (one with resolution 1680x1050 and another one with 1280x1024):
>
> "LogPixels"=dword:00000095
>
>         Save the registry. Now you can try to launch notepad to see the result:
>
> wine notepad
>
>         If you don't like the result repeat all steps. If you like it then you're
> done.
>
Does the attached patch to increase the range for LogPixel slider in
winecfg seem like it would be helpful? Or is anyone out there running
at resolutions higher than 255 DPI? :)

-Nigel
diff --git a/programs/winecfg/x11drvdlg.c b/programs/winecfg/x11drvdlg.c
index 0a4e597..cce5256 100644
--- a/programs/winecfg/x11drvdlg.c
+++ b/programs/winecfg/x11drvdlg.c
@@ -36,8 +36,8 @@ #include "winecfg.h"
 WINE_DEFAULT_DEBUG_CHANNEL(winecfg);
 
 #define RES_MAXLEN 5 /* the maximum number of characters in a screen dimension. 5 digits should be plenty, what kind of crazy person runs their screen >10,000 pixels across? */
-#define MINDPI 96
-#define MAXDPI 120
+#define MINDPI 80
+#define MAXDPI 255
 #define DEFDPI 96
 
 static const char logpixels_reg[] = "System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts";
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux