def firstPartOfGlyphName(name):
	"""Returns the glyph name until the first dot."""
	dotPosition = name.find(".")
	if dotPosition != -1: # found a dot
		return name[:dotPosition]
	else: # no dot found
		return name