Bug 132097 Error show the DBCS String
BIRT Enablement Tests - Test Case 3: Preview a report in PDF Error show the DBCS String.(Simplified Chinese) Build: 20060309
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontSplitter.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.font;
import java.text.Bidi;
import org.eclipse.birt.report.engine.content.ITextContent;
import org.eclipse.birt.report.engine.layout.pdf.ISplitter;
import org.eclipse.birt.report.engine.layout.pdf.text.Chunk;
public class FontSplitter implements ISplitter
{
	private FontHandler fh = null;
	
	private int baseLevel = Bidi.DIRECTION_LEFT_TO_RIGHT;
	private int runDirection = Bidi.DIRECTION_DEFAULT_LEFT_TO_RIGHT;
	private int baseOffset = 0;
	private char[] chunkText = null;
	private int chunkStartPos = 0;
	private int currentPos = -1;
	private FontInfo lastFontInfo = null;
	
	private boolean encounteredReturn = false;
	
	public FontSplitter(Chunk inputChunk, ITextContent textContent)