Hi to all

I use windows CE embedded 6.0 R2 and i develop in VB.NET 2005. My
device is
an x86. In my application i need to use my true type font called
"elsyst.ttf".
In Win CE 6.0 was sufficient include the font in the project.bib.
Now i use WinCE 6.0 R2 and my application dont recognize my font
(elsyst.ttf
exist in \Windows folder) and display the text using another font
(and size).
I build my font with High-Logic Font Creator.

Any information would be most appreciated.
Thank you and excuse me for my bad english.
Ale

Re: Fonts in WinCE 6.0 R2 by Valter

Valter
Mon Apr 07 09:26:55 PDT 2008

brambilla@elsyst.it wrote in news:73fc0e4a-7e8e-4770-a343-8de8e31e2d28
@m44g2000hsc.googlegroups.com:

> Hi to all
>
> I use windows CE embedded 6.0 R2 and i develop in VB.NET 2005. My
> device is
> an x86. In my application i need to use my true type font called
> "elsyst.ttf".
> In Win CE 6.0 was sufficient include the font in the project.bib.
> Now i use WinCE 6.0 R2 and my application dont recognize my font
> (elsyst.ttf
> exist in \Windows folder) and display the text using another font
> (and size).
> I build my font with High-Logic Font Creator.
>
> Any information would be most appreciated.
> Thank you and excuse me for my bad english.
> Ale
>

Windows CE SR2 supports pluggable fonts engines, but this should not
impact the existing fonts support.
You may try to run a debug image on your device and check if it
displays some error message when it loads the font or try to use
AddFontResource to add the font inside GDI and call GetLastError if it
fails to understand something more about that issue.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

Re: Fonts in WinCE 6.0 R2 by brambilla

brambilla
Wed Apr 09 07:13:29 PDT 2008

On Apr 7, 6:26=A0pm, Valter Minute
<v_a_l_t_e_r.m_i_n_u_t_e@g_m_a_i_l.com> wrote:
> brambi...@elsyst.it wrote in news:73fc0e4a-7e8e-4770-a343-8de8e31e2d28
> @m44g2000hsc.googlegroups.com:
>
>
>
>
>
> > Hi to all
>
> > I use windows CE embedded 6.0 R2 and i develop in VB.NET 2005. My
> > device is
> > an x86. In my application i need to use my true type font called
> > "elsyst.ttf".
> > In Win CE 6.0 was sufficient include the font in the project.bib.
> > Now i use WinCE 6.0 R2 and my application dont recognize my font
> > (elsyst.ttf
> > exist in \Windows =A0folder) and display the text using another font
> > (and size).
> > I build my font with High-Logic Font Creator.
>
> > Any information would be most appreciated.
> > Thank you and excuse me for my bad english.
> > Ale
>
> Windows CE SR2 supports pluggable fonts engines, but this should not
> impact the existing fonts support.
> You may try to run a debug image on your device and check if it
> displays some error message when it loads the font or try to use
> AddFontResource to add the font inside GDI and call GetLastError if it
> fails to understand something more about that issue.
>
> --
> Valter Minutewww.fortechembeddedlabs.it
> Training, support and development for Windows CE
> (the reply address of this message is invalid)- Hide quoted text -
>
> - Show quoted text -

Hi
i use AddFontResource to add font and GetLastWin32Error retur this
error:
nr =3D 13
name =3D ERROR_INVALID_DATA
description =3D The data is invalid

I copy in \Windows folder my font and also Rod.ttf (from my PC \Windows
\fonts\). I try to add these normal true type fonts and i always
received the above-quoted error message.

In \windows and \Font folders (on device) there arent TTF files! (with
the exception of my font and Rod.ttf).

I dont understand. Suggestions ?
Any information would be most appreciated.
Thanks!
Ale