-function signs_lib.set_obj_text(pos, text)
- local split = signs_lib.split_lines_and_words
- local text_ansi = Utf8ToAnsi(text)
- local n = minetest.registered_nodes[minetest.get_node(pos).name]
- signs_lib.delete_objects(pos)
- signs_lib.spawn_entity(pos, make_sign_texture(split(text_ansi), pos))
-end
-
-local function make_widefont_nodename(name)
- if string.find(name, "_widefont") then return name end
- if string.find(name, "_onpole") then
- if string.find(name, "_horiz") then
- return string.gsub(name, "_onpole_horiz", "_widefont_onpole_horiz")
- else
- return string.gsub(name, "_onpole", "_widefont_onpole")
- end
- elseif string.find(name, "_hanging") then
- return string.gsub(name, "_hanging", "_widefont_hanging")
- else
- return name.."_widefont"
- end
-end
-