diff -uNrBbwp 0ad-0.0.25/source/tools/fontbuilder2/dumpfontchars.py 0ad-0.0.25-new/source/tools/fontbuilder2/dumpfontchars.py --- 0ad-0.0.25/source/tools/fontbuilder2/dumpfontchars.py 2022-06-23 17:33:15.000000000 +0000 +++ 0ad-0.0.25-new/source/tools/fontbuilder2/dumpfontchars.py 2022-06-23 17:41:29.628487472 +0000 @@ -6,7 +6,7 @@ import FontLoader def dump_font(ttf): - (face, indexes) = FontLoader.create_cairo_font_face_for_file("../../../binaries/data/tools/fontbuilder/fonts/%s" % ttf, 0, FontLoader.FT_LOAD_DEFAULT) + (face, indexes) = FontLoader.create_cairo_font_face_for_file(" /usr/share/fonts/ttf/dejavu/%s" % ttf, 0, FontLoader.FT_LOAD_DEFAULT) mappings = [ (c, indexes(chr(c))) for c in range(1, 65535) ] print(ttf, end=' ') diff -uNrBbwp 0ad-0.0.25/source/tools/fontbuilder2/fontbuilder.py 0ad-0.0.25-new/source/tools/fontbuilder2/fontbuilder.py --- 0ad-0.0.25/source/tools/fontbuilder2/fontbuilder.py 2022-06-23 17:33:15.000000000 +0000 +++ 0ad-0.0.25-new/source/tools/fontbuilder2/fontbuilder.py 2022-06-23 17:41:02.347097080 +0000 @@ -103,7 +103,7 @@ def generate_font(outname, ttfNames, loa faceList = [] indexList = [] for i in range(len(ttfNames)): - (face, indices) = FontLoader.create_cairo_font_face_for_file("../../../binaries/data/tools/fontbuilder/fonts/%s" % ttfNames[i], 0, loadopts) + (face, indices) = FontLoader.create_cairo_font_face_for_file(" /usr/share/fonts/ttf/dejavu/%s" % ttfNames[i], 0, loadopts) faceList.append(face) if not ttfNames[i] in dsizes: dsizes[ttfNames[i]] = 0