fixed noncharacter bug
This commit is contained in:
parent
d94c8c3672
commit
74be67ac80
|
@ -143,7 +143,7 @@ translating_select_emit_rule_with_font(System_Functions *system, Render_Font *fo
|
|||
if (desc.prelim_emit_type == BufferModelUnit_Codepoint){
|
||||
u32 cp = utf8_to_u32_length_unchecked(tran->fill_buffer, &type_out->codepoint_length);
|
||||
if (type_out->codepoint_length != 0){
|
||||
if ((cp >= nonchar_min && cp <= nonchar_max) || ((cp & 0xFFFF) >= 0xFE)){
|
||||
if ((cp >= nonchar_min && cp <= nonchar_max) || ((cp & 0xFFFF) >= 0xFFFE)){
|
||||
type_out->emit_type = BufferModelUnit_Numbers;
|
||||
}
|
||||
else{
|
||||
|
|
Loading…
Reference in New Issue