@Test
public void resolveHorizontalAndVerticalScaling() throws IOException {

    t.getCSS().put("xfa-font-vertical-scale", "75pt");
    assertEquals(1, c.getHorizontalScaling(), 0);
    t.getCSS().put("xfa-font-horizontal-scale", "75%");
    c = applier.apply(c, t);
    assertEquals(0.75f, c.getHorizontalScaling(), 0);
    t.getCSS().put("xfa-font-vertical-scale", "75%");
    c = applier.apply(c, t);
    assertEquals(9, c.getFont().getSize(), 0);
    assertEquals(100 / 75f, c.getHorizontalScaling(), 0);
}