VS2003. Size of fonts

R

rbolos

Hello,

I´m developing a Pockect Pc application with Visual Studio 2003 + Visual
Basic. My pda tester is IPAQ h3000.

I want to use the same font of operating system (Thaoma or Verdana size 8)
over my forms.

Well, in visual studio environmet i set this font and i can see the correct
size, but when i run the application on pda the size change. I´have test
with other font sizes as 9 but then the letter is too big.

Anyone can help me?.

Thanks.
 
P

Paul G. Tobey [eMVP]

There's a fairly good chance that the fonts installed on your PC don't
match, exactly, what's on the PPC. You could write a simple C/C++ program
to enumerate the fonts; there may be a way to do that from managed code,
too, but I've never done it.

First off, what's the reason for wanting to do this font choice? It should
be a fairly compelling reason to justify the effort of using something other
than the application font that comes on the device (since you'll have to pay
a license to distribute a font with your application and even if the font is
there, using it will cause your application to look foreign to the device).

Paul T.
 
R

rbolos

Dear Paul,

I only want to use the same font of operating system. This fonts isn´t
installed on the ppc??.
Perhaps, this fonts aren´t thaoma or verdana.??

The size 8 for Thaoma and Verdana it´s too small on the PPC and 9 it´s soo
big.

What´s the problem?

Thanks
 
P

Paul G. Tobey [eMVP]

Tahoma is there, I'm confident. Verdana can be there, but I don't have a
Pocket PC, so I can't tell you whether it is or not. The Pocket PC is not
running the same OS as your desktop PC so, no, there's nothing that forces
it to have any of the same fonts at all (and there's no good reason why you
should want it to, either, that I can think of).

To my ears, your reasoning is poor. Leave the fonts set as the VS.NET
environment sets them by default. If things seem too small (whatever that
means), put fewer things in the form and increase the number of forms (using
tabs or whatever). You're just digging yourself a big hole for future OS
revisions, etc., by trying to tie yourself to a specific font and size.

Paul T.
 
R

rbolos

Dear Alex,

Great!!!.

The PPC turn off the battery, and the sp3 of compact framework was removed
of memory. Now i´m install it again and now it´s correct.

Sorry for the invconeniece.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top