-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/20/2011 02:53 PM, Josh Thompson wrote: > On Thursday January 20, 2011, Fox Mulder wrote: >> Am 20.01.2011 00:02, schrieb Leonardo Guardati: >>> Hi everybody, >>> >>> I'm experiencing this problem; when omnewrotate is running, the fonts >>> >>> of some applications ( PhoneLog, StopWatch, SketchBook, TangoGPS ) get >>> reduced from time to time. >>> I noticed at first the fonts just a bit smaller and every time I close >>> and open again the application the font become smaller and smaller, >>> until the text is unreadable. >>> >>> I'm using SHR-testing2011.1, but the same problem is present in >>> tests/shr-testing. >>> >>> Does anybody have the same problem? >> >> This problem is nothing new. I have it since a few months with shr-u and >> it occurs after every screen rotation. No matter if it's done by >> omnewrotate or manual xrandr command. I don't know if there is a >> solution but if so i never found it anywhere. >> >> Ciao, >> Rainer > > I use my own script to do screen rotation when I need it. I > discovered this same issue a while ago. I found adding this command > to my script to get run after rotating back to portrait mode fixes > the problem: > > xrandr --dpi 284x280 > > I don't know if there's a way to add that to omnewrotate, but you > could at least put that in a script and create .desktop file for it > to show up as a program in the launcher so you could manually run it. > > Josh >
Thanks, the xrandr --dpi 284x280 worked! I also noticed that the font size only changes when a 90° rotation is triggered. If I let the screen rotate only up and down (180°) the fonts don't get scaled. ...so maybe during a 90° rotation (where the dimensions are swapped) the dpi gets internally changed and when the swap restores the original resolution the dpi doesn't get restored along with it. I don't know where to look on the code to check if this thought could make sense. Ciao. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk04Y8gACgkQJtMu4PhtcJ8LrwCgmBc0psxqSUDWFscHz/fEBm8I U+0An25lIhW6b/+wH46Y913P2venlRVu =CXDY -----END PGP SIGNATURE-----
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
