]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/font-metric.cc
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / lily / font-metric.cc
index 2f61d53f3fb821746b6a64e29b98d6a867b1cbdd..655d992123f4859cbc4d73cbdf430d22fbaafc4e 100644 (file)
@@ -188,7 +188,7 @@ Stencil
 Font_metric::text_stencil (string str) const
 {
   (void) str;
-  assert (false);
+  programming_error("Cannot get a text stencil from this font");
   return Stencil (Box (), SCM_EOL);
 }