Say I have 65,000+ shapes (i.e. the CJK Unicode Characters as vector glyphs). I want to create a square for each of the characters and place each vector glyph within its square such that it is visually centered. Not technically centered, but visually centered. Optically centered (i.e. optical adjustment). Is there an "align to optical center vertically and horizontally" button in Illustrator? Or if not, how would I go about doing this? I assume it's a complicated algorithm that can be used to solve this problem, but I'm not sure if it's been implemented or done in Illustrator before.
Maybe it's an Illustrator plugin somewhere. If so, it would help to know how to do it there.