Repository: godotengine/godot
File: scene/resources/font.cpp (C++)

Code before:
		}
	} else if (tokens.size() == 1 && tokens[0] == "height") {
		// Compatibility, BitmapFont.
		bmp_height = p_value;
		set_fixed_size(16);
		set_cache_descent(0, 16, bmp_height - bmp_ascent);
	} else if (tokens.size() == 1 && tokens[0] == "ascent") {
		// Compatibility, BitmapFont.
		bmp_ascent = p_value;
		set_fixed_size(16);
		set_cache_ascent(0, 16, bmp_ascent);
		set_cache_descent(0, 16, bmp_height - bmp_ascent);
	} else if (tokens.size() == 1 && tokens[0] == "fallback") {
		// Compatibility, BitmapFont.
		Ref<Font> f = p_value;
		if (f.is_valid()) {
			fallbacks.push_back(f);
			return true;
		}
		return false;
	}
#endif // DISABLE_DEPRECATED

	if (tokens.size() == 2 && tokens[0] == "language_support_override") {
		String lang_code = tokens[1];
		set_language_support_override(lang_code, p_value);
		return true;
	} else if (tokens.size() == 2 && tokens[0] == "script_support_override") {
		String script_code = tokens[1];
		set_script_support_override(script_code, p_value);
		return true;
	} else if (tokens.size() >= 3 && tokens[0] == "cache") {
		int cache_index = tokens[1].to_int();
		if (tokens.size() == 3 && tokens[2] == "variation_coordinates") {
			set_variation_coordinates(cache_index, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "embolden") {
			set_embolden(cache_index, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "face_index") {
			set_face_index(cache_index, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "transform") {
			set_transform(cache_index, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "spacing_top") {
			set_extra_spacing(cache_index, TextServer::SPACING_TOP, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "spacing_bottom") {
			set_extra_spacing(cache_index, TextServer::SPACING_BOTTOM, p_value);
			return true;

Review comment (suggestion):
```suggestion
		set_language_support_override(tokens[1], p_value);
```

Code after:
		}
	} else if (tokens.size() == 1 && tokens[0] == "height") {
		// Compatibility, BitmapFont.
		bmp_height = p_value;
		set_fixed_size(16);
		set_cache_descent(0, 16, bmp_height - bmp_ascent);
	} else if (tokens.size() == 1 && tokens[0] == "ascent") {
		// Compatibility, BitmapFont.
		bmp_ascent = p_value;
		set_fixed_size(16);
		set_cache_ascent(0, 16, bmp_ascent);
		set_cache_descent(0, 16, bmp_height - bmp_ascent);
	} else if (tokens.size() == 1 && tokens[0] == "fallback") {
		// Compatibility, BitmapFont.
		Ref<Font> f = p_value;
		if (f.is_valid()) {
			fallbacks.push_back(f);
			return true;
		}
		return false;
	}
#endif // DISABLE_DEPRECATED

	if (tokens.size() == 2 && tokens[0] == "language_support_override") {
		const String &lang_code = tokens[1];
		set_language_support_override(lang_code, p_value);
		return true;
	} else if (tokens.size() == 2 && tokens[0] == "script_support_override") {
		const String &script_code = tokens[1];
		set_script_support_override(script_code, p_value);
		return true;
	} else if (tokens.size() >= 3 && tokens[0] == "cache") {
		int cache_index = tokens[1].to_int();
		if (tokens.size() == 3 && tokens[2] == "variation_coordinates") {
			set_variation_coordinates(cache_index, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "embolden") {
			set_embolden(cache_index, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "face_index") {
			set_face_index(cache_index, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "transform") {
			set_transform(cache_index, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "spacing_top") {
			set_extra_spacing(cache_index, TextServer::SPACING_TOP, p_value);
			return true;
		} else if (tokens.size() == 3 && tokens[2] == "spacing_bottom") {
			set_extra_spacing(cache_index, TextServer::SPACING_BOTTOM, p_value);
			return true;