Get list of installed monospace fonts

  • Thread starter Thread starter Benjamin Lukner
  • Start date Start date
B

Benjamin Lukner

Hi!

I need to know which (monospaced) fonts are installed on a Pocket PC.

System.Drawing.FontFamily.Families is not implemented in the CF :-(

Is there any other way to get such a list? Perhaps via API?


Kind regards,

Benjamin Lukner
trinomix GmbH
 
By default Pocket PC only includes the Courier New monospaced font. You can
however add further true type fonts to the unit by copying them to the
\Windows\Fonts folder. Along with this the device includes Tahoma and if
Reader is installed will have Frutiger Linotype and Bookdings too.

Peter
 
Peter said:
By default Pocket PC only includes the Courier New monospaced font. You can
however add further true type fonts to the unit by copying them to the
\Windows\Fonts folder. Along with this the device includes Tahoma and if
Reader is installed will have Frutiger Linotype and Bookdings too.

Yes, I know...
I already do so.

My problem is slightly different:
I use a font I copied to the Pocket PC and would like to know,
if it is still there when executing my program.

At the moment I use a label and check its font property,
but that's quite odd.

Do you have another hint for me? ;-)

(Thanks for the quick response so far.)


Kind regards,

Benjamin Lukner
 
Benjamin,

I use a special .ttf font file for my app and when the app is installed, the
font file is copied to the \Windows\Fonts folder on the device. In my app, I
check that the font file exists in that folder at app startup. Soon, I will
also be running the check during the Activate method as well to allow for
the condition when my app is re-selected as the current app.if another app
is previously selected.

Regards,
Neville Lang
 
Back
Top