mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-04-23 07:35:16 +02:00
Fix character wrap overflow and add Ș and Ț
This commit is contained in:
parent
501b11a81d
commit
bd2317e9ad
6 changed files with 6 additions and 4 deletions
|
@ -121,7 +121,7 @@ local function string_to_line_array(str)
|
|||
|
||||
str = string.gsub(str, "\r\n?", "\n")
|
||||
for _, code in utf8.codes(str) do
|
||||
if #lines > NUMBER_OF_LINES then break end
|
||||
if #lines >= NUMBER_OF_LINES then break end
|
||||
|
||||
if code == LF_CODEPOINT
|
||||
or code == SP_CODEPOINT and #line >= (LINE_LENGTH - 1) then
|
||||
|
@ -135,7 +135,7 @@ local function string_to_line_array(str)
|
|||
table.insert(line, code)
|
||||
end
|
||||
end
|
||||
if #line > 0 then table.insert(lines, line) end
|
||||
if #line > 0 and #lines < NUMBER_OF_LINES then table.insert(lines, line) end
|
||||
|
||||
return lines
|
||||
end
|
||||
|
|
|
@ -195,7 +195,7 @@ _ _un 3
|
|||
Ś _s_acute_ 5
|
||||
Š _s_caron_ 5
|
||||
Ş _s_cedille_ 5
|
||||
Ș _s_cedille_ 5
|
||||
Ș _s_comma_ 5
|
||||
Ť _t_caron_ 5
|
||||
Ź _z_acute_ 5
|
||||
Ž _z_caron_ 5
|
||||
|
@ -206,7 +206,7 @@ _ _un 3
|
|||
ś _s_acute 5
|
||||
š _s_caron 5
|
||||
ş _s_cedille 5
|
||||
ș _s_cedille 5
|
||||
ș _s_comma 5
|
||||
ť _t_caron 5
|
||||
ź _z_acute 5
|
||||
ž _z_caron 5
|
||||
|
@ -226,6 +226,7 @@ _ _un 3
|
|||
Ů _u_ring_ 6
|
||||
Ű _u_2acute_ 6
|
||||
Ţ _t_cedille_ 5
|
||||
Ț _t_comma_ 5
|
||||
ŕ _r_acute 5
|
||||
ă _a_breve 5
|
||||
ĺ _l_acute 5
|
||||
|
@ -241,6 +242,7 @@ _ _un 3
|
|||
ů _u_ring 5
|
||||
ű _u_2acute 5
|
||||
ţ _t_cedille 5
|
||||
ț _t_comma 5
|
||||
Ħ _h_stroke_ 6
|
||||
Ĥ _h_circumflex_ 6
|
||||
İ _i_overdot_ 3
|
||||
|
|
Can't render this file because it contains an unexpected character in line 515 and column 20.
|
BIN
textures/_s_comma.png
Normal file
BIN
textures/_s_comma.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 88 B |
BIN
textures/_s_comma_.png
Normal file
BIN
textures/_s_comma_.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 88 B |
BIN
textures/_t_comma.png
Normal file
BIN
textures/_t_comma.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 88 B |
BIN
textures/_t_comma_.png
Normal file
BIN
textures/_t_comma_.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 87 B |
Loading…
Add table
Reference in a new issue