[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] How to provide HDPI icons in yourplug-in

There are some ways to get over the "one colour" font icons. Examples:
http://stackicons.com/ (https://css-tricks.com/stackicons-icon-fonts/)
But, ok, this is a html/css hack, and it might be difficult to do that in Eclipse.

Anyway, if everybody think that this is not possible to have "flat" icons theme in Eclipse, there still are two ideas:
Â- having an equivalent of font awesome, in EPL, that would be a perfect companion to the Polarsys Font for RCP and web applications
Â- having a shared icon repo (Lars)




__________________________
Antoine THOMAS aka ttoine
Product Manager
Eclipse Foundation
antoine.thomas@xxxxxxxxxxx
+33663137906
@ttoine

On 22 September 2016 at 09:06, Sravan K Lakkimsetti <sravankumarl@xxxxxxxxxx> wrote:

When I am doing this work. I tried using SVG images instead of PNG images. The estimated footprint increase is about 70MB. whereas a set of @2x images increases the footprint by 4MB.

My approach was to load scaled up images at startup based on the scaling factor and use them through out the platform(as suggested by Stefan). From this we need a capability of reading SVG files and create image objects. When we did the research we found GTK(unix) and Cocoa(Mac) has this capability but not (Windows). On windows we use GDI+ library for graphics and this does not have this capability. We had to build this capability. This is where we had performance issues.


Thanks and Regards,
Sravan

Sravan Kumar Lakkimsetti
IBM India Pvt Ltd,
Embassy Golf Links Business Park, D Block,
Off Indiranagar-Kormangla Inner Ring Road,
Bangalore - 560071, India
Phone: 91-80-41776858

Inactive hide details for David Williams ---22-09-2016 06:31:31 AM---On 09/21/2016 08:20 PM, Stefan Xenos wrote: > What I propoDavid Williams ---22-09-2016 06:31:31 AM---On 09/21/2016 08:20 PM, Stefan Xenos wrote: > What I proposed would occur once, so it would slow dow

From: David Williams <david_williams@xxxxxxx>
To: Cross project issues <cross-project-issues-dev@eclipse.org>
Date: 22-09-16 06:31 AM
Subject: Re: [cross-project-issues-dev] How to provide HDPI icons in yourplug-in
Sent by: cross-project-issues-dev-bounces@xxxxxxxxxxx





On 09/21/2016 08:20 PM, Stefan Xenos wrote:
> What I proposed would occur once, so it would slow down *installation*
> time but not startup time. We could show a message along the lines of
> "installing icons" to make it clear to the user what's going on.
>
> Or do you have some reason to believe this would have some impact on
> startup time once the icons are installed?
>

I do not know a definitive answer, but found some hints. At first I was
thinking something similar and did some googling for "svg png
performance" and "does OS cache SVG" and a) did not find much about
icons, per se, but otherwise seemed to be a lot of out-of-date
information that I think is not always currently true ... most of it
browser and webpage focused but (that is, low signal to noise ratio) and
b) also found some bugs in Firefox's system that had titles such as "SVG
cache must be invalidated if System theme changes". That, and even
"scaling" seems like the kind of thing that might effect us. At that
point I decided "this is complicated" and didn't read further. :)
ÂHTH

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev





_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev