    @Test
    public void testFloatSize() {

        float fontSize = 10.5f;
        PDColor red = new PDColor(new float[] {1.0f, 0.0f, 0.0f}, PDDeviceRGB.INSTANCE);
        PdfTextStyle config = new PdfTextStyle(fontSize, PdfFont.TIMES_ROMAN, red, "regular");

        Assert.assertEquals(fontSize, config.getFontSize(), delta);
    }