954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Glyph code function

I have a device that generates on air graphics. This device needs to get glyph code in each font not the glyph dimensions to be drawn correctly.

For example, if I need the Arabic character
"أ" Alef
I have to send it in an integer value according to the font that will be used.

I could not find any functions that can do this for me
can anyone help me find out a way for that?

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 
int myInt = (int)myChar;
Momerath
Nearly a Senior Poster
3,386 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558
 
int myInt = (int)myChar;


Thanks for your reply
but this is the ASCII value not the glyph code

let me illustrate more:
Glyph is the design for the character how it will be shown for languages like Arabic there is different drawings for the same letter and that what is called glyph but I need to know what is the code for that drawing in each font as there are different fonts glyph code with different order.

Hope that I am clear enough

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

Something like this?

ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
 
Thanks for your reply but this is the ASCII value not the glyph code


It's the unicode value, ASCII doesn't have that character in the set. Are you looking for the codepage?

Momerath
Nearly a Senior Poster
3,386 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558
 
Something like this?


Thanks for your reply but this is the unicode value, this is a different code, I am trying to find a relevant document for illustration but can't find it yet

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 
It's the unicode value, ASCII doesn't have that character in the set. Are you looking for the codepage?


I am really not sure if this is called codepage or not, but maybe. Please provide me a reference for that

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 
Momerath
Nearly a Senior Poster
3,386 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558
 
Code page

I think this is the same as what ddanbe posted.


I am looking for the glyph symbol code

mmm.. not sure if the following may help or not: http://en.wikipedia.org/wiki/Glyphs

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 
getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

well... the function getcharacterplacement in C++ gets the code but I failed to use it inside C# program. do anyone know a replacement code for that?

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

Perhaps this can help?

ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
 

does anyone know what is uniscribe?
As I think this is the new name for glyphs in C#

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 
Perhaps this can help?

for some reason the link is not working.
But, I think what you are referring to is the one that really draws the glyphs not giving me the code that I need.

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661
 

does anyone know what is uniscribe?
As I think this is the new name for glyphs in C#

getmepaid
Newbie Poster
10 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: