[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: [OpenJDK 2D-Dev] RFR: 8252199: Reimplement support of Type 1 fonts without MappedByteBuffer
From:       Jayathirth D V <jdv () openjdk ! java ! net>
Date:       2020-09-20 13:30:33
Message-ID: FULu_7p2wZkZt20L6EcGX12T5OO4CwlZRnn1_pohMFM=.66f5c980-3c85-4b20-a949-dc6c2785cee9 () github ! com
[Download RAW message or body]

On Fri, 18 Sep 2020 20:23:25 GMT, Phil Race <prr@openjdk.org> wrote:

> I  changed it to read the file into a ByteBuffer to avoid the problem that we can't \
> control when NIO free's the mmaped buffer. This is a problem for leaking tmp Type1 \
> font files when using createFont and I thought maybe we could just change that \
> case, but Type 1 fonts are getting very rare. Neither Mac nor Windows ship them and \
> Mac at least does not support them at all, and current Linuxes seem to be almost \
> all TTF and OTF fonts. Also T1 fonts are small, so any minimal peformance benefit \
> is not worth it. There isn't a specific regression test. I verified this on Ubuntu \
> 20.04 which has at least a (very) few Type 1 fonts.

Marked as reviewed by jdv (Reviewer).

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic