Some cursors are very blurry on lower sizes fixed #74

This commit is contained in:
ful1e5 2021-11-27 15:14:48 +05:30
parent 8656ee0309
commit 5822682f69
5 changed files with 38 additions and 32 deletions

View file

@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- fixed text cursor state in `xterm` & `vertical-text` (increase border size) #67
- bitmapper `core` as node package
- macOSBigSur .svg files moved to `svgs/bigsur` directory
- Some cursors are very blurry on lower sizes fixed #74
## [v1.2.2] - 31 Oct 2021

View file

@ -1,18 +1,19 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d_496)">
<g filter="url(#filter0_d_496_23)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M170 86H113.906V30H86.0934V86H30V114H86.0934V170H113.906V114H170V86Z" fill="#0000FF"/>
<path d="M172.5 86V83.5H170H116.406V30V27.5H113.906H86.0934H83.5934V30V83.5H30H27.5V86V114V116.5H30H83.5934V170V172.5H86.0934H113.906H116.406V170V116.5H170H172.5V114V86Z" stroke="#0000FF" stroke-width="5"/>
</g>
<path fill-rule="evenodd" clip-rule="evenodd" d="M161 95.4016H104.606V39H95.3945V95.4016H39V104.599H95.3945V161H104.606V104.599H161V95.4016Z" fill="#00FF00"/>
<path d="M162.5 95.4016V93.9016H161H106.106V39V37.5H104.606H95.3945H93.8945V39V93.9016H39H37.5V95.4016V104.599V106.099H39H93.8945V161V162.5H95.3945H104.606H106.106V161V106.099H161H162.5V104.599V95.4016Z" fill="#00FF00" stroke="#00FF00" stroke-width="3"/>
<defs>
<filter id="filter0_d_496" x="12" y="22" width="170" height="170" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<filter id="filter0_d_496_23" x="7" y="17" width="180" height="180" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dx="-3" dy="7"/>
<feGaussianBlur stdDeviation="7.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_496"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_496" result="shape"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_496_23"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_496_23" result="shape"/>
</filter>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

View file

@ -1,20 +1,20 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d_40)">
<g filter="url(#filter0_d_40_537)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M115.675 158H82.325V42H115.675V158Z" fill="#00FF00"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M41 83.325H157V116.675H41V83.325Z" fill="#00FF00"/>
</g>
<path fill-rule="evenodd" clip-rule="evenodd" d="M106.975 149.3H91.0252V50.7H106.975V149.3Z" fill="#0000FF"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M49.7002 92.025H148.3V107.975H49.7002V92.025Z" fill="#0000FF"/>
<defs>
<filter id="filter0_d_40" x="23" y="34" width="146" height="146" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<filter id="filter0_d_40_537" x="23" y="34" width="146" height="146" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dx="-3" dy="7"/>
<feGaussianBlur stdDeviation="7.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_40"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_40" result="shape"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_40_537"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_40_537" result="shape"/>
</filter>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before After
Before After

View file

