optimize font metrics calculations (backport JDK-8189809 from JDK 10)
3 files changed