### Godot version

4.0 dev Beta 10

### System information

MacBook Pro M1 Max

### Issue description

After I imported font.ttf file and move it from one folder to another under ://res godot suddenly crashed, and it still crashes after restart.

### Steps to reproduce

Import some font.ttf file and try to move into different folder

### Minimal reproduction project

N/A
} else if (c == 0xfffc) {
			continue;
		} else if ((u_ispunct(c) && c != 0x005F) || is_underscore(c) || c == '\t' || is_whitespace(c)) {
			// A whitespace ends current word.
			if (word_length > 0) {
				line_end = i - 1;
				word_start = -1;
				word_length = 0;
			}
		} else if (breaks.has(i)) {
			// End current word, no space.
			if (word_length > 0) {
				line_end = i;
				word_start = i + 1;
				word_length = 0;
			}
			if (p_chars_per_line <= 0) {
				ret.push_back(line_start);
				);
				line_start = word_start;
				line_end = line_start;
			}
		} else {
			if (word_start == -1) {
				word_start = i;
				if (p_chars_per_line <= 0) {
					ret.push_back(line_start);
					);
					line_start = word_start;
					line_end = line_start;