FLIP command for textbox: Textstring outside textbox frame

Description

This issue is a edge-case from #14159 (closed). The Flip-command still produces bad results for textboxes which possess an uneven angle prior to flipping.

Steps to reproduce

  1. open attached project, open board: textbox_flipping.zip
  2. select textbox on F.silkscreen (see picture 1)
  3. set orientation to 12° (see picture 2+3)
  4. "F" to FLIP textbox to bottom silkscreen:
  5. observe disturbed result (see picture 4)

flipping_to_backside_03

KiCad Version

Application: KiCad PCB Editor x64 on x64

Version: 7.99.0-1228-g50da4e483e, release build

Libraries:
	wxWidgets 3.2.2
	FreeType 2.12.1
	HarfBuzz 6.0.0
	FontConfig 2.14.1

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

	wxWidgets: 3.2.2 (wchar_t,wx containers)
	Boost: 1.81.0
	OCC: 7.6.3
	Curl: 7.88.1-DEV
	ngspice: 40
	Compiler: Visual C++ 1936 without C++ ABI

Build settings: