Edit:
It appears the default opacity is set to 0.0 in 23.40, so one must set the shadow opacity like so:
MyTextBlock.SetShadowOpacity(1.0)
Since 23.40, Shadows no longer appear in my text_block
. Here are the settings im using:
var MyTextBlock:text_block = text_block{
DefaultJustification := text_justification.Left,
DefaultTextColor := Colors.MakeColorFromSRGBValues(212, 211, 195),
DefaultShadowColor := Colors.MakeColorFromSRGBValues(0,0,0),
DefaultShadowOffset:= option { vector2{X:=1.5, Y:=1.5} }
}