How to oblique while keeping "correct" metrics

By correct metrics I mean like if I have a glyph that’s centered in upright, I want to it to be centered when obliquing it?


Slant or cursive around he half xHeight.