Php draw text on arc path

hi,

anyone have any code, links, pointers to getting php to draw text on a curved path? I have looked into imagick arc filter but it distorts the font into an arc, I need something where the text looks the same, but the baseline is an arc shape.