Skip to content

Add 150 more SVG icons (April 2025 batch), and new artboard mappings#77

Merged
eirikbakke merged 1 commit intoapache:masterfrom
eirikbakke:pr-icons-apr25
May 20, 2025
Merged

Add 150 more SVG icons (April 2025 batch), and new artboard mappings#77
eirikbakke merged 1 commit intoapache:masterfrom
eirikbakke:pr-icons-apr25

Conversation

@eirikbakke
Copy link
Contributor

@eirikbakke eirikbakke commented Apr 15, 2025

This commit updates the Adobe Illustrator file that holds all of NetBeans' custom-drawn SVG icons, to include ~150 new icons that will be integrated into the main NetBeans repo in this separate PR.

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 an Illustrator script that was generated by IconTasks.java.

The following page, generated by IconTasks.java, shows all current mappings from old bitmap icons to new SVG icons after this PR:
https://people.csail.mit.edu/ebakke/misc/netbeans-icons-250415.html

Contents of the Illustrator file after this PR, in the "New Vector" layer:

image

Contents of the Illustrator file after this PR, in the "Old Bitmaps" layer (these are old PNG or GIF files that have at least been assigned an artboard name):

image

@eirikbakke eirikbakke force-pushed the pr-icons-apr25 branch 2 times, most recently from e377678 to 5d2b23a Compare April 15, 2025 05:21
eirikbakke added a commit to eirikbakke/incubator-netbeans that referenced this pull request Apr 15, 2025
Here is yet another batch of SVG icons for NetBeans. These icons were all drawn by myself, on top of 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).
@eirikbakke eirikbakke force-pushed the pr-icons-apr25 branch 2 times, most recently from c5f3c7e to 5d57242 Compare April 15, 2025 05:54
eirikbakke added a commit to eirikbakke/incubator-netbeans that referenced this pull request Apr 15, 2025
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).
eirikbakke added a commit to eirikbakke/incubator-netbeans that referenced this pull request Apr 15, 2025
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).
@eirikbakke eirikbakke requested a review from mbien April 16, 2025 12:49
@matthiasblaesing
Copy link
Contributor

I only had a quick look, but looked sane to me. I get a bad vibe when I see HTML/XML created by string concatenation, but this is for self consumption, so IMHO ok. Thanks for the work on the icons, these indeed give NetBeans a fresher look.

@eirikbakke
Copy link
Contributor Author

eirikbakke commented May 20, 2025

@matthiasblaesing Yes, this is much "rougher" code since it's only for use during development. There's still a fair bit of sanity checking done, e.g. to ensure artboard names don't contain special characters that could break things or require escaping.

I'll (squash and) merge this PR now that the companion PR apache/netbeans#8424 is merged and shipped.

@BradWalker
Copy link
Member

Nice work. Thanks!

@BradWalker BradWalker self-requested a review May 20, 2025 16:20
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.
@eirikbakke eirikbakke merged commit 5493b15 into apache:master May 20, 2025
@eirikbakke
Copy link
Contributor Author

Thanks, merged!

@JaroslavTulach
Copy link

Thanks for the work on the icons, these indeed give NetBeans a fresher look.

Yup. I enjoy the new look of NetBeans. Thanks!

@eirikbakke
Copy link
Contributor Author

@JaroslavTulach Thanks! The work of the original icon set creator Leos Tronicek lives on in these icons; I just traced them for the most part.

We also switched to a much lighter-weight SVG library in apache/netbeans#7941

MartinBalin pushed a commit to apache/netbeans-vscode that referenced this pull request Jun 17, 2025
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments