RFR: 8284288: Use SVG images for FocusSpec.html and Modality.html
Sergey Bylokhov
serb at openjdk.java.net
Wed Apr 6 05:21:06 UTC 2022
On Mon, 4 Apr 2022 11:17:16 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
> Both `FocusSpec.html` and `Modality.html` use GIF images for diagrams. The images look jagged, especially on High DPI screens which are common now. The images in `Modality.html` use dithered colours which don't look sharp even on regular displays.
>
> All the modern browsers support SVG which is a vector format and therefore it always looks sharp.
>
> You can view how the files look after being processed by javadoc:
>
> - **side-by-side** allows comparing the current and the new images:
> - [FocusSpec.html](http://cr.openjdk.java.net/~aivanov/8284288/side-by-side/api/java.desktop/java/awt/doc-files/FocusSpec.html)
> - [Modality.html](http://cr.openjdk.java.net/~aivanov/8284288/side-by-side/api/java.desktop/java/awt/doc-files/Modality.html)
> - **clean** is the final version:
> - [FocusSpec.html](http://cr.openjdk.java.net/~aivanov/8284288/clean/api/java.desktop/java/awt/doc-files/FocusSpec.html)
> - [Modality.html](http://cr.openjdk.java.net/~aivanov/8284288/clean/api/java.desktop/java/awt/doc-files/Modality.html)
Marked as reviewed by serb (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/8091
More information about the client-libs-dev
mailing list