How to get minimal bounding box of each glyph?

Question:
I need to get the minimal axis-aligned bounding box (AABB) for each glyph?

The objective is to show a rectangle around each one?

Answer:
The attached code will add a rectangle annotation around each glyph, showing the minimal bounding box detected.

ElementReaderTest.cpp (3.41 KB)