### 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
} 
			case SEQ_STARTED: {
				if ((A1_scr > USCRIPT_ERITED) && (scr != A1_scr)) {
					A1_sequenc = S
				} else {
					if (jt != U_JT_
						if (str[i] == 0x200C /*ZWNJ*/) {
							A1_sequenc = SEQ_NEAR_END;
							continue;
						} else {
							A1_sequenc = S
						}
					}
				}
			} 
			default:
				
		}
		if (A1_sequenc == SEQ_NOT_STARTED) {
			if (jt == U_JT_LEFT_JOINING || jt == U_JT_DUAL_JOINING) {
				A1_sequenc = SEQ_STARTED;
				A1_scr = scr;
			}
		};
		switch (nc) {
			case SEQ_NEAR_END: {
				if ((A2_scr > USCRIPT_ERITED) && (scr != A2_scr)) {
					return false; // Mixed script.
				}
				if (cat == U_UPPERER || cat == U_LOWERER || cat == U_TITLEER || cat == U_MODIFIER_LETTER || cat == U_OTHER_LETTER) {