diff --git a/examples.lua b/examples.lua index a7791ae..90cf86d 100755 --- a/examples.lua +++ b/examples.lua @@ -59,7 +59,7 @@ text_bitmap_0 = hexdraw.render_text("wð♥𐍈😀!🂐겫") print_bitmap(text_bitmap_0) print("---") -hexdraw.load_font_file("/usr/share/unifont/unifont.hex") +hexdraw.load_font_file("unifont.hex") hexdraw.load_font_file("unifont_upper.hex") text_bitmap_1 = hexdraw.render_text("wð♥𐍈😀!🂐겫") diff --git a/test.lua b/test.lua index 876358f..3c46918 100755 --- a/test.lua +++ b/test.lua @@ -10,7 +10,7 @@ font_1 = unicode_text.hexfont( } ) font_1:load_glyphs( - io.lines("/usr/share/unifont/unifont.hex") + io.lines("unifont.hex") ) font_1:load_glyphs( io.lines("U+FFFD.hex") @@ -35,7 +35,7 @@ font_2 = unicode_text.hexfont( } ) font_2:load_glyphs( - io.lines("/usr/share/unifont/unifont.hex") + io.lines("unifont.hex") ) font_2:load_glyphs( io.lines("unifont_upper.hex")