Extend glyph generation from metrics view to support compact (custom) encodings.