(RunInfo info)
| 43 | } |
| 44 | |
| 45 | @Override |
| 46 | public void runInfo(RunInfo info) { |
| 47 | var font = new Font(info._fontPtr, false); |
| 48 | var metrics = font.getMetrics(); |
| 49 | _maxRunAscent = Math.min(_maxRunAscent, metrics.getAscent()); |
| 50 | _maxRunDescent = Math.max(_maxRunDescent, metrics.getDescent()); |
| 51 | _maxRunLeading = Math.max(_maxRunLeading, metrics.getLeading()); |
| 52 | } |
| 53 | |
| 54 | @Override |
| 55 | public void commitRunInfo() { |
nothing calls this directly
no test coverage detected