-
Notifications
You must be signed in to change notification settings - Fork 915
Add 150 more SVG icons (April 2025 batch) #8424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Illustrator seems to generate slightly different SVG files every time I regenerate old icons, even for icons that are identical since the last time. I should probably make the IconTasks script smart enough to detect when the SVG renders to the exact same bitmap, so that icons that are effectively unmodified can be omitted from the patch. |
some of them had no modifications outside of added <description>Apache NetBeans Logo
</description>others had their content wrapped in <polygon class="st0" points="15 14 0 14 0 2 6 2 7.5 4 15 4 15 14"/>
<path class="st1" d="M7.5,4l-1.5-2H0v12h15V4h-7.5ZM1,3h4.5l1.125,1.5H1v-1.5ZM14,13H1V5h13v8Z"/>became <g>
<polygon class="st0" points="15 14 0 14 0 2 6 2 7.5 4 15 4 15 14"/>
<path class="st1" d="M7.5,4l-1.5-2H0v12h15V4h-7.5ZM1,3h4.5l1.125,1.5H1v-1.5ZM14,13H1V5h13v8Z"/>
</g>might have been a software update. (or the deluxe subscription ;)) |
Here is yet another batch of SVG icons for NetBeans. These icons were all drawn by myself, by tracing NetBeans' existing icons. This is a continuation of the effort to make NetBeans look good on HiDPI/Retina screens. The changes in this PR were all made by running the IconTasks script in the netbeans-tools repo; see the companion PR apache/netbeans-tools#77 there. The changes consist exclusively of copying in SVG files in appropriate locations (sometimes overwriting existing SVG files to make adjustments to them).
31b362c to
448b277
Compare
|
I force-pushed a revision which skips SVGs that render to the exact same pixels as before. That reduces the number of modified files from 1252 to 343. Also fixed some recent merge conflicts, and got rid of the stray "Apache NetBeans Logo" metadata element. The pixel-comparison code has been added to the IconTasks script in apache/netbeans-tools#77 |
awesome! was thinking to filter the patch somehow but this is better since it simplifies updates. Tested it and it looks really nice. (the smaller light bulbs are also back :)) Not sure if this can be merged for NB 26 since freeze was yesterday, but it would be worth including I think. cc @ebarboni |
|
merging for NB 26 |
|
@mbien Thanks! There's also the companion PR apache/netbeans-tools#77 (no rush with that one).
Yes! I also ended up making a "webService" icon that's separate from "globe", more resembling of the original icon in that case. In each of these cases the latest versions look more like the original. |
This commit updates the Adobe Illustrator file that holds all of NetBeans' custom-drawn SVG icons, to include ~150 new icons that were integrated into the main NetBeans repo in a separate PR (apache/netbeans#8424). See the latter PR for screenshots of the new icons. Various new mappings of PNG/GIF file paths to artboard names are also included, and new artboards, with original bitmap icons in a separate layer, were created in the Illustrator file for icons that need to be drawn in the future. New artboards were added in batch using a script that was generated by IconTasks.java. Some icons which contained externally source logos have been omitted from the SVG file output, as they probably need a different license header. I will handle these in a separate PR. Also: * Update icon hashes and mappings to match commit 3c852705 in the main NetBeans repo. Some images in the nbi and harness/libs.nbi.ant modules had been removed, causing merge conflicts in the generated changes for that repo. * Removed one stray artboard. * Improve the IconTasks script to avoid overwriting SVG files that render to an identical bitmap as the existing SVG file. This simplifies new icon PRs.
This commit updates the Adobe Illustrator file that holds all of NetBeans' custom-drawn SVG icons, to include ~150 new icons that were integrated into the main NetBeans repo in a separate PR (apache/netbeans#8424). See the latter PR for screenshots of the new icons. Various new mappings of PNG/GIF file paths to artboard names are also included, and new artboards, with original bitmap icons in a separate layer, were created in the Illustrator file for icons that need to be drawn in the future. New artboards were added in batch using a script that was generated by IconTasks.java. Some icons which contained externally source logos have been omitted from the SVG file output, as they probably need a different license header. I will handle these in a separate PR. Also: * Update icon hashes and mappings to match commit 3c852705 in the main NetBeans repo. Some images in the nbi and harness/libs.nbi.ant modules had been removed, causing merge conflicts in the generated changes for that repo. * Removed one stray artboard. * Improve the IconTasks script to avoid overwriting SVG files that render to an identical bitmap as the existing SVG file. This simplifies new icon PRs.
Here is yet another batch of SVG icons for NetBeans. These ~150 icons were all drawn by myself, based on NetBeans' existing GIF/PNG icons. This is a continuation of the effort to make NetBeans look good on HiDPI/Retina screens. Notably, this icon set includes all the icons in the toolbars that show up by default in a fresh NetBeans installation.
See this page for a graphical overview of all bitmap-to-SVG icon mappings:
https://people.csail.mit.edu/ebakke/misc/netbeans-icons-250415.html
(this is a hosted copy of the icons.html file that is generated by the IconTasks script in the netbeans-tools repo, see below)
The changes in this PR were made by running the IconTasks script in the netbeans-tools repo; see the companion PR apache/netbeans-tools#77 there. The changes consist exclusively of copying in SVG files in appropriate locations (sometimes overwriting existing SVG files to make adjustments to them), and updating the "icons.html" file.