On Wed, 2 Feb 2022 18:32:10 GMT, Phil Race <p...@openjdk.org> wrote:

> Serialization of Font objects is just serializing the fields liek name and 
> style and size but there's no guarantee that it will behave the same .. I 
> mean if I serialize Segoe UI on WIndows and try to deserialize it on Linux 
> nothing in the world can fix the issue that Linux doesn't have that font.

Since the Font object will lose some fields during serialization its behavior 
will be changed even on the same platform.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7313

Reply via email to