convert ToChar question

G

Guest

I am trying to use some special character. When I try to use the unicode
hexadecimal number to convert to the character I can only select from
Tahoma's character map and maybe a couple of others.

I thougt I read that CF supported all the fonts and you could use any
charcode to get special character. Am I mistaken?

Code looks like:

Dim sd As Integer = "&HFFFC"
Dim chrIndicator As Char = Convert.ToChar(sd)
lblIndicatorMode.Text = chrIndicator
 
G

Guest

What Font are you using to render it? Does it have the glyph in the
codepage?

-Chris
 
G

Guest

I am trying to render glyphs from wingding. I am not sure if I have the font
set properly. I am trying to render it in a textbox or label. I set the
textbox font to wingding. That didn't help. It still seems to want to
render only from tahoma. Is there a different way to set this up?
 
G

Guest

Is the WingDing font on the device?

-Chris

Pdoc said:
I am trying to render glyphs from wingding. I am not sure if I have the
font
set properly. I am trying to render it in a textbox or label. I set the
textbox font to wingding. That didn't help. It still seems to want to
render only from tahoma. Is there a different way to set this up?
 
G

Guest

I don't know. And I don't know how to find out. It is a Pocket PC. I am
getting the feeling that using non standard symbols and fonts might not be
tha way to go. Basically I am trying to avoid using images on my buttons as
the performance seems dismal when switching between form.

I only need a couple of buttons with symbols so maybe I will just stick
with images on those and text on the rest. Thank you for all your help, if
you have any further ideas I'd still like to hear them. Thanks

Pat
 
G

Guest

I found the fonts folder. It is empty. I guess the device needs the correct
font installed. To make the program more universal(assuming the use of
nonstandard fonts) I am assuming the installation would have to check for
fonts installed and then deploy the fonts required. Does that sound correct?
Admittedly I am a lightweight at this but that sounds somewhat like a pain.
Are there any samples on this?
 
P

Paul G. Tobey [eMVP]

Make sure that Explorer is configured to show everything. Even if it is, it
doesn't show *everything*, so you might want to use the Remote File Viewer
(from eVC), to check the contents of both the \Windows folder and the fonts
folder.

Paul T.
 
G

Guest

Thanks Guys, I got...and it is not a big task as I appeared at first.

Ok, the licenseing statement got me... I hadn't thought of that. I take it
some fonts must be freely distributable or if the user installs them it would
be acceptable? Do you have a link on the details? I am only looking to use
simple arrows, certainly there must be free arrows.

Thank again
 
P

Paul G. Tobey [eMVP]

There are few. You can imagine the amount of effort a typographer would
take to figure out the spline(s) that defines the outline of a lower case
'g', or whatever. A complete font with Latin characters is the equivalent
of a fairly sizable program for a software guy. You should make sure,
before you go looking for free fonts that there isn't an appropriate
character in what's already in the device. I think that you should be able
to temporarily download the .ttf file from the device to your PC for viewing
with, say, the Character Map accessory. I don't see arrows in Tahoma, but
maybe one of the others will give you better luck.

Paul T.
 

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