Backport: Fix --export-text-to-path nested <tspan> style, a couple fix strings not being translated
- a6196a5c Fix strings not being translated (cherry-picked from 37b7b983, MR: !3877 (merged) Issues: #2492 (closed) #2279 (closed) #809 (closed))
- 9ed2ae88 Fix --export-text-to-path nested style (Combination of !3374 (merged) and !3526 (merged) , Issue: #2602 (closed))
Fixes #2602 (closed)
Adds tests for regression from a cherry-picked commit, 8b602ec8 . SVG 1.1 text fallback must not introduce "font-size:medium" on tspans which have inherited (cascaded) font size.
(cherry picked from commit 8b602ec8)
(cherry picked from commit f4e7ceae)
(cherry picked from commit de15b9a9)
(cherry picked from commit 396f2bf1)
A bit nervous about this one, since we hit a regression, but we haven't had any other regressions so far. While testing, I noticed that twice nested tspans weren't converted to path correctly, but this was an issue before this commit too. Will report an issue later.
Update: doing a review, less nervous. Yeah this is more minor than the commit that caused a regression, might add another backport to this MR before pushing.