def stripSuffix(glyphName):
	"""strip away unnecessary suffixes from a glyph name"""
	if glyphName.find('.') != -1:
		baseName = glyphName.split('.')[0]
		if glyphName.find('.sc') != -1:
			baseName = '.'.join([baseName, 'sc'])
		return baseName
	else:
		return glyphName