On Fri, 31 Jan 2025 12:37:04 GMT, Lukasz Kostyra <lkost...@openjdk.org> wrote:

> This is a cleanup follow-up, removing `FontFileWriter.FontTracker` and all 
> related uses. `FontTracker` was tracking font size use when SecurityManager 
> was present, however since we removed SM, `FontTracker` was no longer 
> activated and as such was dead code.
> 
> `FontFileWriter.FontTracker` and its use in `FontFileWriter` + related 
> methods were removed. This in turn cleaned up `PrismFontFile` and made a 
> couple of variables not longer used, including a `bool tracking` argument in 
> constructor. These cleanups propagated to `PrismFontFactory`, 
> `{CT,DW,FT}Factory` and `{CT,DW,FT}FontFile` classes.
> 
> Tests worked the same after this change.

This pull request has now been integrated.

Changeset: 8a5e488a
Author:    Lukasz Kostyra <lkost...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/8a5e488a5d76bd40a25488b1604d3f53e3d22be8
Stats:     218 lines in 9 files changed: 0 ins; 176 del; 42 mod

8349008: Remove temporary font file tracking code

Reviewed-by: angorya, kcr

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

PR: https://git.openjdk.org/jfx/pull/1693

Reply via email to