How to use the ufonormalizer._normalizeGlifTransformation function in ufonormalizer

To help you get started, we’ve selected a few ufonormalizer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_invalid_value(self):
        element = ET.fromstring("")
        self.assertEqual(_normalizeGlifTransformation(element), {})
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_default(self):
        element = ET.fromstring("")
        self.assertEqual(_normalizeGlifTransformation(element), {})
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_unknown_attribute(self):
        element = ET.fromstring("")
        self.assertEqual(_normalizeGlifTransformation(element), {})
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_empty(self):
        element = ET.fromstring("")
        self.assertEqual(_normalizeGlifTransformation(element), {})
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_default(self):
        element = ET.fromstring("")
        self.assertEqual(_normalizeGlifTransformation(element), {})
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_non_default(self):
        element = ET.fromstring("")
        self.assertEqual(
            sorted(_normalizeGlifTransformation(element).items()),
            [('xOffset', 6.0), ('xScale', 2.0), ('xyScale', 3.0),
             ('yOffset', 7.0), ('yScale', 5.0), ('yxScale', 4.0)])
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_unknown_attribute(self):
        element = ET.fromstring("")
        self.assertEqual(_normalizeGlifTransformation(element), {})
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_non_default(self):
        element = ET.fromstring("")
        self.assertEqual(
            sorted(_normalizeGlifTransformation(element).items()),
            [('xOffset', 6.0), ('xScale', 2.0), ('xyScale', 3.0),
             ('yOffset', 7.0), ('yScale', 5.0), ('yxScale', 4.0)])
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_empty(self):
        element = ET.fromstring("")
        self.assertEqual(_normalizeGlifTransformation(element), {})
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_normalizeGlif_transformation_invalid_value(self):
        element = ET.fromstring("")
        self.assertEqual(_normalizeGlifTransformation(element), {})