Facing text in 3D graphics with full options

I’m seeking a refinement/extension of the excellent and very valuable solution appearing here.

That solution indeed allows you to place text anywhere in a 3D graphics and then rotate it (by Euler angles) so it faces any direction you like.

However… it has two important limitations for my application:

  • For some reason it does not handle subscripts and superscripts: they are lost and not rendered
  • The solution does not allow a background color, such as Background -> White. (I need this when I’m placing a label atop a black line and want to hide a short section of the line.)

In sum: I’m hoping to get a version of text3D that could work with Style, of the form:

text3D[Style[Subscript[x, o], Italic, 24, Background->Yellow],  {x-position, y-position, z-position},  EulerAngle1, EulerAngle2, EulerAngle3] 

Minor point: I think the Euler angles should be grouped into a List… but again, minor suggestion:

text3D[Style[Subscript[x, o], Italic, 24, Background->Yellow],  {x-position, y-position, z-position},  {EulerAngle1, EulerAngle2, EulerAngle3}]