[ 
https://issues.apache.org/jira/browse/NETBEANS-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eirik Bakke reassigned NETBEANS-2604:
-------------------------------------

    Assignee: Eirik Bakke

> Support SVG icon loading from ImageUtilities
> --------------------------------------------
>
>                 Key: NETBEANS-2604
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2604
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: platform - Other
>    Affects Versions: 11.0
>         Environment: Windows, MacOS, and Linux.
>            Reporter: Eirik Bakke
>            Assignee: Eirik Bakke
>            Priority: Major
>              Labels: HiDPI
>
> Support SVG image loading from ImageUtilities, primarily for icons. This 
> would be implemented as a special subclass of javax.swing.Icon, rather than 
> through MultiResolutionImage. Eirik Bakke already has most of this code ready.
> Motivation: To look good on HiDPI/Retina displays, the NetBeans IDE, and 
> NetBeans Platform (RCP) applications, will eventually need to provide 
> high-resolution versions of various image asset (typically icons). Two 
> approaches are possible: (1) allow each icon to be supplied as multiple 
> bitmap (i.e. PNG) files, one for each resolution, or (2) allow each icon to 
> be supplied as a single SVG file. This issue deals with the latter approach. 
> (The multiple resolution approach is discussed in NETBEANS-1583 .)
> On Windows, arbitrary HiDPI scaling factors may be specified, such as 150%, 
> 175%, 200%, or 250%. Additionally, MultiResolutionImage does not work 
> properly on Windows due to https://bugs.openjdk.java.net/browse/JDK-8212226 . 
> Thus, I now consider the SVG approach to be the most feasible one.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to