Re: Fonts and desktop shortcuts

From: Selin Metin (nospam_at_nospam.com.tr)
Date: 04/28/04


Date: Wed, 28 Apr 2004 15:57:43 +0300

Hi,

1. To add fonts to your platform:
Copy your custom font file (myfont.ttf) to
_WINCEROOT\public\_my_platform\WINCE420\_my_processor_type\oak\files
directory and add the following line to the files section of your
project.bib file:

myfont.ttf $(_PROJECTROOT)\oak\files\myfont.ttf NK SHU

2. To create a shortcut to your application on the desktop:
The .dat file ist the only way to make a file appear in outside the \Windows
directory. First create a .lnk file for your app in the
_WINCEROOT\public\_my_platform\WINCE420\_my_processor_type\oak\files
directory. Create a new text document, open with notepad.exe, add the
following line and save as MyApp.lnk.

40#\Windows\MyApp.exe parameter1 parameter2

    40# : number of ASCII characters after pound sign
    parameter1, parameter2 : command line parameters to the target

Then add the following line to your project.dat file:

Directory("\Windows\Desktop"):-File("MyApp.lnk","\Windows\MyApp.lnk")

Last of all, add the .lnk file to the ROM image, that is to the FILES
section of your project.bib file:

MyApp.lnk $(_FLATRELEASEDIR)\MyApp.LNK NK S

That's all!

Regards,
Selin

"vIndEx" <fdelvalle@iespana.es> wrote in message
news:#PwjMpRLEHA.1156@TK2MSFTNGP09.phx.gbl...
> Hi! How can I add fonts to my platform? I would like to create a shortcut
to
> my application in the desktop too.
>
> Thanks
>
>



Relevant Pages

  • Re: PC to MAC Printing Compatibility Question
    ... One primary culprit is using fonts that exist only on one platform (so ... A third issue is the users Standard Font. ...
    (microsoft.public.excel.misc)
  • RE: Help ! Fonts issues with Windows CE 5.0
    ... These settings are coming from common.reg and I don't see why I have to ... copy/paste) for my platform to work correctly with the default system fonts. ... It also solved the problem I had with the command prompt font (which is also ...
    (microsoft.public.windowsce.platbuilder)
  • Help ! Fonts issues with Windows CE 5.0
    ... I'm using CE 5.0 on a Geode platform, using the default AMD Geode BSP ... everything was running fine (and without Raster Fonts features). ... above, only Arial & Courier can be used for the command prompt (Tahoma, Times ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Uses for Screen OCR technology
    ... out the WCF platform that will likely replace it. ... technology is that it is much more accurate with very small fonts. ...
    (microsoft.public.vc.mfc)