Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fonts in WinCE 6.0 R2

174 views
Skip to first unread message

bram...@elsyst.it

unread,
Apr 7, 2008, 11:14:59 AM4/7/08
to
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

Valter Minute

unread,
Apr 7, 2008, 12:26:55 PM4/7/08
to
bram...@elsyst.it wrote in news:73fc0e4a-7e8e-4770-a343-8de8e31e2d28
@m44g2000hsc.googlegroups.com:

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)

bram...@elsyst.it

unread,
Apr 9, 2008, 10:13:29 AM4/9/08
to
On Apr 7, 6:26 pm, 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
> (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 = 13
name = ERROR_INVALID_DATA
description = 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


0 new messages