_fontToGlyphMapTransformer = function( fontMaterial, materialProperty, value) {

	const texture = value ? value.texture : null;
	const unitRange = value ? value.unitRange : new external_three_namespaceObject.Vector2();

	if( fontMaterial[materialProperty] !== undefined ) {

		fontMaterial.glyphMap = texture;
		fontMaterial.unitRange = unitRange;
		return;
	}

	if( fontMaterial.userData && fontMaterial.userData.glyphMap ) {

		fontMaterial.userData.glyphMap.value = texture;
		fontMaterial.userData.unitRange.value = unitRange;

	}

}
Convert a fontVariant to a material glyphMap texture
@type {(fontMaterial:Material|ShaderMaterial, materialProperty:string, value:any) => void }
@private