wrap.svg<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 15 15" width="150" height="150">
<foreignObject x="0" y="0" width="50" height="15">
<html xmlns="http://www.w3.org/1999/xhtml">
<style>
div {
background-color:white;
font-size: 14px;
font-weight: bold;
font-family: "Noto Sans Mono CJK JP Bold";
line-height: 1em;
width:100%;height:100%;
transform-origin: top left;
transform: scale(0.35, 1);
}
</style>
<div>
へえ〜
</div>
</html>
</foreignObject>
</svg>