@ -1,19 +1,18 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d_40_848)">
<path d="M42.3317 72H34.0573C33.7308 77.4024 34.8025 82.798 37.1738 87.6908C39.545 92.5836 43.1398 96.8165 47.6274 100C43.1398 103.184 39.545 107.416 37.1738 112.309C34.8025 117.202 33.7308 122.598 34.0573 128H42.3317C40.9251 117.51 47.2964 107.343 57.5566 103.793H99.7561V111.862H108.031V103.793H142.452C152.712 107.424 159.001 117.51 157.677 128H165.951C166.25 122.61 165.174 117.231 162.82 112.345C160.467 107.459 156.909 103.218 152.464 100C156.909 96.7822 160.467 92.5409 162.82 87.6549C165.174 82.7689 166.25 77.3904 165.951 72H157.677C158.212 77.0432 157.005 82.1163 154.247 86.4141C151.488 90.7119 147.337 93.9883 142.452 95.7233H107.948V87.6542H99.6734V95.7233H57.6394C52.7304 94.0146 48.5525 90.7468 45.7764 86.4446C43.0004 82.1424 41.7873 77.0553 42.3317 72Z" fill="#0000FF"/>
<path d="M47.8001 72.589L48.4559 66.5H42.3317H34.0573H28.8797L28.5674 71.6682C28.1837 78.0166 29.4438 84.3521 32.2244 90.0895C34.0003 93.7538 36.3583 97.0959 39.1941 100C36.3583 102.904 34.0003 106.246 32.2244 109.91C29.4438 115.648 28.1837 121.983 28.5674 128.332L28.8797 133.5H34.0573H42.3317H48.6185L47.783 127.269C46.7715 119.727 51.1649 112.251 58.5449 109.293H94.2561V111.862V117.362H99.7561H108.031H113.531V111.862V109.293H141.444C148.834 112.315 153.176 119.737 152.22 127.311L151.439 133.5H157.677H165.951H171.156L171.443 128.304C171.793 121.981 170.53 115.677 167.775 109.958C166.005 106.283 163.655 102.925 160.827 100C163.655 97.0752 166.005 93.7174 167.775 90.0417C170.53 84.3225 171.793 78.0188 171.443 71.6962L171.156 66.5H165.951H157.677H151.562L152.208 72.5803C152.61 76.3694 151.705 80.1912 149.618 83.4435C147.684 86.4563 144.831 88.8293 141.44 90.2233H113.448V87.6542V82.1542H107.948H99.6734H94.1734V87.6542V90.2233H58.6327C55.2198 88.8484 52.345 86.4802 50.3979 83.4626C48.2995 80.2105 47.3915 76.3825 47.8001 72.589Z" stroke="#0000FF" stroke-width="11"/>
</g>
<path d="M42.3317 72H34.0573C33.7308 77.4024 34.8025 82.798 37.1738 87.6908C39.545 92.5836 43.1398 96.8165 47.6274 100C43.1398 103.184 39.545 107.416 37.1738 112.309C34.8025 117.202 33.7308 122.598 34.0573 128H42.3317C40.9251 117.51 47.2964 107.343 57.5566 103.793H99.7561V111.862H108.031V103.793H142.452C152.712 107.424 159.001 117.51 157.677 128H165.951C166.25 122.61 165.174 117.231 162.82 112.345C160.467 107.459 156.909 103.218 152.464 100C156.909 96.7822 160.467 92.5409 162.82 87.6549C165.174 82.7689 166.25 77.3904 165.951 72H157.677C158.212 77.0432 157.005 82.1163 154.247 86.4141C151.488 90.7119 147.337 93.9883 142.452 95.7233H107.948V87.6542H99.6734V95.7233H57.6394C52.7304 94.0146 48.5525 90.7468 45.7764 86.4446C43.0004 82.1424 41.7873 77.0553 42.3317 72Z" fill="#00FF00" stroke="#00FF00" stroke-width="2"/>
<defs>
<filter id="filter0_d_40_848" x="5" y="53" width="184" height="108" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dx="-3" dy="7"/>
<feGaussianBlur stdDeviation="7.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_40_848"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_40_848" result="shape"/>
</filter>
</defs>
<svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
<g filter="url(#filter0_d_40_848)">
<path d="M42.3317 72H34.0573C33.7308 77.4024 34.8025 82.798 37.1738 87.6908C39.545 92.5836 43.1398 96.8165 47.6274 100C43.1398 103.184 39.545 107.416 37.1738 112.309C34.8025 117.202 33.7308 122.598 34.0573 128H42.3317C40.9251 117.51 47.2964 107.343 57.5566 103.793H99.7561V111.862H108.031V103.793H142.452C152.712 107.424 159.001 117.51 157.677 128H165.951C166.25 122.61 165.174 117.231 162.82 112.345C160.467 107.459 156.909 103.218 152.464 100C156.909 96.7822 160.467 92.5409 162.82 87.6549C165.174 82.7689 166.25 77.3904 165.951 72H157.677C158.212 77.0432 157.005 82.1163 154.247 86.4141C151.488 90.7119 147.337 93.9883 142.452 95.7233H107.948V87.6542H99.6734V95.7233H57.6394C52.7304 94.0146 48.5525 90.7468 45.7764 86.4446C43.0004 82.1424 41.7873 77.0553 42.3317 72Z" fill="#0000FF"/>
<path d="M48.7944 72.6961L49.5694 65.5H42.3317H34.0573H27.9383L27.5692 71.6079C27.1751 78.1282 28.4695 84.6346 31.3245 90.5257C33.007 93.9973 35.198 97.1865 37.813 100C35.198 102.814 33.007 106.003 31.3245 109.474C28.4695 115.365 27.1751 121.872 27.5692 128.392L27.9383 134.5H34.0573H42.3317H49.7615L48.7741 127.136C47.8336 120.123 51.8779 113.134 58.7408 110.293H93.2561V111.862V118.362H99.7561H108.031H114.531V111.862V110.293H141.244C148.12 113.195 152.118 120.136 151.228 127.186L150.305 134.5H157.677H165.951H172.102L172.441 128.359C172.801 121.867 171.504 115.395 168.676 109.524C166.998 106.039 164.812 102.834 162.202 100C164.812 97.1663 166.998 93.9606 168.676 90.4756C171.504 84.605 172.801 78.1331 172.441 71.641L172.102 65.5H165.951H157.677H150.451L151.213 72.6859C151.591 76.2468 150.741 79.8412 148.776 82.9034C146.989 85.6875 144.365 87.8968 141.239 89.2233H114.448V87.6542V81.1542H107.948H99.6734H93.1734V87.6542V89.2233H58.8295C55.6827 87.9146 53.0378 85.7094 51.2381 82.9204C49.2629 79.8593 48.4105 76.2602 48.7944 72.6961Z" stroke="#0000FF" stroke-width="13"/>
</g>
<path d="M42.3317 72H34.0573C33.7308 77.4024 34.8025 82.798 37.1738 87.6908C39.545 92.5836 43.1398 96.8165 47.6274 100C43.1398 103.184 39.545 107.416 37.1738 112.309C34.8025 117.202 33.7308 122.598 34.0573 128H42.3317C40.9251 117.51 47.2964 107.343 57.5566 103.793H99.7561V111.862H108.031V103.793H142.452C152.712 107.424 159.001 117.51 157.677 128H165.951C166.25 122.61 165.174 117.231 162.82 112.345C160.467 107.459 156.909 103.218 152.464 100C156.909 96.7822 160.467 92.5409 162.82 87.6549C165.174 82.7689 166.25 77.3904 165.951 72H157.677C158.212 77.0432 157.005 82.1163 154.247 86.4141C151.488 90.7119 147.337 93.9883 142.452 95.7233H107.948V87.6542H99.6734V95.7233H57.6394C52.7304 94.0146 48.5525 90.7468 45.7764 86.4446C43.0004 82.1424 41.7873 77.0553 42.3317 72Z" fill="#00FF00" stroke="#00FF00" stroke-width="3"/>
<defs>
<filter id="filter0_d_40_848" x="3" y="51" width="188" height="112" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dx="-3" dy="7"/>
<feGaussianBlur stdDeviation="7.5"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_40_848"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_40_848" result="shape"/>
</filter>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before After
Before After

