Почему svg шрифт перевернут?

Дано: файл SVG с элементом:
<path d="..." />


Переделал файл в формат SVG-шрифта:
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg">
    <defs>
        <font id="somefont" horiz-adv-x="1000">
            <font-face font-family="somefont" units-per-em="1000"/>
            <glyph unicode="a" d="..."/>
        </font>
    </defs>
</svg>


Аттрибут d не изменился, но шрифт получился зеркальным относительно оси x.
Почему так происходит и как это починить?
  • Вопрос задан
  • 3193 просмотра
Решения вопроса 1
KeepYourMind
@KeepYourMind Автор вопроса
Unlike standard graphics in SVG, where the initial coordinate system has the y-axis pointing downward (see The initial coordinate system), the design grid for SVG fonts, along with the initial coordinate system for the glyphs, has the y-axis pointing upward for consistency with accepted industry practice for many popular font formats.

www.w3.org/TR/SVG/fonts.html
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы