fontQA_Names

This module contains tests for fontnames and other strings.

This module contains tests for fontnames and other strings.

class: fontNameTest(simpleTest)

Base class for Font-Name tests

Constructor

fontNameTest(TheName)
Parameter
TheName: (required)

class: strAttrTest(fontNameTest)

Base class for string-attribute tests

Constructor

strAttrTest(TheName)
Parameter
TheName: (required)

class: lead_trai_space(strAttrTest)

Stringattributes should not have leading or tailing spaces. This rule is taken from Adobes compare family test.

Constructor

lead_trai_space( )

class: double_space(strAttrTest)

Stringattributes should not have double spaces. This rule is taken from Adobes compare family test.

Constructor

double_space( )

class: hyphen_Name(fontNameTest)

Fontnames should not have multiple hyphens.

Constructor

hyphen_Name( )