Web Development

General discussion



By vivek_sriwastava ·
how can i verify the symmetry in the mirror image of characters like A is symmetric while B is not?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by john.a.wills In reply to symmetry

Your best method is probably to make a list of the symmetric characters and check whether the input character is in the list. Actually working on the shape of each input character is not a practical solution.

Collapse -

by vivek_sriwastava In reply to

if possible provide me any other solution because it does not explain any method to check the symmetry of a character directly.Computer itself check the symmetr of a character through program .I don't want to specify separately that which
one is symmetric .

Collapse -

by Choppit In reply to symmetry

How are you feeding your input characters into your program?

Individually or as a text string?
Bitmap or ASCII?

Collapse -

by Merrimac In reply to symmetry

I don't have an answer for you but I am interested in what type of application you are writing that uses this function. Would you explain? Thanks very much!

Collapse -

by spaz99 In reply to symmetry

Here's a pragmatic approach: Render the character as a bitmap, create another copy in reverse, then XOR the two bitmaps together. You would vary the resolution and/or antialiasing depending on the degree of accuracy needed. (For example, typefaces such as Times New Roman don't exhibit perfect symmetry.)

Hope this helps! :)

Related Discussions

Related Forums