termux-packages/disabled-packages/hiptext/font.cc.patch

12 lines
526 B
Diff
Raw Normal View History

2019-11-18 15:27:55 +01:00
--- hiptext-0.2/src/font.cc 2019-03-03 13:47:56.235315625 +0800
+++ hiptext-0.2_mod/src/font.cc 2019-03-03 13:56:39.610971934 +0800
@@ -11,7 +11,7 @@
#include "hiptext/graphic.h"
#include "hiptext/pixel.h"
-DEFINE_string(font, "DejaVuSansMono.ttf",
+DEFINE_string(font, "@TERMUX_PREFIX@/share/hiptext/DejaVuSansMono.ttf",
"The path to the font .ttf file to use.");
DEFINE_int32(font_index, 0, "Index of face to use inside font .ttf file.");
DEFINE_int32(font_size, 11, "The size of the font in points.");