Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-10-03 Thread Mickael Istria
Hi all, I'd like to add that in order to better "factorize" this effort, reducing effort and improving quality, it's also a good practice to reuse the PlatformUI or whatever upstream projects images rather than duplicating them. For example, if you're dealing with some error/warnings, instead

Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Antoine THOMAS
On 21 September 2016 at 18:15, Mickael Istria wrote: > On 09/21/2016 06:09 PM, Antoine THOMAS wrote: > > > But it's just a guess, I'm not aware of any actual experiment of theorical > metrics about the impact of displaying SVGs in Eclipse. > > Maybe we should ask modelling

Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Stefan Xenos
What if we bundled SVG files with Eclipse, then on first startup with a given resolution we lazily render them to PNGs with the appropriate detail. When Eclipse launches, it would use the .PNGs from the cache. It could take a really long time for the first launch, but subsequent restarts should

Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Mickael Istria
On 09/21/2016 06:09 PM, Antoine THOMAS wrote: Other questions: - Why render svg files in bitmap? - Why not use svg icons in platform? This way the icons are always beautiful, no matter the resolution of the screen it would mean that the IDE would have to "render" SVG to bitmaps at runtime

Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Matthias Sohn
+1, this would be great On Wed, Sep 21, 2016 at 3:11 PM, Torkild U. Resheim wrote: > +1 > > Having a shared repo with SVG icons and tools to generate bitmaps would be > awesome! I’ve been adjusting Eclipse Platform to my needs for generating > @2x icons and it’s a bit hard

Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Torkild U. Resheim
+1 Having a shared repo with SVG icons and tools to generate bitmaps would be awesome! I’ve been adjusting Eclipse Platform to my needs for generating @2x icons and it’s a bit hard as it is. I can only imagine how long it will take for all projects to generate @2x PNGs without such

Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Mikaël Barbero
> > This would require that the project reusing the "Project" and "J" icons > would render the SVG itself, however, but maybe the Platform team could > donate the highly useful org.eclipse.images.renderer plugin to CBI? That > way, you could even perform the SVG rendering during your build

Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Lars Vogel
+1 for Antoine proposal. We in Eclipse Platform collect all our icons in the eclipse.image repo but I think a shared icon repo would be nice. In our repo the folder location is designed to allow "copy and paste" the generated icons to our projects, which helps a lot for adapting icon changes.

Re: [cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Antoine THOMAS
Question: would it make sense to create a project for a set of vector icons like Font Awesome or Fondation Icon Fonts , that any project/package/plugin could use, and of course, improve? It could of course include

[cross-project-issues-dev] How to provide HDPI icons in your plug-in

2016-09-21 Thread Lars Vogel
Hi, the buildship project contact me about how to provide HDPI icons for there project. As I assume many projects have this question, I post here the related info. The general support in Platform is explained here: https://www.eclipse.org/eclipse/news/4.6/platform_isv.php#high-dpi-icons