The reason for this is that the absolute paths to the font files are
searched for and hardcoded into the binary at compile time, and if both
fonts-dejavu-core and ttf-dejavu-core are installed, the latter is used.
Since ttf-dejavu should be avoided if possible, the right fix is to
change crawl to build-depend on fonts-dejavu-core and build-conflict
with ttf-dejavu-core, and crawl-tiles to depend on fonts-dejavu-core only.
Here is a patch to do just that.
--- debian/control.old  2014-05-08 17:28:39.000000000 +0300
+++ debian/control      2014-07-06 11:51:32.489426237 +0300
@@ -6,7 +6,8 @@
 Standards-Version: 3.9.5
 Build-Depends: debhelper (>= 7), libncursesw5-dev, bison, flex, 
liblua5.1-0-dev,
        pkg-config, libsdl-image1.2-dev, libsdl1.2-dev, libsqlite3-dev,
-       libfreetype6-dev, advancecomp, libpng-dev
+       libfreetype6-dev, advancecomp, libpng-dev, fonts-dejavu-core
+Build-Conflicts: ttf-dejavu-core
 Homepage: http://crawl.develz.org/
 
 Package: crawl-common
@@ -54,7 +55,7 @@
 
 Package: crawl-tiles
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, crawl-common (= 
${source:Version}), crawl-tiles-data (= ${source:Version}), fonts-dejavu-core | 
ttf-dejavu
+Depends: ${shlibs:Depends}, ${misc:Depends}, crawl-common (= 
${source:Version}), crawl-tiles-data (= ${source:Version}), fonts-dejavu-core
 Description: Dungeon Crawl, a roguelike game, tiles version
  Crawl is a fun game in the grand tradition of games like Rogue, Hack, and
  Moria. Your objective is to travel deep into a subterranean cave complex and

Reply via email to