/**
Khalid
*/
package org.sikuli.slides.utils;
/**
 * This class converts between various units that OpenXML uses.
 * @author Khalid
 *
 */

public class UnitConverter {
	
	/**
	 * Converts from English Metric Units (EMUs) to pixels
	 * @param emu  Size in English Metric Unit (EMU)
	 * @return Size in pixels
	 * 
	 */
    public static int emuToPixels(int emu)
    {
        if (emu != 0)
        {
        	// assuming the shape is not a child, so we divide by 9525.
            return (int)Math.round((double)emu / 9525);
        }
        else
        {
            return 0;
        }
    }
}

@@ -590,10 +590,345 @@
 %7D%0A    %7D%0A
+    /**%0A     * converts from whole points to points. In drawing ML, Whole points are specified in increments of 100.%0A     * Use this to convert font size from whole points to regular points.%0A     * @param wholePoint%0A     * @return%0A     */%0A    public static double WholePointsToPoints(int wholePoint)%7B%0A    %09return wholePoint/100;%0A    %7D%0A
 %7D%0A

add convert font size