All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 eVC - FontEnum.exe
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

ctacke

877 Posts

Posted - 25 Aug 2004 :  17:12:22  Show Profile  Email Poster
FontEnum.exe


This application uses the debug port to display all available fonts. It then searches the root folder of an inserted ATA Storage Card for font files. If found, the fonts are added to the system. The application re-enumerates and displays the available fonts.

This type of logic can be used to install any Font for your application at either boot or run time from media.

Key APIs Used

EnumFontFamilies
AddFontResource

Lines of Code: ~100


Source Download
Rev 1 - Aug 25, 04 (5k zip).

ken.yeung

20 Posts

Posted - 11 Apr 2005 :  15:32:56  Show Profile  Email Poster
I am working on AGX with ce v4.20.8 and v4.20.9. I tried to use the FontEnum.exe and the debug port shown this:

------------------------------
Available Fonts on this device
------------------------------
Wingdings
Tahoma
Courier New
------------------------------
Looking for fonts on Storage Card...
found MINGLIU.TTC

------------------------------
Available Fonts on this device
------------------------------
PMingLiU
MingLiU
Wingdings
Tahoma
Courier New
------------------------------


File mingliu.ttc is the Chinese font file copied from my PC. However, when I opened IE with an unicode demo page (http://www.topolis.lt/unicode/unicode-page.html) I cannot see the Chinese characters even with largest text size. They all appeared as squares. I tried other pages, like hk.yahoo.com, but still no luck.

Please kindly advise what else shall I try to display Chinese on the device.
Go to Top of Page

ken.yeung

20 Posts

Posted - 12 Apr 2005 :  17:14:29  Show Profile  Email Poster
I am sorry that it actually works. What I need to do is to run FontEnum.exe on my CE device, install the font on my PC, restart Visual Studio and choose the correct font (MingLiU) for Chinese text. It also works for Korean (Gulim) and Japanese (MS Gothic).
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000