[
https://issues.apache.org/jira/browse/NETBEANS-2604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eirik Bakke resolved NETBEANS-2604.
-----------------------------------
Fix Version/s: 11.3
Resolution: Fixed
PR merged today.
> 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, pull-request-available
> Fix For: 11.3
>
> Time Spent: 15h 10m
> Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists