namespace lyx {
-class MetricsBase;
-
// Solaris/x86 version 9 and earlier define these
#undef PC
#undef SP
PLW, //< Percent of LineWidth
PTH, //< Percent of TextHeight // Herbert 2002-05-16
PPH, //< Percent of PaperHeight // Herbert 2002-05-16
+ BLS, //< Percent of BaselineSkip // uwestoehr 2017-04-01
UNIT_NONE ///< no unit
};
* FontMetrics::em() to get this value.
*/
int inPixels(int text_width, int em_width = 0) const;
- /** return the on-screen size of this length
- *
- * This version of the function uses the right EM definition.
- */
- int inPixels(MetricsBase const &) const;
+
/// return the value in Big Postscript points.
/// Caution: Inaccurate for em, ex, mu and percent units.
int inBP() const;