Enabling ClearType on Windows CE 6.0
2011-04-15 22:48
633 查看
I’m working on some code to get an old Digital Picture Frame up and running (Kurt found the hardware in the lab) – The frame doesn’t have any input so we decided to use Telnet as the interface to configure the picture feed (I’m using the Windows Live FrameIt feed http://frameit.live.com), the Internet Proxy (since we’re using the frame behind the corporate firewall), and the picture interval timeout.
Since we’re using Telnet we need to know the IP address of the frame – Getting the IP address is fairly straight forward (there’s plenty of useful source code that ships with the CE 6 product, including IPConfig (C:/WINCE600/PUBLIC/COMMON/OAK/DRIVERS/NETSAMP/IPCONFIG), Internet Explorer Control Panel applet (so you can set the internet proxy) – (C:/WINCE600/PUBLIC/IE/OAK/INETCPL/options.cpp)
While I’m waiting for the user to set the proxy (optional), and the feedname (I could bake a default feed into the image) I display the IP address of the frame on the display.
Here’s how part of the IP address looks – notice how “jagged” the characters look? (look at the steps down the “7”)
Here’s an enlarged version of the same image…
Yuk! – Now that really looks bad…
How do we make this look better? – simple, enable Clear Type on the o/s image.
Enabling Clear Type is amazingly simple… Add the following registry key to your o/s image…
Now let’s take a look at the same text being displayed on the frame with Clear Type enabled.
Here’s the small image (actual size, 36 point Verdana), notice how lovely and smooth the leg of the “7” looks… Ah!, much better…
Here’s the enlarged version…
I’ve started creating dummy components for things like enabling Clear Type, the dummy component doesn’t contain any source, but does contain the registry key needed to enable the setting – It might be useful for me to create a quick 5 minute “How To” video that explains how this works…
Since we’re using Telnet we need to know the IP address of the frame – Getting the IP address is fairly straight forward (there’s plenty of useful source code that ships with the CE 6 product, including IPConfig (C:/WINCE600/PUBLIC/COMMON/OAK/DRIVERS/NETSAMP/IPCONFIG), Internet Explorer Control Panel applet (so you can set the internet proxy) – (C:/WINCE600/PUBLIC/IE/OAK/INETCPL/options.cpp)
While I’m waiting for the user to set the proxy (optional), and the feedname (I could bake a default feed into the image) I display the IP address of the frame on the display.
Here’s how part of the IP address looks – notice how “jagged” the characters look? (look at the steps down the “7”)
Here’s an enlarged version of the same image…
Yuk! – Now that really looks bad…
How do we make this look better? – simple, enable Clear Type on the o/s image.
Enabling Clear Type is amazingly simple… Add the following registry key to your o/s image…
1: [HKEY_LOCAL_MACHINE/SYSTEM/GDI/Cleartype]
2: "Default"=dword:00000001
Now let’s take a look at the same text being displayed on the frame with Clear Type enabled.
Here’s the small image (actual size, 36 point Verdana), notice how lovely and smooth the leg of the “7” looks… Ah!, much better…
Here’s the enlarged version…
I’ve started creating dummy components for things like enabling Clear Type, the dummy component doesn’t contain any source, but does contain the registry key needed to enable the setting – It might be useful for me to create a quick 5 minute “How To” video that explains how this works…
相关文章推荐
- Will Windows CE 5.0 apps run on Windows CE 6.0
- Windows Embedded CE 6.0开发初体验(六)平台定制
- 2.1.1.1.1:欢迎使用Windows Embedded CE 6.0
- Windows Embedded CE 6.0开发环境的搭建
- 微软Windows Embedded CE 6.0全球上市,180天免费试用版
- Windows Embedded CE 6.0: How to Create Shortcuts
- Driver Catalog Items (Windows Embedded CE 6.0)
- Windows Embedded CE 6.0开发初体验(三)设置Boot-loader
- SPARK Your Embedded Development Project with eBox-4300 Windows Embedded CE 6.0 R2 Jump Start Kit
- Get all running services on Windows CE
- Windows Embedded CE 6.0开发初体验(三)设置Boot-loader 收藏
- Windows CE6.0开发者参考(第…
- Windows Embedded CE 6.0 Platform Builder SP1
- Windows Embedded CE 6.0中某些术语
- Windows Embedded CE 6.0开发初体验(三)设置Boot-loader
- perform profiling on windows ce
- Windows Embedded CE 6.0开发环境的搭建 .
- Windows Embedded CE 6.0开发初体验(四)跑个应用程序先
- 建立Windows Embedded CE 6.0开发环境所必须遵守的软件安装顺序
- Windows Embedded CE 6.0开发初体验(四)跑个应用程序先