Integrated: 8349008: Remove temporary font file tracking code
Lukasz Kostyra
lkostyra at openjdk.org
Mon Feb 3 17:58:55 UTC 2025
On Fri, 31 Jan 2025 12:37:04 GMT, Lukasz Kostyra <lkostyra at 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 <lkostyra at 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
More information about the openjfx-dev
mailing list