Re: [OpenJDK 2D-Dev] RFR: 8252199: Reimplement support of Type 1 fonts without MappedByteBuffer

2020-09-20 Thread Jayathirth D V
On Fri, 18 Sep 2020 20:23:25 GMT, Phil Race 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 >

Re: [OpenJDK 2D-Dev] RFR: 8252199: Reimplement support of Type 1 fonts without MappedByteBuffer

2020-09-18 Thread Sergey Bylokhov
On Fri, 18 Sep 2020 20:23:25 GMT, Phil Race 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 >

[OpenJDK 2D-Dev] RFR: 8252199: Reimplement support of Type 1 fonts without MappedByteBuffer

2020-09-18 Thread Phil Race
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.