Computer Forum Forum Index
Register  FAQ Profile Log in to check your private messages Log in Register 

Wrong dpi/scaling of some application windows

 
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp embedded
View previous topic :: View next topic  
Author Message
Peter Zahn
Guest





PostPosted: Tue Dec 18, 2007 5:46 pm    Post subject: Wrong dpi/scaling of some application windows Reply with quote

Hello,

I am working on an Windows XP-Embedded-FP2007 device. The mainboard (Kontron
KT965) comes with onboard-graphics (Intel Q965). So far, everything looks
fine, but when I open some own applications, which need exactly the full
screen width (1024px), they don't fit to the screen, because all graphical
elements of the application window is scaled by factor ~1,33. This effect
also happens when I start the "Intel Graphic Configuration Tool". The window
is displayed too large, so evereything except text is not sharp and some
elements are cut off.

The desktop resolution is set to 96dpi and there are no big fonts selected.

Can anybody guess, why this scaling is done only by non-windows-applications
and how i could switch it off?

Thanks in advance,

Peter Zahn
Back to top
Google
Sponsor





PostPosted: Tue Dec 18, 2007 5:46 pm    Post subject: Advertisement

Back to top
KM
Guest





PostPosted: Tue Dec 18, 2007 8:47 pm    Post subject: Re: Wrong dpi/scaling of some application windows Reply with quote

Peter,

You may want to try the tips mentioned here:
http://groups.google.com/group/microsoft.public.windowsxp.embedded/msg/ea00a0759ee2cb33?hl=en&
Also, make sure to pick up the VGASYS font fix posted by SD a few threads below.

--
=========
Regards,
KM

Quote:

I am working on an Windows XP-Embedded-FP2007 device. The mainboard (Kontron
KT965) comes with onboard-graphics (Intel Q965). So far, everything looks
fine, but when I open some own applications, which need exactly the full
screen width (1024px), they don't fit to the screen, because all graphical
elements of the application window is scaled by factor ~1,33. This effect
also happens when I start the "Intel Graphic Configuration Tool". The window
is displayed too large, so evereything except text is not sharp and some
elements are cut off.

The desktop resolution is set to 96dpi and there are no big fonts selected.

Can anybody guess, why this scaling is done only by non-windows-applications
and how i could switch it off?

Thanks in advance,

Peter Zahn
Back to top
Peter Zahn
Guest





PostPosted: Wed Dec 19, 2007 11:25 am    Post subject: SOLVED: Wrong dpi/scaling of some application windows Reply with quote

Thanks for your reply, i could solve the problem.

I manually added the font-files "serife.fon", "seriff.fon", "sserife.fon"
and "sseriff.fon" to the device.
Also i added the corrsponding registry-values
- "MS Serif 8,10,12,14,18,24 (VGA res)"="SSERIFE.FON"
- "MS Sans Serif 8,10,12,14,18,24 (VGA res)"="SERIFE.FON"
- "MS Sans Serif 8,10,12,14,18,24 (8514a res)"="SERIFF.FON"
- "MS Serif 8,10,12,14,18,24 (8514a res)"="SSERIFF.FON"
in "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Font".

As I can see so far, all application windows look fine now.

Peter Zahn
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Computer Forum Forum Index -> windowsxp embedded All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Computer Forum