View file

@ -1,12 +1,14 @@
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200" fill="none">
<g filter="url(#filter0_d_495_34)">
<path d="M128 42.3317V34.0573C122.598 33.7308 117.202 34.8025 112.309 37.1738C107.416 39.545 103.184 43.1398 100 47.6274C96.8165 43.1398 92.5836 39.545 87.6908 37.1738C82.7981 34.8025 77.4024 33.7308 72 34.0573V42.3317C82.4899 40.9251 92.6571 47.2964 96.2075 57.5566V99.7561H88.1383V108.031H96.2075V142.452C92.5764 152.712 82.4899 159.001 72 157.677V165.951C77.3904 166.25 82.7689 165.174 87.6549 162.82C92.5409 160.467 96.7822 156.909 100 152.464C103.218 156.909 107.459 160.467 112.345 162.82C117.231 165.174 122.61 166.25 128 165.951V157.677C122.957 158.212 117.884 157.005 113.586 154.247C109.288 151.488 106.012 147.337 104.277 142.452V107.948H112.346V99.6734H104.277V57.6394C105.985 52.7304 109.253 48.5525 113.555 45.7764C117.858 43.0004 122.945 41.7873 128 42.3317Z" fill="#0000FF"/>
<path d="M127.411 47.8001L133.5 48.4559V42.3317V34.0573V28.8797L128.332 28.5674C121.983 28.1837 115.648 29.4438 109.91 32.2244C106.246 34.0003 102.904 36.3583 100 39.1941C97.0959 36.3583 93.7538 34.0003 90.0895 32.2244C84.3521 29.4438 78.0166 28.1837 71.6682 28.5674L66.5 28.8797V34.0573V42.3317V48.6185L72.731 47.783C80.2735 46.7715 87.7486 51.1649 90.7075 58.5449V94.2561H88.1383H82.6383V99.7561V108.031V113.531H88.1383H90.7075V141.444C87.6848 148.834 80.2627 153.176 72.6887 152.22L66.5 151.439V157.677V165.951V171.156L71.6962 171.443C78.0188 171.793 84.3225 170.53 90.0417 167.775C93.7174 166.005 97.0752 163.655 100 160.827C102.925 163.655 106.283 166.005 109.958 167.775C115.677 170.53 121.981 171.793 128.304 171.443L133.5 171.156V165.951V157.677V151.562L127.42 152.208C123.631 152.61 119.809 151.705 116.557 149.618C113.544 147.684 111.171 144.831 109.777 141.44V113.448H112.346H117.846V107.948V99.6734V94.1734H112.346H109.777V58.6327C111.152 55.2198 113.52 52.345 116.537 50.3979C119.789 48.2995 123.617 47.3915 127.411 47.8001Z" stroke="#0000FF" stroke-width="11"/>
<g clip-path="url(#clip0_495_34)">
<g filter="url(#filter0_d_495_34)">
<path d="M128 42.3317V34.0573C122.598 33.7308 117.202 34.8025 112.309 37.1738C107.416 39.545 103.184 43.1398 100 47.6274C96.8165 43.1398 92.5836 39.545 87.6908 37.1738C82.7981 34.8025 77.4024 33.7308 72 34.0573V42.3317C82.4899 40.9251 92.6571 47.2964 96.2075 57.5566V99.7561H88.1383V108.031H96.2075V142.452C92.5764 152.712 82.4899 159.001 72 157.677V165.951C77.3904 166.25 82.7689 165.174 87.6549 162.82C92.5409 160.467 96.7822 156.909 100 152.464C103.218 156.909 107.459 160.467 112.345 162.82C117.231 165.174 122.61 166.25 128 165.951V157.677C122.957 158.212 117.884 157.005 113.586 154.247C109.288 151.488 106.012 147.337 104.277 142.452V107.948H112.346V99.6734H104.277V57.6394C105.985 52.7304 109.253 48.5525 113.555 45.7764C117.858 43.0004 122.945 41.7873 128 42.3317Z" fill="#0000FF"/>
<path d="M127.304 48.7944L134.5 49.5694V42.3317V34.0573V27.9383L128.392 27.5692C121.872 27.1751 115.365 28.4695 109.474 31.3245C106.003 33.007 102.814 35.198 100 37.813C97.1864 35.198 93.9973 33.007 90.5257 31.3245C84.6346 28.4695 78.1282 27.1751 71.6079 27.5692L65.5 27.9383V34.0573V42.3317V49.7615L72.8639 48.7741C79.8771 47.8336 86.8658 51.8779 89.7075 58.7408V93.2561H88.1383H81.6383V99.7561V108.031V114.531H88.1383H89.7075V141.244C86.8052 148.12 79.8643 152.118 72.8139 151.228L65.5 150.305V157.677V165.951V172.102L71.641 172.441C78.1331 172.801 84.605 171.504 90.4756 168.676C93.9606 166.998 97.1663 164.812 100 162.202C102.834 164.812 106.039 166.998 109.524 168.676C115.395 171.504 121.867 172.801 128.359 172.441L134.5 172.102V165.951V157.677V150.451L127.314 151.213C123.753 151.591 120.159 150.741 117.097 148.776C114.313 146.989 112.103 144.365 110.777 141.239V114.448H112.346H118.846V107.948V99.6734V93.1734H112.346H110.777V58.8295C112.085 55.6827 114.291 53.0378 117.08 51.2381C120.141 49.2629 123.74 48.4105 127.304 48.7944Z" stroke="#0000FF" stroke-width="13"/>
</g>
<path d="M128 42.3317V34.0573C122.598 33.7308 117.202 34.8025 112.309 37.1738C107.416 39.545 103.184 43.1398 100 47.6274C96.8165 43.1398 92.5836 39.545 87.6908 37.1738C82.7981 34.8025 77.4024 33.7308 72 34.0573V42.3317C82.4899 40.9251 92.6571 47.2964 96.2075 57.5566V99.7561H88.1383V108.031H96.2075V142.452C92.5764 152.712 82.4899 159.001 72 157.677V165.951C77.3904 166.25 82.7689 165.174 87.6549 162.82C92.5409 160.467 96.7822 156.909 100 152.464C103.218 156.909 107.459 160.467 112.345 162.82C117.231 165.174 122.61 166.25 128 165.951V157.677C122.957 158.212 117.884 157.005 113.586 154.247C109.288 151.488 106.012 147.337 104.277 142.452V107.948H112.346V99.6734H104.277V57.6394C105.985 52.7304 109.253 48.5525 113.555 45.7764C117.858 43.0004 122.945 41.7873 128 42.3317Z" fill="#00FF00" stroke="#00FF00" stroke-width="3"/>
</g>
<path d="M128 42.3317V34.0573C122.598 33.7308 117.202 34.8025 112.309 37.1738C107.416 39.545 103.184 43.1398 100 47.6274C96.8165 43.1398 92.5836 39.545 87.6908 37.1738C82.7981 34.8025 77.4024 33.7308 72 34.0573V42.3317C82.4899 40.9251 92.6571 47.2964 96.2075 57.5566V99.7561H88.1383V108.031H96.2075V142.452C92.5764 152.712 82.4899 159.001 72 157.677V165.951C77.3904 166.25 82.7689 165.174 87.6549 162.82C92.5409 160.467 96.7822 156.909 100 152.464C103.218 156.909 107.459 160.467 112.345 162.82C117.231 165.174 122.61 166.25 128 165.951V157.677C122.957 158.212 117.884 157.005 113.586 154.247C109.288 151.488 106.012 147.337 104.277 142.452V107.948H112.346V99.6734H104.277V57.6394C105.985 52.7304 109.253 48.5525 113.555 45.7764C117.858 43.0004 122.945 41.7873 128 42.3317Z" fill="#00FF00" stroke="#00FF00" stroke-width="2"/>
<defs>
<filter id="filter0_d_495_34" x="43" y="15" width="108" height="184" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<filter id="filter0_d_495_34" x="41" y="13" width="112" height="188" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dx="-3" dy="7"/>
@ -15,5 +17,8 @@
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_495_34"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_495_34" result="shape"/>
</filter>
<clipPath id="clip0_495_34">
<rect width="200" height="200" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Before After
Before After