1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00

original-source: Cleanup four svgs

[why]
The CI process produces a different font than running the
generate-original-source script locally.

Several thing have been checked, to no avail, see #1227.

Turned out the affected SVGs all are somehow ... questionable in their
construction.

[how]
Open SVGs in inkscape, select all (points) and generate new, clean
outline with Path->Union.
Save as optimized SVG.

The (CI) created font file now looks good.

But the cause is still unknown, maybe some sub-library that is used has
changed? I have no clue. Meaning it runs ok locally seems to be no
guarantee it will look the same when run by the CI :-(

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2023-05-11 17:23:00 +02:00 committed by Fini
parent 1d770c8ae0
commit 84d633de8f
4 changed files with 4 additions and 22 deletions

View File

@ -1,19 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="43" height="43" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="m32.1 10a5.12 5.12 0 0 0-3.59 1.39 0.49 0.49 0 0 0-0.0117 0.705l0.646 0.646a0.488 0.488 0 0 0 0.641 0.0469 2.92 2.92 0 0 1 1.76-0.588 2.95 2.95 0 0 1 2.94 2.95c0 0.815-0.331 1.55-0.863 2.09-4.08 4.09-9.52-7.37-21.9-1.47a1.68 1.68 0 0 0-0.732 2.36l2.12 3.67a1.67 1.67 0 0 0 2.27 0.625l0.0527-0.0312-0.043 0.0312 0.939-0.527s1.61-0.981 2.96-2.21a0.517 0.517 0 0 1 0.674-0.0215l0.00391 0.00195 0.00195 0.00195a0.486 0.486 0 0 1 0.0234 0.738 22.1 22.1 0 0 1-3.14 2.35l-0.0293 0.0176-0.941 0.527a2.69 2.69 0 0 1-3.63-1l-2-3.47c-3.84 2.72-6.18 7.97-4.92 14.6a0.49 0.49 0 0 0 0.48 0.398h2.28a0.489 0.489 0 0 0 0.484-0.428 3.34 3.34 0 0 1 3.31-2.92c1.7 0 3.1 1.27 3.31 2.92a0.49 0.49 0 0 0 0.484 0.428h2.22a0.488 0.488 0 0 0 0.484-0.428 3.34 3.34 0 0 1 3.31-2.92c1.7 0 3.1 1.27 3.31 2.92a0.489 0.489 0 0 0 0.484 0.428h2.19a0.489 0.489 0 0 0 0.488-0.482c0.052-3.1 0.886-6.67 3.27-8.46 8.24-6.18 6.07-11.5 4.17-13.4a5.12 5.12 0 0 0-3.54-1.51zm-5.44 9.06a0.987 0.987 0 0 1 0.584 1.78l-1.57-0.791v-0.00391c0-0.546 0.441-0.988 0.986-0.988z" fill="#02303a" fill-rule="evenodd"/></svg>
<svg
width="43"
height="43"
version="1.1"
id="svg1238"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1234">
<path
d="M27.22 20.842l-1.571-.791v-.004c0-.546.441-.988.986-.988a.987.987 0 01.584 1.783m8.404-9.334a5.124 5.124 0 00-7.137-.12.49.49 0 00-.011.705l.647.648a.488.488 0 00.639.046 2.921 2.921 0 011.762-.588 2.947 2.947 0 012.943 2.95c0 .815-.33 1.553-.862 2.087-4.075 4.088-9.518-7.367-21.864-1.474a1.68 1.68 0 00-.732 2.358l2.118 3.672a1.672 1.672 0 002.268.625l.053-.03-.042.03.939-.527s1.614-.98 2.957-2.212a.517.517 0 01.674-.021l.003.001.003.003a.486.486 0 01.022.738 22.053 22.053 0 01-3.137 2.352l-.031.018-.94.527a2.688 2.688 0 01-3.628-1l-2.003-3.465C6.42 21.553 4.088 26.799 5.34 33.435a.49.49 0 00.48.399h2.278a.489.489 0 00.484-.428 3.344 3.344 0 013.314-2.923c1.7 0 3.104 1.274 3.313 2.923a.49.49 0 00.485.428h2.221a.488.488 0 00.484-.428 3.345 3.345 0 013.314-2.923c1.7 0 3.104 1.274 3.314 2.923a.489.489 0 00.484.428h2.193a.489.489 0 00.488-.482c.052-3.105.885-6.67 3.265-8.455 8.238-6.181 6.07-11.478 4.166-13.389"
id="a" />
</defs>
<path
id="use1236"
style="fill:#02303a;fill-rule:evenodd"
d="M 32.078125 10 A 5.124 5.124 0 0 0 28.486328 11.388672 A 0.49 0.49 0 0 0 28.474609 12.09375 L 29.121094 12.740234 A 0.488 0.488 0 0 0 29.761719 12.787109 A 2.921 2.921 0 0 1 31.523438 12.199219 A 2.947 2.947 0 0 1 34.466797 15.148438 C 34.466797 15.963438 34.135516 16.702328 33.603516 17.236328 C 29.528516 21.324328 24.086234 9.8687187 11.740234 15.761719 A 1.68 1.68 0 0 0 11.007812 18.119141 L 13.126953 21.792969 A 1.672 1.672 0 0 0 15.394531 22.417969 L 15.447266 22.386719 L 15.404297 22.417969 L 16.34375 21.890625 C 16.34375 21.890625 17.957781 20.909734 19.300781 19.677734 A 0.517 0.517 0 0 1 19.974609 19.65625 L 19.978516 19.658203 L 19.980469 19.660156 A 0.486 0.486 0 0 1 20.003906 20.398438 A 22.053 22.053 0 0 1 16.865234 22.751953 L 16.835938 22.769531 L 15.894531 23.296875 A 2.688 2.688 0 0 1 12.267578 22.296875 L 10.263672 18.830078 C 6.4196719 21.552078 4.0878438 26.799547 5.3398438 33.435547 A 0.49 0.49 0 0 0 5.8203125 33.833984 L 8.0976562 33.833984 A 0.489 0.489 0 0 0 8.5820312 33.40625 A 3.344 3.344 0 0 1 11.896484 30.482422 C 13.596484 30.482422 14.999984 31.75725 15.208984 33.40625 A 0.49 0.49 0 0 0 15.693359 33.833984 L 17.914062 33.833984 A 0.488 0.488 0 0 0 18.398438 33.40625 A 3.345 3.345 0 0 1 21.712891 30.482422 C 23.412891 30.482422 24.817344 31.75725 25.027344 33.40625 A 0.489 0.489 0 0 0 25.511719 33.833984 L 27.703125 33.833984 A 0.489 0.489 0 0 0 28.191406 33.351562 C 28.243406 30.246563 29.077031 26.681484 31.457031 24.896484 C 39.695031 18.715484 37.527047 13.418813 35.623047 11.507812 A 5.124 5.124 0 0 0 32.078125 10 z M 26.634766 19.058594 A 0.987 0.987 0 0 1 27.21875 20.841797 L 25.648438 20.050781 L 25.648438 20.046875 C 25.648438 19.500875 26.089766 19.058594 26.634766 19.058594 z " />
</svg>

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -1 +1 @@
<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill="#00BFA5" d="M23.208 22.209l-9.76 2.812c-.299.086-.584-.165-.522-.458l3.487-16.27c.065-.304.497-.352.633-.07l6.456 13.356a.451.451 0 01-.294.63zm1.674-.663L17.407 6.08a1.2 1.2 0 00-1.023-.666 1.195 1.195 0 00-1.092.552L7.185 18.759a1.17 1.17 0 00.014 1.284l3.963 5.982c.236.357.645.563 1.07.563a1.3 1.3 0 00.362-.05l11.504-3.315c.352-.102.64-.345.791-.667.15-.322.148-.69-.007-1.01z" clip-rule="evenodd" fill-rule="evenodd"/></svg> <svg fill="none" version="1.1" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="m16.4 5.41a1.2 1.2 0 0 0-1.09 0.553l-8.11 12.8a1.17 1.17 0 0 0 0.0137 1.28l3.96 5.98c0.236 0.357 0.645 0.562 1.07 0.562a1.3 1.3 0 0 0 0.361-0.0508l11.5-3.31c0.352-0.102 0.64-0.344 0.791-0.666 0.15-0.322 0.149-0.69-0.00586-1.01l-7.48-15.5a1.2 1.2 0 0 0-1.02-0.666zm0.318 2.62c0.133-0.0148 0.276 0.0426 0.344 0.184l6.46 13.4a0.451 0.451 0 0 1-0.295 0.631l-9.76 2.81c-0.299 0.086-0.583-0.166-0.521-0.459l3.49-16.3c0.0325-0.152 0.158-0.239 0.291-0.254z" fill="#000"/></svg>

Before

Width:  |  Height:  |  Size: 514 B

After

Width:  |  Height:  |  Size: 565 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><path d="M14.482 9.308h2.399v1.46h-2.4zm5.266 3.157l-2.534-1.572c-.093-.096-.046-1.76-.046-1.76L19.7 7.708l.047 4.758zm-8.152-.048l2.55-1.572c.094-.096.046-1.76.046-1.76l-2.55-1.426-.046 4.758zm3.392.485c0-.36.285-.653.637-.653.352 0 .637.292.637.653a.645.645 0 01-.637.654.645.645 0 01-.637-.654zm0 3.99c0-.362.285-.655.637-.655.352 0 .637.293.637.654a.645.645 0 01-.637.654.645.645 0 01-.637-.654zm0 3.988c0-.361.285-.654.637-.654.352 0 .637.293.637.654a.645.645 0 01-.637.653.645.645 0 01-.637-.653zM25.226 9.75L22.46 7.203h-1.546l-.796 2.835-.047 3.028-.75-.433-3.466 13.12 8.854-12.976-1.218-1.441 1.734-1.586zM6.11 9.702l2.764-2.547h1.546l.796 2.835.047 3.028.75-.433 3.467 13.12-8.855-12.976 1.218-1.441L6.11 9.702zm5.786 3.1"/></svg> <svg width="32" height="32" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="m8.87 7.15-2.76 2.55 1.73 1.59-1.22 1.44 8.86 13-3.47-13.1-0.75 0.432-0.0469-3.03-0.797-2.84h-1.55zm12 0.0488-0.797 2.83-0.0469 3.03-0.75-0.434-3.46 13.1 8.85-13-1.22-1.44 1.73-1.59-2.76-2.55h-1.55zm-9.27 0.455-0.0469 4.76 2.55-1.57c0.094-0.096 0.0449-1.76 0.0449-1.76l-2.55-1.43zm8.06 0.0488-2.53 1.43s-0.0461 1.66 0.0469 1.76l2.53 1.57-0.0469-4.76zm0.0469 4.76v0.00391l0.00195-0.00195-0.00195-0.00195zm-5.26-3.15-0.00195 1.46h2.4v-1.46h-2.4zm1.14 2.94c-0.352 0-0.637 0.294-0.637 0.654a0.645 0.645 0 0 0 0.637 0.654 0.645 0.645 0 0 0 0.637-0.654c0-0.361-0.285-0.654-0.637-0.654zm0 3.99c-0.352 0-0.637 0.294-0.637 0.656a0.645 0.645 0 0 0 0.637 0.652 0.645 0.645 0 0 0 0.637-0.654c0-0.361-0.285-0.654-0.637-0.654zm0 3.99c-0.352 1e-6 -0.637 0.293-0.637 0.654a0.645 0.645 0 0 0 0.637 0.652 0.645 0.645 0 0 0 0.637-0.652c0-0.361-0.285-0.654-0.637-0.654z"/></svg>

Before

Width:  |  Height:  |  Size: 804 B

After

Width:  |  Height:  |  Size: 945 B

View File

@ -1 +1 @@
<svg viewBox="0 0 512 512"><path d="M252.245 87.27a2.687 2.687 0 00-1.285.276c-21.947 13.49-53.976 32.266-61.563 55.249-2.373 7.61-1.323 10.427-.029 16.561 2.146 7.381 6.63 17.058 11.62 25.1 3.234 5.208 13.882 18.953 14.685 18.953 14.75-9.362 30.539-20.182 42.413-31.898v-39.379c0-33.305-.35-39.883-2.254-42.6-.715-1.363-2.221-2.241-3.587-2.263zm-68.639 66.305c-.776.016-1.998 2.942-2.717 6.503-1.866 9.233-10.172 42.115-13.864 54.902-2.998 10.381-4.059 21.53-2.322 24.339 1.287 2.082 23.115 9.977 54.349 19.655 15.156 4.696 17.55 4.603 20.603-.761 4.651-8.172 5.375-6.754-23.805-46.602-23.032-31.454-26.088-36.773-29.22-50.842-.885-3.975-2.247-7.21-3.024-7.194zm159.185 9.645a28.373 28.373 0 00-3.745.198c-9.359 1.078-43.192 3.334-56.494 3.774-10.8.357-21.738 2.797-23.874 5.317-1.583 1.867-2.345 25.063-1.898 57.758.217 15.866 1.05 18.113 7.096 19.359 9.209 1.898 8.086 3.028 36.967-37.037 22.797-31.625 26.907-36.174 39.32-43.5 3.506-2.07 6.165-4.365 5.909-5.098-.16-.459-1.452-.732-3.281-.771zm15.326 2.945c-7.971.095-10.326 1.963-15.761 5.089-6.357 4.322-14.182 11.573-20.287 18.805-3.955 4.684-13.727 19.059-13.479 19.822 13.461 11.135 28.628 22.813 43.44 30.485l37.452-12.174c31.675-10.292 37.817-12.657 39.813-15.307 1.076-1.102 1.45-2.805 1.048-4.11a2.72 2.72 0 00-.662-1.137c-19.612-16.704-47.361-41.36-71.564-41.473zM86.727 215.74c-.737 0-1.304.085-1.8.237-1.517.26-2.818 1.426-3.26 2.718-.148.43-.207.87-.139 1.304 6.048 25.042 14.006 61.307 33.52 75.625 6.504 4.608 9.507 4.483 15.74 5.148 7.684.24 18.272-1.038 27.462-3.3 5.953-1.465 22.322-7.34 22.57-8.103-4.346-16.92-9.76-35.286-17.234-50.2l-37.452-12.164C99.41 218.323 90.7 215.75 86.726 215.741zm264.019 25.584c-4.43-.018-25.841 6.256-54.864 16.127-15.022 5.11-16.899 6.594-16.216 12.728 1.04 9.345-.377 8.62 46.652 23.706 37.122 11.908 42.717 14.422 53.52 23.963 3.052 2.696 6.051 4.512 6.67 4.042.618-.47-.11-3.555-1.621-6.858-3.918-8.567-16.53-40.056-21.058-52.57-3.677-10.161-9.365-19.797-12.421-21.05-.142-.057-.367-.087-.662-.088zm-117.978 37.62c-5.473-.013-16.236 3.62-44.092 12.786-37.032 12.186-43.036 13.445-57.383 12.076-4.055-.387-7.553-.091-7.777.652-.224.744 2.181 2.81 5.346 4.595 8.205 4.628 36.906 22.686 47.926 30.15 8.947 6.058 19.222 10.516 22.431 9.733 2.379-.58 16.63-18.9 35.486-45.614 9.15-12.963 9.8-15.272 5.642-19.833-2.573-2.823-3.835-4.536-7.58-4.545zm35.88 11.354c-1.126.034-2.3.43-3.705 1.067-8.567 3.877-8.318 2.302-8.133 51.691.146 38.985-.51 45.09-6.245 58.312-1.62 3.736-2.427 7.147-1.789 7.59.638.442 3.353-1.199 6.028-3.657 6.937-6.373 32.976-28.101 43.48-36.276 8.527-6.636 15.939-15.026 16.186-18.32.183-2.442-12.832-21.66-32.412-47.848-7.126-9.53-10.032-12.663-13.41-12.56zm62.74 10.089c-.052.01-.089.015-.11.029-6.43 16.243-12.843 34.285-15.563 50.743l23.143 31.858c19.576 26.944 23.732 32.054 26.868 33.134 1.38.682 3.112.508 4.23-.277a2.72 2.72 0 00.88-.978c9.826-23.814 24.702-57.83 17.332-80.882-2.554-7.552-5.062-9.217-9.714-13.42-6.075-4.71-15.386-9.897-24.151-13.468-5.5-2.242-21.34-6.882-22.916-6.74zm-106.14 48.5c-9.025.043-17.93.538-26.177 1.788l-23.153 31.859c-19.576 26.944-23.154 32.474-23.212 35.791-.222 1.524.479 3.113 1.571 3.933.364.274.773.465 1.206.534 25.685 1.986 62.628 5.625 82.275-8.508 6.393-4.763 7.204-7.667 9.763-13.39 2.603-7.233 4.658-17.696 5.346-27.135.446-6.115-.092-23.492-.74-23.964-8.718-.547-17.855-.952-26.88-.909z"/></svg> <svg version="1.1" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m252 87.3a2.69 2.69 0 0 0-1.28 0.277c-21.9 13.5-54 32.3-61.6 55.2-2.37 7.61-1.32 10.4-0.0293 16.6 2.15 7.38 6.63 17.1 11.6 25.1 3.23 5.21 13.9 19 14.7 19 14.8-9.36 30.5-20.2 42.4-31.9v-39.4c0-33.3-0.35-39.9-2.25-42.6-0.715-1.36-2.22-2.24-3.59-2.26zm-68.6 66.3c-0.776 0.016-2 2.94-2.72 6.5-1.87 9.23-10.2 42.1-13.9 54.9-3 10.4-4.06 21.5-2.32 24.3 1.29 2.08 23.1 9.98 54.3 19.7 15.2 4.7 17.5 4.6 20.6-0.762 4.65-8.17 5.38-6.75-23.8-46.6-23-31.5-26.1-36.8-29.2-50.8-0.885-3.98-2.25-7.21-3.03-7.2zm159 9.65a28.4 28.4 0 0 0-3.74 0.197c-9.36 1.08-43.2 3.33-56.5 3.77-10.8 0.357-21.7 2.8-23.9 5.32-1.58 1.87-2.35 25.1-1.9 57.8 0.217 15.9 1.05 18.1 7.1 19.4 9.21 1.9 8.09 3.03 37-37 22.8-31.6 26.9-36.2 39.3-43.5 3.51-2.07 6.17-4.37 5.91-5.1-0.16-0.459-1.45-0.731-3.28-0.77zm15.3 2.94c-7.97 0.095-10.3 1.96-15.8 5.09-6.36 4.32-14.2 11.6-20.3 18.8-3.96 4.68-13.7 19.1-13.5 19.8 13.5 11.1 28.6 22.8 43.4 30.5l37.5-12.2c31.7-10.3 37.8-12.7 39.8-15.3 1.08-1.1 1.45-2.8 1.05-4.11a2.72 2.72 0 0 0-0.662-1.14c-19.6-16.7-47.4-41.4-71.6-41.5zm-271 49.6c-0.737 0-1.3 0.0843-1.8 0.236-1.52 0.26-2.82 1.43-3.26 2.72-0.148 0.43-0.209 0.869-0.141 1.3 6.05 25 14 61.3 33.5 75.6 6.5 4.61 9.51 4.48 15.7 5.15 7.68 0.24 18.3-1.04 27.5-3.3 5.95-1.46 22.3-7.34 22.6-8.1-4.35-16.9-9.76-35.3-17.2-50.2l-37.5-12.2c-26.7-8.68-35.4-11.3-39.4-11.3zm264 25.6c-4.43-0.018-25.8 6.26-54.9 16.1-15 5.11-16.9 6.59-16.2 12.7 1.04 9.34-0.377 8.62 46.7 23.7 37.1 11.9 42.7 14.4 53.5 24 3.05 2.7 6.05 4.51 6.67 4.04 0.618-0.47-0.11-3.56-1.62-6.86-3.92-8.57-16.5-40.1-21.1-52.6-3.68-10.2-9.36-19.8-12.4-21.1-0.142-0.057-0.367-0.0869-0.662-0.0879zm-118 37.6c-5.47-0.013-16.2 3.62-44.1 12.8-37 12.2-43 13.4-57.4 12.1-4.06-0.387-7.55-0.0926-7.78 0.65-0.224 0.744 2.18 2.81 5.35 4.6 8.2 4.63 36.9 22.7 47.9 30.2 8.95 6.06 19.2 10.5 22.4 9.73 2.38-0.58 16.6-18.9 35.5-45.6 9.15-13 9.8-15.3 5.64-19.8-2.57-2.82-3.84-4.54-7.58-4.54zm35.9 11.4v0.00195c-1.13 0.034-2.3 0.429-3.71 1.07-8.57 3.88-8.32 2.3-8.13 51.7 0.146 39-0.511 45.1-6.25 58.3-1.62 3.74-2.43 7.15-1.79 7.59 0.638 0.442 3.35-1.2 6.03-3.66 6.94-6.37 33-28.1 43.5-36.3 8.53-6.64 15.9-15 16.2-18.3 0.183-2.44-12.8-21.7-32.4-47.8-7.13-9.53-10-12.7-13.4-12.6zm62.7 10.1c-0.0507 0.00968-0.0887 0.0155-0.109 0.0293-6.43 16.2-12.8 34.3-15.6 50.7l23.1 31.9c19.6 26.9 23.7 32.1 26.9 33.1 1.38 0.682 3.11 0.508 4.23-0.277a2.72 2.72 0 0 0 0.881-0.977c9.83-23.8 24.7-57.8 17.3-80.9-2.55-7.55-5.06-9.22-9.71-13.4-6.07-4.71-15.4-9.9-24.2-13.5-5.5-2.24-21.3-6.88-22.9-6.74h-0.00195zm-106 48.5c-9.02 0.0431-17.9 0.539-26.2 1.79l-23.2 31.9c-19.6 26.9-23.2 32.5-23.2 35.8-0.222 1.52 0.48 3.11 1.57 3.93 0.364 0.274 0.772 0.466 1.21 0.535 25.7 1.99 62.6 5.62 82.3-8.51 6.39-4.76 7.2-7.67 9.76-13.4 2.6-7.23 4.66-17.7 5.35-27.1 0.446-6.12-0.0922-23.5-0.74-24-8.72-0.547-17.9-0.951-26.9-0.908h-0.00196z"/></svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB