Bug 195507 not support <font size="-2">
Build ID: 2.2.0 Steps To Reproduce: 1. create a text, input some html code, including <font size="-2"> 2. view as PDF result: error occurs Jul 5, 2007 5:38:50 PM org.eclipse.birt.report.engine.layout.pdf.util.HTMLStyleProcessor execute SEVERE: There is a invalid value for property SIZE of element FONT in the HTML. As far as I know, BIRT will calculate the font size in html and then convert to its own scale. I do not think it is good idea to be smart. Maybe I am wrong, I did not get the rationale behind it. But this SEVERE error should not be exposed. More information:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTMLStyleProcessor.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.engine.layout.pdf.util;
import java.net.URL;
import java.util.HashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.eclipse.birt.report.engine.css.dom.StyleDeclaration;
import org.eclipse.birt.report.engine.css.engine.BIRTCSSEngine;
import org.eclipse.birt.report.engine.css.engine.CSSEngine;
import org.eclipse.birt.report.engine.css.engine.StyleConstants;
import org.eclipse.birt.report.engine.css.engine.value.URIValue;
import org.eclipse.birt.report.engine.util.FileUtil;
import org.eclipse.birt.report.model.api.IResourceLocator;