Hi,
I've been seeing some strange issues with SHR-U lately:
* on-screen keyboard size is growing, eventually some keys no longer fit
on screen
* text labels in GTK apps keep shrinking to the point of being unreadable
* terminal font in vala-terminal keeps shrinking
For example see [1].
The issue is exacerbated by frequent rotation of screen, e.g. install
omnewrotate and rotate the phone 20x.
The issues all seem connected. So I tried comparing the output of xdpyinfo
after startup and after several rotations. And there are differences,
e.g.:
< dimensions: 480x640 pixels (43x58 millimeters)
< resolution: 284x280 dots per inch
---
dimensions: 480x640 pixels (4x428 millimeters)
resolution: 3048x38 dots per inch
More generally: It seems that with each pair of rotations (portrait ->
landscape, landscape -> portrait) the phys. width decreases and the height
increases.
IMHO this explains why the fonts change, while bitmaps stay correct. The
apps are told nonsensical phys. dimensions (and so get nonsesical dpi).
But what causes this?
I'm not able to reproduce the issue deterministically without rotating the
screen, but I have seen the growing keyboard issue even without rotations.
Maybe that one is different from the this?
Regards,
David
[1] http://linux.fjfi.cvut.cz/~zub/SHR/scaling-fun.png
_______________________________________________
Shr-devel mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-devel