]> git.donarmstrong.com Git - lilypond.git/commitdiff
Remove Font_metric::get_ascii_char() and descendents.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 15 Mar 2010 04:18:47 +0000 (01:18 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 22 Mar 2010 12:56:28 +0000 (09:56 -0300)
lily/font-metric.cc
lily/include/modified-font-metric.hh
lily/modified-font-metric.cc

index 262d8a1559cd8ee8d8400c687f50bb3cd70e9ba8..db50ca67c26122ef92d91bb144608695989b38f1 100644 (file)
@@ -78,16 +78,10 @@ Font_metric::count () const
   return 0;
 }
 
-Box
-Font_metric::get_ascii_char (size_t) const
-{
-  return Box (Interval (0, 0), Interval (0, 0));
-}
-
 Box
 Font_metric::get_indexed_char (size_t k) const
 {
-  return get_ascii_char (k);
+  return Box (Interval (0, 0), Interval (0, 0));
 }
 
 size_t
index b72fcd4d9f64decd030e7bedfde3822718c67c7c..3383c92d81bdc9a607d4d6d3f26e943f114cd50a 100644 (file)
@@ -47,7 +47,6 @@ protected:
   void derived_mark () const;
   Box get_indexed_char (size_t) const;
   size_t index_to_ascii (size_t) const;
-  Box get_ascii_char (size_t) const;
 };
 
 #endif /* MODIFIED_FONT_METRIC_HH */
index 5ad26a3548ddeecddaa645377a745ac15fa5e7fc..d9104917627f3c7d4d43a309d1cc1d7e964b1439 100644 (file)
@@ -61,14 +61,6 @@ Modified_font_metric::get_indexed_char (vsize i) const
   return b;
 }
 
-Box
-Modified_font_metric::get_ascii_char (vsize i) const
-{
-  Box b = orig_->get_ascii_char (i);
-  b.scale (magnification_);
-  return b;
-}
-
 vsize
 Modified_font_metric::count () const
 {