Задать вопрос

Как сократить path у SVG?

У меня есть текстовый логотип, который нарисован с использованием
шрифта Gotham Pro. Чтобы буквы логотипа были вектором, а не текстом
со стилем font-family, я разобрал объект.

На выходе получилась большая каша из path.
Как мне сократить эти path?

Потому что я видел шрифтовые логотипы, которые содержали больше букв,
но у них был один только path.

Исходный код своего логотипа я приложил:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 154.53 40.49">
							<defs>
								<style>.a{fill:#fff;}.b{fill:#bbb;}</style>
							</defs>
							<title>Logo</title>
								<path class="a" d="M9,6.83a7,7,0,0,1,5.35,2.42,8.44,8.44,0,0,1,2.21,5.93,8.45,8.45,0,0,1-2.21,5.93A7,7,0,0,1,9,23.53a6,6,0,0,1-5-2.31v1.86H0V1H4V9.14A6,6,0,0,1,9,6.83ZM5.21,18.39a4.09,4.09,0,0,0,3.07,1.25,4.15,4.15,0,0,0,3.08-1.25,4.41,4.41,0,0,0,1.23-3.21A4.37,4.37,0,0,0,11.36,12a4.15,4.15,0,0,0-3.08-1.25A4.09,4.09,0,0,0,5.21,12,4.4,4.4,0,0,0,4,15.18,4.43,4.43,0,0,0,5.21,18.39Z"/>
								<path class="a" d="M33.39,21.11a7.91,7.91,0,0,1-5.83,2.42,7.82,7.82,0,0,1-5.81-2.42,8.17,8.17,0,0,1-2.38-5.93,8.15,8.15,0,0,1,2.38-5.93,7.82,7.82,0,0,1,5.81-2.42,7.91,7.91,0,0,1,5.83,2.42,8.12,8.12,0,0,1,2.38,5.93A8.13,8.13,0,0,1,33.39,21.11Zm-8.82-2.8a4,4,0,0,0,3,1.23,4.06,4.06,0,0,0,3-1.23,4.31,4.31,0,0,0,1.2-3.13,4.29,4.29,0,0,0-1.2-3.13,4.07,4.07,0,0,0-3-1.24,4,4,0,0,0-3,1.24,4.29,4.29,0,0,0-1.2,3.13A4.31,4.31,0,0,0,24.57,18.31Z"/>
								<path class="a" d="M48.39,6.83a7,7,0,0,1,5.35,2.42A8.48,8.48,0,0,1,56,15.18a8.5,8.5,0,0,1-2.21,5.93,7,7,0,0,1-5.35,2.42,6,6,0,0,1-5-2.31v1.86h-4V1h4V9.14A6,6,0,0,1,48.39,6.83ZM44.58,18.39a4.09,4.09,0,0,0,3.07,1.25,4.15,4.15,0,0,0,3.08-1.25A4.41,4.41,0,0,0,52,15.18,4.37,4.37,0,0,0,50.73,12a4.15,4.15,0,0,0-3.08-1.25A4.09,4.09,0,0,0,44.58,12a4.4,4.4,0,0,0-1.21,3.21A4.43,4.43,0,0,0,44.58,18.39Z"/>
								<path class="a" d="M59.55,23.08V0h4V23.08Z"/>
								<path class="a" d="M71.36,16.85c.54,2,2,3,4.37,3a4,4,0,0,0,3.47-1.59l3.23,1.9a7.64,7.64,0,0,1-6.76,3.39,8.26,8.26,0,0,1-6.17-2.38,8.17,8.17,0,0,1-2.32-6,8.26,8.26,0,0,1,2.29-6,7.81,7.81,0,0,1,5.89-2.39A7.34,7.34,0,0,1,81,9.23a8.48,8.48,0,0,1,2.21,5.95,10,10,0,0,1-.15,1.67Zm-.06-3.16h7.9a3.79,3.79,0,0,0-1.41-2.4,4,4,0,0,0-2.43-.79,4.18,4.18,0,0,0-2.67.84A4,4,0,0,0,71.3,13.69Z"/>
								<path class="a" d="M95.39,6.83a5.57,5.57,0,0,1,4.2,1.74,6.7,6.7,0,0,1,1.65,4.81v9.7h-4v-9.2a3.28,3.28,0,0,0-.84-2.42,3,3,0,0,0-2.23-.84,3.26,3.26,0,0,0-2.48,1,4.15,4.15,0,0,0-.93,2.94v8.54h-4V7.27h4V9A5.14,5.14,0,0,1,95.39,6.83Z"/>
								<path class="a" d="M119.72,23.08h-4.65l-5.64-7.18v7.18h-4V1h4V14.23l5.33-7h4.77l-6.23,7.81Z"/>
								<path class="a" d="M134.57,21.11a8.21,8.21,0,0,1-11.64,0,8.16,8.16,0,0,1-2.37-5.93,8.15,8.15,0,0,1,2.37-5.93,8.21,8.21,0,0,1,11.64,0A8.12,8.12,0,0,1,137,15.18,8.14,8.14,0,0,1,134.57,21.11Zm-8.82-2.8a4,4,0,0,0,3,1.23,4.06,4.06,0,0,0,3-1.23A4.32,4.32,0,0,0,133,15.18a4.3,4.3,0,0,0-1.21-3.13,4.07,4.07,0,0,0-3-1.24,4,4,0,0,0-3,1.24,4.28,4.28,0,0,0-1.19,3.13A4.3,4.3,0,0,0,125.75,18.31Z"/>
								<path class="a" d="M150.13,7.27h4.4l-5.89,15.81h-4.55L138.2,7.27h4.4l3.75,11.07Z"/>
								<path class="b" d="M0,40.35v-7H2.62a2.86,2.86,0,0,1,1.91.6,2,2,0,0,1,.71,1.64,2,2,0,0,1-.79,1.69,3.11,3.11,0,0,1-2,.6H.79v2.47Zm.79-3.19H2.52a2.1,2.1,0,0,0,1.39-.43,1.38,1.38,0,0,0,.53-1.13,1.35,1.35,0,0,0-.51-1.13,2.17,2.17,0,0,0-1.37-.39H.79Z"/>
								<path class="b" d="M6.83,40.35v-7h3a2.68,2.68,0,0,1,2,.7,1.9,1.9,0,0,1,.54,1.4,1.83,1.83,0,0,1-.52,1.36,2.58,2.58,0,0,1-1.38.68l2.15,2.86h-1l-2-2.72h-2v2.72Zm.79-3.43H9.77a2.05,2.05,0,0,0,1.3-.39,1.3,1.3,0,0,0,.5-1.07,1.23,1.23,0,0,0-.48-1,2.1,2.1,0,0,0-1.31-.36H7.62Z"/>
								<path class="b" d="M20,39.4a3.39,3.39,0,0,1-2.57,1.07,3.36,3.36,0,0,1-2.56-1.06,3.76,3.76,0,0,1,0-5.12,3.38,3.38,0,0,1,2.57-1.06A3.36,3.36,0,0,1,20,34.29a3.75,3.75,0,0,1,0,5.11Zm-4.53-.5a2.61,2.61,0,0,0,2,.84,2.54,2.54,0,0,0,2-.84,3.07,3.07,0,0,0,0-4.1,2.58,2.58,0,0,0-2-.84,2.6,2.6,0,0,0-2,.83,3,3,0,0,0-.77,2.06A2.9,2.9,0,0,0,15.5,38.9Z"/>
								<path class="b" d="M22.86,40.35v-7h2.43a3.73,3.73,0,0,1,2.68,1,3.54,3.54,0,0,1,0,5,3.71,3.71,0,0,1-2.68,1Zm.79-.73h1.64a2.86,2.86,0,0,0,2.11-.79,2.65,2.65,0,0,0,.79-2,2.69,2.69,0,0,0-.8-2,2.84,2.84,0,0,0-2.1-.79H23.65Z"/>
								<path class="b" d="M33.63,40.46a2.86,2.86,0,0,1-2.12-.8,3,3,0,0,1-.79-2.24V33.35h.79v4a2.51,2.51,0,0,0,.56,1.74,2.33,2.33,0,0,0,3.13,0,2.42,2.42,0,0,0,.56-1.72V33.35h.79v4a3.12,3.12,0,0,1-.79,2.3A2.88,2.88,0,0,1,33.63,40.46Z"/>
								<path class="b" d="M41.77,40.47a3.32,3.32,0,0,1-2.51-1,3.55,3.55,0,0,1-1-2.57,3.6,3.6,0,0,1,1-2.57,3.36,3.36,0,0,1,2.53-1.05,3.56,3.56,0,0,1,1.5.28,4.61,4.61,0,0,1,1.21.85l-.52.56a3.14,3.14,0,0,0-2.2-1,2.57,2.57,0,0,0-1.94.83,2.92,2.92,0,0,0-.77,2.06,2.88,2.88,0,0,0,.78,2,2.52,2.52,0,0,0,1.93.84,2.71,2.71,0,0,0,1.2-.25,4.29,4.29,0,0,0,1.06-.76l.52.55a4.4,4.4,0,0,1-1.24.89A3.68,3.68,0,0,1,41.77,40.47Z"/>
								<path class="b" d="M48,40.35V34.08H45.6v-.73h5.5v.73H48.75v6.27Z"/>
								<path class="b" d="M52.8,40.35v-7h.79v7Z"/>
								<path class="b" d="M61.61,39.4a3.62,3.62,0,0,1-5.13,0,3.76,3.76,0,0,1,0-5.12,3.63,3.63,0,0,1,5.13,0,3.75,3.75,0,0,1,0,5.11Zm-4.53-.5a2.61,2.61,0,0,0,2,.84,2.54,2.54,0,0,0,2-.84,3.07,3.07,0,0,0,0-4.1A2.58,2.58,0,0,0,59,34a2.6,2.6,0,0,0-2,.83,3,3,0,0,0-.77,2.06A2.9,2.9,0,0,0,57.08,38.9Z"/><path class="b" d="M64.44,40.35v-7h.74L69.59,39V33.35h.77v7h-.63l-4.52-5.74v5.74Z"/>
								<path class="b" d="M80.69,40.49l-1.1-1.13a3,3,0,0,1-2.29,1.09,2.27,2.27,0,0,1-1.58-.55,1.83,1.83,0,0,1-.62-1.43c0-.91.56-1.58,1.69-2a3.48,3.48,0,0,1-.54-.79,1.77,1.77,0,0,1-.16-.77,1.55,1.55,0,0,1,.51-1.18,1.9,1.9,0,0,1,1.34-.48,1.66,1.66,0,0,1,1.21.46,1.5,1.5,0,0,1,.49,1.14c0,.83-.55,1.43-1.65,1.82l1.6,1.63a8.67,8.67,0,0,0,.84-1.56l.65.3a9.83,9.83,0,0,1-1,1.76L81.29,40Zm-3.33-.71a2.37,2.37,0,0,0,1.75-.91l-1.87-1.93a2.48,2.48,0,0,0-1,.64,1.36,1.36,0,0,0-.33.88,1.23,1.23,0,0,0,.41.94A1.49,1.49,0,0,0,77.36,39.78Zm.19-3.58q1.35-.47,1.35-1.35a.94.94,0,0,0-.28-.7,1,1,0,0,0-.71-.27,1.08,1.08,0,0,0-.77.29,1,1,0,0,0-.29.74,1.17,1.17,0,0,0,.15.58A3.6,3.6,0,0,0,77.55,36.2Z"/>
								<path class="b" d="M89.1,40.47a3.32,3.32,0,0,1-2.51-1,3.55,3.55,0,0,1-1-2.57,3.6,3.6,0,0,1,1-2.57,3.36,3.36,0,0,1,2.53-1.05,3.56,3.56,0,0,1,1.5.28,4.61,4.61,0,0,1,1.21.85l-.52.56a3.14,3.14,0,0,0-2.2-1,2.57,2.57,0,0,0-1.94.83,2.92,2.92,0,0,0-.77,2.06,2.88,2.88,0,0,0,.78,2,2.52,2.52,0,0,0,1.93.84,2.71,2.71,0,0,0,1.2-.25,4.29,4.29,0,0,0,1.06-.76l.52.55a4.4,4.4,0,0,1-1.24.89A3.68,3.68,0,0,1,89.1,40.47Z"/>
								<path class="b" d="M99.05,39.4a3.62,3.62,0,0,1-5.13,0,3.76,3.76,0,0,1,0-5.12,3.63,3.63,0,0,1,5.13,0,3.75,3.75,0,0,1,0,5.11Zm-4.53-.5a2.61,2.61,0,0,0,2,.84,2.54,2.54,0,0,0,2-.84,3.07,3.07,0,0,0,0-4.1,2.58,2.58,0,0,0-2-.84,2.6,2.6,0,0,0-2,.83,3,3,0,0,0-.77,2.06A2.9,2.9,0,0,0,94.52,38.9Z"/><path class="b" d="M101.88,40.35v-7h.74L107,39V33.35h.77v7h-.63l-4.52-5.74v5.74Z"/>
								<path class="b" d="M112.33,40.45a4.15,4.15,0,0,1-2.86-1.12l.49-.58a4.06,4.06,0,0,0,1.12.75,3.28,3.28,0,0,0,1.28.24,1.75,1.75,0,0,0,1.13-.34,1,1,0,0,0,.43-.87,1,1,0,0,0-.38-.81,3.73,3.73,0,0,0-1.44-.52,4.25,4.25,0,0,1-1.8-.73,1.6,1.6,0,0,1-.55-1.31,1.72,1.72,0,0,1,.65-1.37,2.48,2.48,0,0,1,1.65-.54,3.82,3.82,0,0,1,2.46.86l-.46.61a3.1,3.1,0,0,0-2-.76,1.71,1.71,0,0,0-1.08.32,1,1,0,0,0-.41.83,1,1,0,0,0,.39.82,4.24,4.24,0,0,0,1.51.54,4,4,0,0,1,1.73.72,1.58,1.58,0,0,1,.55,1.28,1.74,1.74,0,0,1-.67,1.43A2.61,2.61,0,0,1,112.33,40.45Z"/>
								<path class="b" d="M119.28,40.46a2.86,2.86,0,0,1-2.12-.8,3,3,0,0,1-.79-2.24V33.35h.79v4a2.51,2.51,0,0,0,.56,1.74,2.33,2.33,0,0,0,3.13,0,2.42,2.42,0,0,0,.56-1.72V33.35h.79v4a3.12,3.12,0,0,1-.79,2.3A2.88,2.88,0,0,1,119.28,40.46Z"/>
								<path class="b" d="M124.22,40.35v-7H125v6.27H129v.73Z"/>
								<path class="b" d="M131.41,40.35V34.08h-2.35v-.73h5.5v.73h-2.35v6.27Z"/><path class="b" d="M136.26,40.35v-7h.79v7Z"/>
								<path class="b" d="M139.25,40.35v-7H140L144.4,39V33.35h.77v7h-.63L140,34.61v5.74Z"/>
								<path class="b" d="M150.55,40.47a3.39,3.39,0,0,1-2.59-1,3.85,3.85,0,0,1,0-5.13,3.29,3.29,0,0,1,2.52-1.07,3.73,3.73,0,0,1,2.61.93l-.51.6a3.19,3.19,0,0,0-2.13-.8,2.47,2.47,0,0,0-1.91.84,3.23,3.23,0,0,0,0,4.14,2.62,2.62,0,0,0,2,.82,3.1,3.1,0,0,0,2-.7V37.32h-2.13v-.71h2.89V39.4A4.11,4.11,0,0,1,150.55,40.47Z"/>
						</svg>
  • Вопрос задан
  • 353 просмотра
Подписаться 1 Простой 1 комментарий
Пригласить эксперта
Ответы на вопрос 1
@lagudal
После того как объект разобрали, делайте составной контур, получится один path.
Но он будет все равно большим, поскольку количество точек останется неизменным.
Ответ написан
Комментировать
Ваш ответ на вопрос

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

Похожие вопросы