When using drawTextInRect, the font parameter is ignored when suppling the function with a Rect.
gfx.drawTextInRect(info.title, detailRect.x, detailRect.y, detailRect.width, detailRect.height, nil, nil, kTextAlignment.center, myFont)
Result: the correct myFont is used
gfx.drawTextInRect(info.title, detailRect, nil, nil, kTextAlignment.center, myFont)
Result: the system font is used