Add missing AGALMiniAssembler
Add TextLineMetrics support (cpp)
Remove some code duplication