Le 07/04/2017 à 02:03, Uwe Stöhr a écrit :
OK, what about this?:
Maybe more like:
// baselineskip is approx. 1.2 times the font size for the cmr fonts // The value actually depends on the current paragraph (see TextMetrics::setRowHeight), but we do not have this information here. result = val_ * em_width * 1.2 / 100;
JMarc