etop-wesley / hac

1 stars 0 forks source link

Qt4 font display seems smaller #23

Closed etop-wesley closed 13 years ago

etop-wesley commented 13 years ago

same toolchain, same Qt, same rootfs linux-2.6.12 fonts seems ok linux-2.6.28 fonts seems 1/3

why ?

/WX

etop-wesley commented 13 years ago

in kernel side, the width, height in fb_var_screeninfo is set to 800, 480 which is wrong i think, it should not be the resolution size, but the actual size in mm.

so, QLinuxFbScreen::connect get a wrong screen size, and cause the result of wrong font ratio.

etop-wesley commented 13 years ago

we now specified the "mmWidth" and "mmHeight" to 152 and 91(see LCD specification for more details) to tell Qt not to use the value read from kernel fb driver(which is wrong).