명시 적 텍스트 경로가 필요하지 않습니다. Firefox 3은 수직 정렬 태그 (see this thread)만을 부분적으로 지원합니다. 또한 지배적 인 기준선은 스타일로 적용될 때만 작동하며 텍스트 앵커는 스타일 또는 태그 속성의 일부가 될 수 있습니다.
<path d="M10, 20 L17, 20"
style="fill:none; color:black; stroke:black; stroke-width:1.00"/>
<text fill="black" font-family="sans-serif" font-size="16"
x="27" y="20" style="dominant-baseline: central;">
Vertical
</text>
<path d="M60, 40 L60, 47"
style="fill:none; color:red; stroke:red; stroke-width:1.00"/>
<text fill="red" font-family="sans-serif" font-size="16"
x="60" y="70" style="text-anchor: middle;">
Horizontal
</text>
<path d="M60, 90 L60, 97"
style="fill:none; color:blue; stroke:blue; stroke-width:1.00"/>
<text fill="blue" font-family="sans-serif" font-size="16"
x="60" y="97" style="text-anchor: middle; dominant-baseline: hanging;">
Bit of Both
</text>
이것은 Firefox에서 작동합니다. 불행하게도 Inkscape는 지배적 인 기준선을 처리하지 못합니다 (적어도 동일한 방식으로 이루어지지는 않습니다).
나는 당신의 수평 가정에 오류가 있다고 생각합니다. http://www.w3.org/TR/SVG/text.html#TextAnchorProperty에 따르면'text-anchor '에 허용되는 값은'start | 중간 | 끝 | 상속하다. "왼쪽"과 "오른쪽"은 허용되지 않습니다. – Juve