public FontMetrics parse() throws IOException
    {
        return parseFontMetric(false);
    }
@Test
    void testHelveticaKernPairs() throws IOException
    {
        AFMParser parser = new AFMParser(
                new FileInputStream("src/test/resources/afm/Helvetica.afm"));
        FontMetrics fontMetrics = parser.parse();

        // KernPairs
        List<KernPair> kernPairs = fontMetrics.getKernPairs();
        assertEquals(2705, kernPairs.size());
        // check "KPX A Ucircumflex -50"
        checkKernPair(kernPairs, "A", "Ucircumflex", -50, 0);
        // check "KPX W agrave -40"
        checkKernPair(kernPairs, "W", "agrave", -40, 0);
        // KernPairs0
        assertTrue(fontMetrics.getKernPairs0().isEmpty());
        // KernPairs1
        assertTrue(fontMetrics.getKernPairs1().isEmpty());
        // composite data
        assertTrue(fontMetrics.getComposites().isEmpty());
    }