You are viewing a plain text version of this content. The canonical link for it is here.
Posted to doxia-commits@maven.apache.org by jv...@apache.org on 2007/03/17 15:48:01 UTC

svn commit: r519331 [1/4] - in /maven/doxia/trunk/doxia-modules/doxia-module-rtf: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/maven/ src/main/java/org/apache/maven/doxia/ src/main/java/org/apac...

Author: jvanzyl
Date: Sat Mar 17 07:47:59 2007
New Revision: 519331

URL: http://svn.apache.org/viewvc?view=rev&rev=519331
Log:
o separate RTF module

Added:
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/AlphaNumerals.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Font.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/FontMetrics.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Monospace.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBold.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBoldItalic.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceItalic.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/PBMReader.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RomanNumerals.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RtfSink.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/SansSerif.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/SansSerifBold.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/SansSerifBoldItalic.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/SansSerifItalic.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Serif.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/SerifBold.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/SerifBoldItalic.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/SerifItalic.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/WMFWriter.java   (with props)
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/makefile
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/java/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/java/org/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/java/org/apache/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/java/org/apache/maven/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/java/org/apache/maven/doxia/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/java/org/apache/maven/doxia/module/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/java/org/apache/maven/doxia/module/rtf/
    maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/test/java/org/apache/maven/doxia/module/rtf/RtfSinkTest.java   (with props)

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml Sat Mar 17 07:47:59 2007
@@ -0,0 +1,21 @@
+<?xml version="1.0"?><project>
+  <parent>
+    <artifactId>doxia-modules</artifactId>
+    <groupId>org.apache.maven.doxia</groupId>
+    <version>1.0-alpha-9-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.maven.doxia</groupId>
+  <artifactId>doxia-module-rtf</artifactId>
+  <name>doxia-module-rtf</name>
+  <version>1.0-SNAPSHOT</version>
+  <url>http://maven.apache.org</url>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/AlphaNumerals.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/AlphaNumerals.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/AlphaNumerals.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/AlphaNumerals.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,60 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+public class AlphaNumerals
+{
+    public static String toString( int n )
+    {
+        return toString( n, false );
+    }
+
+    public static String toString( int n, boolean lowerCase )
+    {
+        StringBuffer alpha = new StringBuffer();
+        char zeroLetter = lowerCase ? '`' : '@';
+
+        while ( n > 0 )
+        {
+            char letter = (char) ( zeroLetter + ( n % 27 ) );
+            if ( letter == zeroLetter )
+            {
+                letter = '0';
+            }
+            alpha.insert( 0, letter );
+
+            n /= 27;
+        }
+
+        return alpha.toString();
+    }
+
+    // -----------------------------------------------------------------------
+
+    public static void main( String[] args )
+        throws NumberFormatException
+    {
+        for ( int i = 0; i < args.length; ++i )
+        {
+            String arg = args[i];
+            System.out.println( arg + " = " + AlphaNumerals.toString( Integer.parseInt( arg ) ) );
+        }
+    }
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/AlphaNumerals.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/AlphaNumerals.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Font.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Font.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Font.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Font.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,107 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * A basic font descriptor using standard PostScript font metrics to compute
+ * text extents. All dimensions returned are in twips.
+ */
+public class Font
+{
+
+    private int style;
+
+    private int size;
+
+    private FontMetrics metrics;
+
+    public Font( int style, int size /*pts*/ )
+        throws Exception
+    {
+        this.style = style;
+        this.size = size;
+        metrics = FontMetrics.find( style );
+    }
+
+    public int ascent()
+    {
+        return toTwips( metrics.ascent );
+    }
+
+    public int descent()
+    {
+        return toTwips( metrics.descent );
+    }
+
+    public TextExtents textExtents( String text )
+    {
+        int i, n;
+        int width = 0;
+        int ascent = 0;
+        int descent = 0;
+
+        for ( i = 0, n = text.length(); i < n; ++i )
+        {
+            char c = text.charAt( i );
+            if ( c > 255 )
+            {
+                c = ' ';
+            }
+            FontMetrics.CharMetrics metrics = this.metrics.charMetrics[c];
+            width += metrics.wx;
+            if ( metrics.ury > ascent )
+            {
+                ascent = metrics.ury;
+            }
+            if ( metrics.lly < descent )
+            {
+                descent = metrics.lly;
+            }
+        }
+
+        int height = ascent + Math.abs( descent );
+
+        return new TextExtents( toTwips( width ), toTwips( height ), toTwips( ascent ) );
+    }
+
+    private int toTwips( int length )
+    {
+        return (int) Math.rint( (double) length * size / 50. );
+    }
+
+    static class TextExtents
+    {
+
+        int width;
+
+        int height;
+
+        int ascent;
+
+        TextExtents( int width, int height, int ascent )
+        {
+            this.width = width;
+            this.height = height;
+            this.ascent = ascent;
+        }
+
+    }
+
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Font.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Font.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/FontMetrics.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/FontMetrics.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/FontMetrics.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/FontMetrics.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,101 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+class FontMetrics
+{
+
+    boolean fixedPitch;
+
+    short ascent;
+
+    short descent;
+
+    CharMetrics bounds;
+
+    CharMetrics[] charMetrics;
+
+    FontMetrics( boolean fixedPitch, int ascent, int descent, CharMetrics bounds, CharMetrics[] metrics )
+    {
+        this.fixedPitch = fixedPitch;
+        this.ascent = (short) ascent;
+        this.descent = (short) descent;
+        this.bounds = bounds;
+        this.charMetrics = metrics;
+    }
+
+    static FontMetrics find( int style )
+        throws Exception
+    {
+        String s = FontMetrics.class.getName();
+        String packageName = s.substring( 0, s.lastIndexOf( '.' ) );
+
+        StringBuffer buf = new StringBuffer( packageName + "." );
+
+        switch ( style )
+        {
+            case RtfSink.STYLE_ROMAN:
+            default:
+                buf.append( "Serif" );
+                break;
+            case RtfSink.STYLE_ITALIC:
+                buf.append( "SerifItalic" );
+                break;
+            case RtfSink.STYLE_BOLD:
+                buf.append( "SerifBold" );
+                break;
+            case RtfSink.STYLE_TYPEWRITER:
+                buf.append( "Monospace" );
+                break;
+        }
+
+        String className = buf.toString();
+        Class classObject = Class.forName( className );
+        return (FontMetrics) classObject.newInstance();
+    }
+
+    static class CharMetrics
+    {
+
+        short wx;
+
+        short wy;
+
+        short llx;
+
+        short lly;
+
+        short urx;
+
+        short ury;
+
+        CharMetrics( int wx, int wy, int llx, int lly, int urx, int ury )
+        {
+            this.wx = (short) wx;
+            this.wy = (short) wy;
+            this.llx = (short) llx;
+            this.lly = (short) lly;
+            this.urx = (short) urx;
+            this.ury = (short) ury;
+        }
+
+    }
+
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/FontMetrics.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/FontMetrics.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Monospace.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Monospace.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Monospace.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Monospace.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,161 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+class Monospace
+    extends FontMetrics
+{
+
+    public static final CharMetrics[] metrics = {new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 236, -15, 364, 572 ), new CharMetrics( 600, 0, 187, 328, 413, 562 ),
+        new CharMetrics( 600, 0, 93, -32, 507, 639 ), new CharMetrics( 600, 0, 105, -126, 496, 662 ),
+        new CharMetrics( 600, 0, 81, -15, 518, 622 ), new CharMetrics( 600, 0, 63, -15, 538, 543 ),
+        new CharMetrics( 600, 0, 213, 328, 376, 562 ), new CharMetrics( 600, 0, 269, -108, 440, 622 ),
+        new CharMetrics( 600, 0, 160, -108, 331, 622 ), new CharMetrics( 600, 0, 116, 257, 484, 607 ),
+        new CharMetrics( 600, 0, 80, 44, 520, 470 ), new CharMetrics( 600, 0, 181, -112, 344, 122 ),
+        new CharMetrics( 600, 0, 103, 231, 497, 285 ), new CharMetrics( 600, 0, 229, -15, 371, 109 ),
+        new CharMetrics( 600, 0, 125, -80, 475, 629 ), new CharMetrics( 600, 0, 106, -15, 494, 622 ),
+        new CharMetrics( 600, 0, 96, 0, 505, 622 ), new CharMetrics( 600, 0, 70, 0, 471, 622 ),
+        new CharMetrics( 600, 0, 75, -15, 466, 622 ), new CharMetrics( 600, 0, 78, 0, 500, 622 ),
+        new CharMetrics( 600, 0, 92, -15, 497, 607 ), new CharMetrics( 600, 0, 111, -15, 497, 622 ),
+        new CharMetrics( 600, 0, 82, 0, 483, 607 ), new CharMetrics( 600, 0, 102, -15, 498, 622 ),
+        new CharMetrics( 600, 0, 96, -15, 489, 622 ), new CharMetrics( 600, 0, 229, -15, 371, 385 ),
+        new CharMetrics( 600, 0, 181, -112, 371, 385 ), new CharMetrics( 600, 0, 41, 42, 519, 472 ),
+        new CharMetrics( 600, 0, 80, 138, 520, 376 ), new CharMetrics( 600, 0, 66, 42, 544, 472 ),
+        new CharMetrics( 600, 0, 129, -15, 492, 572 ), new CharMetrics( 600, 0, 77, -15, 533, 622 ),
+        new CharMetrics( 600, 0, 3, 0, 597, 562 ), new CharMetrics( 600, 0, 43, 0, 559, 562 ),
+        new CharMetrics( 600, 0, 41, -18, 540, 580 ), new CharMetrics( 600, 0, 43, 0, 574, 562 ),
+        new CharMetrics( 600, 0, 53, 0, 550, 562 ), new CharMetrics( 600, 0, 53, 0, 545, 562 ),
+        new CharMetrics( 600, 0, 31, -18, 575, 580 ), new CharMetrics( 600, 0, 32, 0, 568, 562 ),
+        new CharMetrics( 600, 0, 96, 0, 504, 562 ), new CharMetrics( 600, 0, 34, -18, 566, 562 ),
+        new CharMetrics( 600, 0, 38, 0, 582, 562 ), new CharMetrics( 600, 0, 47, 0, 554, 562 ),
+        new CharMetrics( 600, 0, 4, 0, 596, 562 ), new CharMetrics( 600, 0, 7, -13, 593, 562 ),
+        new CharMetrics( 600, 0, 43, -18, 557, 580 ), new CharMetrics( 600, 0, 79, 0, 558, 562 ),
+        new CharMetrics( 600, 0, 43, -138, 557, 580 ), new CharMetrics( 600, 0, 38, 0, 588, 562 ),
+        new CharMetrics( 600, 0, 72, -20, 529, 580 ), new CharMetrics( 600, 0, 38, 0, 563, 562 ),
+        new CharMetrics( 600, 0, 17, -18, 583, 562 ), new CharMetrics( 600, 0, -4, -13, 604, 562 ),
+        new CharMetrics( 600, 0, -3, -13, 603, 562 ), new CharMetrics( 600, 0, 23, 0, 577, 562 ),
+        new CharMetrics( 600, 0, 24, 0, 576, 562 ), new CharMetrics( 600, 0, 86, 0, 514, 562 ),
+        new CharMetrics( 600, 0, 269, -108, 442, 622 ), new CharMetrics( 600, 0, 118, -80, 482, 629 ),
+        new CharMetrics( 600, 0, 158, -108, 331, 622 ), new CharMetrics( 600, 0, 94, 354, 506, 622 ),
+        new CharMetrics( 600, 0, 0, -125, 600, -75 ), new CharMetrics( 600, 0, 224, 328, 387, 562 ),
+        new CharMetrics( 600, 0, 53, -15, 559, 441 ), new CharMetrics( 600, 0, 14, -15, 575, 629 ),
+        new CharMetrics( 600, 0, 66, -15, 529, 441 ), new CharMetrics( 600, 0, 45, -15, 591, 629 ),
+        new CharMetrics( 600, 0, 66, -15, 548, 441 ), new CharMetrics( 600, 0, 114, 0, 531, 629 ),
+        new CharMetrics( 600, 0, 45, -157, 566, 441 ), new CharMetrics( 600, 0, 18, 0, 582, 629 ),
+        new CharMetrics( 600, 0, 95, 0, 505, 657 ), new CharMetrics( 600, 0, 82, -157, 410, 657 ),
+        new CharMetrics( 600, 0, 43, 0, 580, 629 ), new CharMetrics( 600, 0, 95, 0, 505, 629 ),
+        new CharMetrics( 600, 0, -5, 0, 605, 441 ), new CharMetrics( 600, 0, 26, 0, 575, 441 ),
+        new CharMetrics( 600, 0, 62, -15, 538, 441 ), new CharMetrics( 600, 0, 9, -157, 555, 441 ),
+        new CharMetrics( 600, 0, 45, -157, 591, 441 ), new CharMetrics( 600, 0, 60, 0, 559, 441 ),
+        new CharMetrics( 600, 0, 80, -15, 513, 441 ), new CharMetrics( 600, 0, 87, -15, 530, 561 ),
+        new CharMetrics( 600, 0, 21, -15, 562, 426 ), new CharMetrics( 600, 0, 10, -10, 590, 426 ),
+        new CharMetrics( 600, 0, -4, -10, 604, 426 ), new CharMetrics( 600, 0, 20, 0, 580, 426 ),
+        new CharMetrics( 600, 0, 7, -157, 592, 426 ), new CharMetrics( 600, 0, 99, 0, 502, 426 ),
+        new CharMetrics( 600, 0, 182, -108, 437, 622 ), new CharMetrics( 600, 0, 275, -250, 326, 750 ),
+        new CharMetrics( 600, 0, 163, -108, 418, 622 ), new CharMetrics( 600, 0, 63, 197, 540, 320 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 95, 0, 505, 426 ),
+        new CharMetrics( 600, 0, 151, 497, 378, 672 ), new CharMetrics( 600, 0, 242, 497, 469, 672 ),
+        new CharMetrics( 600, 0, 124, 477, 476, 654 ), new CharMetrics( 600, 0, 105, 489, 503, 606 ),
+        new CharMetrics( 600, 0, 120, 525, 480, 565 ), new CharMetrics( 600, 0, 153, 501, 447, 609 ),
+        new CharMetrics( 600, 0, 249, 477, 352, 580 ), new CharMetrics( 600, 0, 148, 492, 453, 595 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 218, 463, 382, 627 ),
+        new CharMetrics( 600, 0, 224, -151, 362, 10 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 133, 497, 540, 672 ), new CharMetrics( 600, 0, 227, -151, 370, 0 ),
+        new CharMetrics( 600, 0, 124, 492, 476, 669 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 236, -157, 364, 430 ), new CharMetrics( 600, 0, 96, -49, 500, 614 ),
+        new CharMetrics( 600, 0, 84, -21, 521, 611 ), new CharMetrics( 600, 0, 73, 58, 527, 506 ),
+        new CharMetrics( 600, 0, 26, 0, 574, 562 ), new CharMetrics( 600, 0, 275, -175, 326, 675 ),
+        new CharMetrics( 600, 0, 113, -78, 488, 580 ), new CharMetrics( 600, 0, 148, 492, 453, 595 ),
+        new CharMetrics( 600, 0, 0, -18, 600, 580 ), new CharMetrics( 600, 0, 156, 249, 442, 580 ),
+        new CharMetrics( 600, 0, 37, 70, 563, 446 ), new CharMetrics( 600, 0, 87, 108, 513, 369 ),
+        new CharMetrics( 600, 0, 103, 231, 497, 285 ), new CharMetrics( 600, 0, 0, -18, 600, 580 ),
+        new CharMetrics( 600, 0, 120, 525, 480, 565 ), new CharMetrics( 600, 0, 123, 269, 477, 622 ),
+        new CharMetrics( 600, 0, 87, 44, 513, 558 ), new CharMetrics( 600, 0, 177, 249, 424, 622 ),
+        new CharMetrics( 600, 0, 155, 240, 406, 622 ), new CharMetrics( 600, 0, 242, 497, 469, 672 ),
+        new CharMetrics( 600, 0, 21, -157, 562, 426 ), new CharMetrics( 600, 0, 50, -78, 511, 562 ),
+        new CharMetrics( 600, 0, 222, 189, 378, 327 ), new CharMetrics( 600, 0, 224, -151, 362, 10 ),
+        new CharMetrics( 600, 0, 172, 249, 428, 622 ), new CharMetrics( 600, 0, 157, 249, 443, 580 ),
+        new CharMetrics( 600, 0, 37, 70, 563, 446 ), new CharMetrics( 600, 0, 0, -57, 600, 665 ),
+        new CharMetrics( 600, 0, 0, -57, 611, 665 ), new CharMetrics( 600, 0, 8, -56, 593, 666 ),
+        new CharMetrics( 600, 0, 108, -157, 471, 430 ), new CharMetrics( 600, 0, 3, 0, 597, 793 ),
+        new CharMetrics( 600, 0, 3, 0, 597, 793 ), new CharMetrics( 600, 0, 3, 0, 597, 775 ),
+        new CharMetrics( 600, 0, 3, 0, 597, 732 ), new CharMetrics( 600, 0, 3, 0, 597, 731 ),
+        new CharMetrics( 600, 0, 3, 0, 597, 753 ), new CharMetrics( 600, 0, 3, 0, 550, 562 ),
+        new CharMetrics( 600, 0, 41, -151, 540, 580 ), new CharMetrics( 600, 0, 53, 0, 550, 793 ),
+        new CharMetrics( 600, 0, 53, 0, 550, 793 ), new CharMetrics( 600, 0, 53, 0, 550, 775 ),
+        new CharMetrics( 600, 0, 53, 0, 550, 731 ), new CharMetrics( 600, 0, 96, 0, 504, 793 ),
+        new CharMetrics( 600, 0, 96, 0, 504, 793 ), new CharMetrics( 600, 0, 96, 0, 504, 775 ),
+        new CharMetrics( 600, 0, 96, 0, 504, 731 ), new CharMetrics( 600, 0, 30, 0, 574, 562 ),
+        new CharMetrics( 600, 0, 7, -13, 593, 732 ), new CharMetrics( 600, 0, 43, -18, 557, 793 ),
+        new CharMetrics( 600, 0, 43, -18, 557, 793 ), new CharMetrics( 600, 0, 43, -18, 557, 775 ),
+        new CharMetrics( 600, 0, 43, -18, 557, 732 ), new CharMetrics( 600, 0, 43, -18, 557, 731 ),
+        new CharMetrics( 600, 0, 87, 43, 515, 470 ), new CharMetrics( 600, 0, 43, -80, 557, 629 ),
+        new CharMetrics( 600, 0, 17, -18, 583, 793 ), new CharMetrics( 600, 0, 17, -18, 583, 793 ),
+        new CharMetrics( 600, 0, 17, -18, 583, 775 ), new CharMetrics( 600, 0, 17, -18, 583, 731 ),
+        new CharMetrics( 600, 0, 24, 0, 576, 793 ), new CharMetrics( 600, 0, 79, 0, 538, 562 ),
+        new CharMetrics( 600, 0, 48, -15, 588, 629 ), new CharMetrics( 600, 0, 53, -15, 559, 672 ),
+        new CharMetrics( 600, 0, 53, -15, 559, 672 ), new CharMetrics( 600, 0, 53, -15, 559, 654 ),
+        new CharMetrics( 600, 0, 53, -15, 559, 606 ), new CharMetrics( 600, 0, 53, -15, 559, 595 ),
+        new CharMetrics( 600, 0, 53, -15, 559, 627 ), new CharMetrics( 600, 0, 19, -15, 570, 441 ),
+        new CharMetrics( 600, 0, 66, -151, 529, 441 ), new CharMetrics( 600, 0, 66, -15, 548, 672 ),
+        new CharMetrics( 600, 0, 66, -15, 548, 672 ), new CharMetrics( 600, 0, 66, -15, 548, 654 ),
+        new CharMetrics( 600, 0, 66, -15, 548, 595 ), new CharMetrics( 600, 0, 95, 0, 505, 672 ),
+        new CharMetrics( 600, 0, 95, 0, 505, 672 ), new CharMetrics( 600, 0, 94, 0, 505, 654 ),
+        new CharMetrics( 600, 0, 95, 0, 505, 595 ), new CharMetrics( 600, 0, 62, -15, 538, 629 ),
+        new CharMetrics( 600, 0, 26, 0, 575, 606 ), new CharMetrics( 600, 0, 62, -15, 538, 672 ),
+        new CharMetrics( 600, 0, 62, -15, 538, 672 ), new CharMetrics( 600, 0, 62, -15, 538, 654 ),
+        new CharMetrics( 600, 0, 62, -15, 538, 606 ), new CharMetrics( 600, 0, 62, -15, 538, 595 ),
+        new CharMetrics( 600, 0, 87, 48, 513, 467 ), new CharMetrics( 600, 0, 62, -80, 538, 506 ),
+        new CharMetrics( 600, 0, 21, -15, 562, 672 ), new CharMetrics( 600, 0, 21, -15, 562, 672 ),
+        new CharMetrics( 600, 0, 21, -15, 562, 654 ), new CharMetrics( 600, 0, 21, -15, 562, 595 ),
+        new CharMetrics( 600, 0, 7, -157, 592, 672 ), new CharMetrics( 600, 0, -6, -157, 555, 629 ),
+        new CharMetrics( 600, 0, 7, -157, 592, 595 )};
+
+    public Monospace()
+    {
+        super( true, 629, -157, new CharMetrics( 0, 0, -28, -250, 628, 805 ), metrics );
+    }
+
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Monospace.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/Monospace.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBold.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBold.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBold.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBold.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,161 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+class MonospaceBold
+    extends FontMetrics
+{
+
+    public static final CharMetrics[] metrics = {new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 202, -15, 398, 572 ), new CharMetrics( 600, 0, 135, 277, 465, 562 ),
+        new CharMetrics( 600, 0, 56, -45, 544, 651 ), new CharMetrics( 600, 0, 82, -126, 519, 666 ),
+        new CharMetrics( 600, 0, 5, -15, 595, 616 ), new CharMetrics( 600, 0, 36, -15, 546, 543 ),
+        new CharMetrics( 600, 0, 171, 277, 423, 562 ), new CharMetrics( 600, 0, 219, -102, 461, 616 ),
+        new CharMetrics( 600, 0, 139, -102, 381, 616 ), new CharMetrics( 600, 0, 91, 219, 509, 601 ),
+        new CharMetrics( 600, 0, 71, 39, 529, 478 ), new CharMetrics( 600, 0, 123, -111, 393, 174 ),
+        new CharMetrics( 600, 0, 100, 203, 500, 313 ), new CharMetrics( 600, 0, 192, -15, 408, 171 ),
+        new CharMetrics( 600, 0, 98, -77, 502, 626 ), new CharMetrics( 600, 0, 87, -15, 513, 616 ),
+        new CharMetrics( 600, 0, 81, 0, 539, 616 ), new CharMetrics( 600, 0, 61, 0, 499, 616 ),
+        new CharMetrics( 600, 0, 63, -15, 501, 616 ), new CharMetrics( 600, 0, 53, 0, 507, 616 ),
+        new CharMetrics( 600, 0, 70, -15, 521, 601 ), new CharMetrics( 600, 0, 90, -15, 521, 616 ),
+        new CharMetrics( 600, 0, 55, 0, 494, 601 ), new CharMetrics( 600, 0, 83, -15, 517, 616 ),
+        new CharMetrics( 600, 0, 79, -15, 510, 616 ), new CharMetrics( 600, 0, 191, -15, 407, 425 ),
+        new CharMetrics( 600, 0, 123, -111, 408, 425 ), new CharMetrics( 600, 0, 66, 15, 523, 501 ),
+        new CharMetrics( 600, 0, 71, 118, 529, 398 ), new CharMetrics( 600, 0, 77, 15, 534, 501 ),
+        new CharMetrics( 600, 0, 98, -14, 501, 580 ), new CharMetrics( 600, 0, 16, -15, 584, 616 ),
+        new CharMetrics( 600, 0, -9, 0, 609, 562 ), new CharMetrics( 600, 0, 30, 0, 573, 562 ),
+        new CharMetrics( 600, 0, 22, -18, 560, 580 ), new CharMetrics( 600, 0, 30, 0, 594, 562 ),
+        new CharMetrics( 600, 0, 25, 0, 560, 562 ), new CharMetrics( 600, 0, 39, 0, 570, 562 ),
+        new CharMetrics( 600, 0, 22, -18, 594, 580 ), new CharMetrics( 600, 0, 20, 0, 580, 562 ),
+        new CharMetrics( 600, 0, 77, 0, 523, 562 ), new CharMetrics( 600, 0, 37, -18, 601, 562 ),
+        new CharMetrics( 600, 0, 21, 0, 599, 562 ), new CharMetrics( 600, 0, 39, 0, 578, 562 ),
+        new CharMetrics( 600, 0, -2, 0, 602, 562 ), new CharMetrics( 600, 0, 8, -12, 610, 562 ),
+        new CharMetrics( 600, 0, 22, -18, 578, 580 ), new CharMetrics( 600, 0, 48, 0, 559, 562 ),
+        new CharMetrics( 600, 0, 32, -138, 578, 580 ), new CharMetrics( 600, 0, 24, 0, 599, 562 ),
+        new CharMetrics( 600, 0, 47, -22, 553, 582 ), new CharMetrics( 600, 0, 21, 0, 579, 562 ),
+        new CharMetrics( 600, 0, 4, -18, 596, 562 ), new CharMetrics( 600, 0, -13, 0, 613, 562 ),
+        new CharMetrics( 600, 0, -18, 0, 618, 562 ), new CharMetrics( 600, 0, 12, 0, 588, 562 ),
+        new CharMetrics( 600, 0, 12, 0, 589, 562 ), new CharMetrics( 600, 0, 62, 0, 539, 562 ),
+        new CharMetrics( 600, 0, 245, -102, 475, 616 ), new CharMetrics( 600, 0, 99, -77, 503, 626 ),
+        new CharMetrics( 600, 0, 125, -102, 355, 616 ), new CharMetrics( 600, 0, 108, 250, 492, 616 ),
+        new CharMetrics( 600, 0, 0, -125, 600, -75 ), new CharMetrics( 600, 0, 178, 277, 428, 562 ),
+        new CharMetrics( 600, 0, 35, -15, 570, 454 ), new CharMetrics( 600, 0, 0, -15, 584, 626 ),
+        new CharMetrics( 600, 0, 40, -15, 545, 459 ), new CharMetrics( 600, 0, 20, -15, 591, 626 ),
+        new CharMetrics( 600, 0, 40, -15, 563, 454 ), new CharMetrics( 600, 0, 83, 0, 547, 626 ),
+        new CharMetrics( 600, 0, 30, -146, 580, 454 ), new CharMetrics( 600, 0, 5, 0, 592, 626 ),
+        new CharMetrics( 600, 0, 77, 0, 523, 658 ), new CharMetrics( 600, 0, 63, -146, 440, 658 ),
+        new CharMetrics( 600, 0, 20, 0, 585, 626 ), new CharMetrics( 600, 0, 77, 0, 523, 626 ),
+        new CharMetrics( 600, 0, -22, 0, 626, 454 ), new CharMetrics( 600, 0, 18, 0, 592, 454 ),
+        new CharMetrics( 600, 0, 30, -15, 570, 454 ), new CharMetrics( 600, 0, -1, -142, 570, 454 ),
+        new CharMetrics( 600, 0, 20, -142, 591, 454 ), new CharMetrics( 600, 0, 47, 0, 580, 454 ),
+        new CharMetrics( 600, 0, 68, -17, 535, 459 ), new CharMetrics( 600, 0, 47, -15, 532, 562 ),
+        new CharMetrics( 600, 0, -1, -15, 569, 439 ), new CharMetrics( 600, 0, -1, 0, 601, 439 ),
+        new CharMetrics( 600, 0, -18, 0, 618, 439 ), new CharMetrics( 600, 0, 6, 0, 594, 439 ),
+        new CharMetrics( 600, 0, -4, -142, 601, 439 ), new CharMetrics( 600, 0, 81, 0, 520, 439 ),
+        new CharMetrics( 600, 0, 160, -102, 464, 616 ), new CharMetrics( 600, 0, 255, -250, 345, 750 ),
+        new CharMetrics( 600, 0, 136, -102, 440, 616 ), new CharMetrics( 600, 0, 71, 153, 530, 356 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 77, 0, 523, 439 ),
+        new CharMetrics( 600, 0, 132, 508, 395, 661 ), new CharMetrics( 600, 0, 205, 508, 468, 661 ),
+        new CharMetrics( 600, 0, 103, 483, 497, 657 ), new CharMetrics( 600, 0, 89, 493, 512, 636 ),
+        new CharMetrics( 600, 0, 88, 505, 512, 585 ), new CharMetrics( 600, 0, 83, 468, 517, 631 ),
+        new CharMetrics( 600, 0, 230, 485, 370, 625 ), new CharMetrics( 600, 0, 128, 485, 472, 625 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 198, 481, 402, 678 ),
+        new CharMetrics( 600, 0, 205, -206, 387, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 68, 488, 588, 661 ), new CharMetrics( 600, 0, 169, -199, 367, 0 ),
+        new CharMetrics( 600, 0, 103, 493, 497, 667 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 202, -146, 398, 449 ), new CharMetrics( 600, 0, 66, -49, 518, 614 ),
+        new CharMetrics( 600, 0, 72, -28, 558, 611 ), new CharMetrics( 600, 0, 54, 49, 546, 517 ),
+        new CharMetrics( 600, 0, 10, 0, 590, 562 ), new CharMetrics( 600, 0, 255, -175, 345, 675 ),
+        new CharMetrics( 600, 0, 83, -70, 517, 580 ), new CharMetrics( 600, 0, 128, 485, 472, 625 ),
+        new CharMetrics( 600, 0, 0, -18, 600, 580 ), new CharMetrics( 600, 0, 147, 196, 453, 580 ),
+        new CharMetrics( 600, 0, 8, 70, 553, 446 ), new CharMetrics( 600, 0, 71, 103, 529, 413 ),
+        new CharMetrics( 600, 0, 100, 203, 500, 313 ), new CharMetrics( 600, 0, 0, -18, 600, 580 ),
+        new CharMetrics( 600, 0, 88, 505, 512, 585 ), new CharMetrics( 600, 0, 86, 243, 474, 616 ),
+        new CharMetrics( 600, 0, 71, 24, 529, 515 ), new CharMetrics( 600, 0, 143, 230, 436, 616 ),
+        new CharMetrics( 600, 0, 138, 222, 433, 616 ), new CharMetrics( 600, 0, 205, 508, 468, 661 ),
+        new CharMetrics( 600, 0, -1, -142, 569, 439 ), new CharMetrics( 600, 0, 6, -70, 576, 580 ),
+        new CharMetrics( 600, 0, 196, 165, 404, 351 ), new CharMetrics( 600, 0, 205, -206, 387, 0 ),
+        new CharMetrics( 600, 0, 153, 230, 447, 616 ), new CharMetrics( 600, 0, 147, 196, 453, 580 ),
+        new CharMetrics( 600, 0, 47, 70, 592, 446 ), new CharMetrics( 600, 0, -56, -60, 656, 661 ),
+        new CharMetrics( 600, 0, -47, -60, 648, 661 ), new CharMetrics( 600, 0, -47, -60, 648, 661 ),
+        new CharMetrics( 600, 0, 99, -146, 502, 449 ), new CharMetrics( 600, 0, -9, 0, 609, 784 ),
+        new CharMetrics( 600, 0, -9, 0, 609, 784 ), new CharMetrics( 600, 0, -9, 0, 609, 780 ),
+        new CharMetrics( 600, 0, -9, 0, 609, 759 ), new CharMetrics( 600, 0, -9, 0, 609, 748 ),
+        new CharMetrics( 600, 0, -9, 0, 609, 801 ), new CharMetrics( 600, 0, -29, 0, 602, 562 ),
+        new CharMetrics( 600, 0, 22, -206, 560, 580 ), new CharMetrics( 600, 0, 25, 0, 560, 784 ),
+        new CharMetrics( 600, 0, 25, 0, 560, 784 ), new CharMetrics( 600, 0, 25, 0, 560, 780 ),
+        new CharMetrics( 600, 0, 25, 0, 560, 748 ), new CharMetrics( 600, 0, 77, 0, 523, 784 ),
+        new CharMetrics( 600, 0, 77, 0, 523, 784 ), new CharMetrics( 600, 0, 77, 0, 523, 780 ),
+        new CharMetrics( 600, 0, 77, 0, 523, 748 ), new CharMetrics( 600, 0, 30, 0, 594, 562 ),
+        new CharMetrics( 600, 0, 8, -12, 610, 759 ), new CharMetrics( 600, 0, 22, -18, 578, 784 ),
+        new CharMetrics( 600, 0, 22, -18, 578, 784 ), new CharMetrics( 600, 0, 22, -18, 578, 780 ),
+        new CharMetrics( 600, 0, 22, -18, 578, 759 ), new CharMetrics( 600, 0, 22, -18, 578, 748 ),
+        new CharMetrics( 600, 0, 81, 39, 520, 478 ), new CharMetrics( 600, 0, 22, -22, 578, 584 ),
+        new CharMetrics( 600, 0, 4, -18, 596, 784 ), new CharMetrics( 600, 0, 4, -18, 596, 784 ),
+        new CharMetrics( 600, 0, 4, -18, 596, 780 ), new CharMetrics( 600, 0, 4, -18, 596, 748 ),
+        new CharMetrics( 600, 0, 12, 0, 589, 784 ), new CharMetrics( 600, 0, 48, 0, 557, 562 ),
+        new CharMetrics( 600, 0, 22, -15, 596, 626 ), new CharMetrics( 600, 0, 35, -15, 570, 661 ),
+        new CharMetrics( 600, 0, 35, -15, 570, 661 ), new CharMetrics( 600, 0, 35, -15, 570, 657 ),
+        new CharMetrics( 600, 0, 35, -15, 570, 636 ), new CharMetrics( 600, 0, 35, -15, 570, 625 ),
+        new CharMetrics( 600, 0, 35, -15, 570, 678 ), new CharMetrics( 600, 0, -4, -15, 601, 454 ),
+        new CharMetrics( 600, 0, 40, -206, 545, 459 ), new CharMetrics( 600, 0, 40, -15, 563, 661 ),
+        new CharMetrics( 600, 0, 40, -15, 563, 661 ), new CharMetrics( 600, 0, 40, -15, 563, 657 ),
+        new CharMetrics( 600, 0, 40, -15, 563, 625 ), new CharMetrics( 600, 0, 77, 0, 523, 661 ),
+        new CharMetrics( 600, 0, 77, 0, 523, 661 ), new CharMetrics( 600, 0, 63, 0, 523, 657 ),
+        new CharMetrics( 600, 0, 77, 0, 523, 625 ), new CharMetrics( 600, 0, 58, -27, 543, 626 ),
+        new CharMetrics( 600, 0, 18, 0, 592, 636 ), new CharMetrics( 600, 0, 30, -15, 570, 661 ),
+        new CharMetrics( 600, 0, 30, -15, 570, 661 ), new CharMetrics( 600, 0, 30, -15, 570, 657 ),
+        new CharMetrics( 600, 0, 30, -15, 570, 636 ), new CharMetrics( 600, 0, 30, -15, 570, 625 ),
+        new CharMetrics( 600, 0, 71, 16, 529, 500 ), new CharMetrics( 600, 0, 30, -24, 570, 463 ),
+        new CharMetrics( 600, 0, -1, -15, 569, 661 ), new CharMetrics( 600, 0, -1, -15, 569, 661 ),
+        new CharMetrics( 600, 0, -1, -15, 569, 657 ), new CharMetrics( 600, 0, -1, -15, 569, 625 ),
+        new CharMetrics( 600, 0, -4, -142, 601, 661 ), new CharMetrics( 600, 0, -14, -142, 570, 626 ),
+        new CharMetrics( 600, 0, -4, -142, 601, 625 )};
+
+    public MonospaceBold()
+    {
+        super( true, 626, -142, new CharMetrics( 0, 0, -113, -250, 749, 801 ), metrics );
+    }
+
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBold.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBold.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBoldItalic.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBoldItalic.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBoldItalic.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBoldItalic.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,161 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+class MonospaceBoldItalic
+    extends FontMetrics
+{
+
+    public static final CharMetrics[] metrics = {new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 216, -15, 495, 572 ), new CharMetrics( 600, 0, 212, 277, 584, 562 ),
+        new CharMetrics( 600, 0, 88, -45, 640, 651 ), new CharMetrics( 600, 0, 87, -126, 629, 666 ),
+        new CharMetrics( 600, 0, 102, -15, 624, 616 ), new CharMetrics( 600, 0, 62, -15, 594, 543 ),
+        new CharMetrics( 600, 0, 230, 277, 542, 562 ), new CharMetrics( 600, 0, 266, -102, 592, 616 ),
+        new CharMetrics( 600, 0, 117, -102, 444, 616 ), new CharMetrics( 600, 0, 179, 219, 597, 601 ),
+        new CharMetrics( 600, 0, 114, 39, 596, 478 ), new CharMetrics( 600, 0, 99, -111, 430, 174 ),
+        new CharMetrics( 600, 0, 143, 203, 567, 313 ), new CharMetrics( 600, 0, 207, -15, 426, 171 ),
+        new CharMetrics( 600, 0, 91, -77, 626, 626 ), new CharMetrics( 600, 0, 136, -15, 592, 616 ),
+        new CharMetrics( 600, 0, 93, 0, 561, 616 ), new CharMetrics( 600, 0, 61, 0, 593, 616 ),
+        new CharMetrics( 600, 0, 72, -15, 571, 616 ), new CharMetrics( 600, 0, 82, 0, 558, 616 ),
+        new CharMetrics( 600, 0, 77, -15, 621, 601 ), new CharMetrics( 600, 0, 136, -15, 652, 616 ),
+        new CharMetrics( 600, 0, 147, 0, 622, 601 ), new CharMetrics( 600, 0, 115, -15, 604, 616 ),
+        new CharMetrics( 600, 0, 76, -15, 592, 616 ), new CharMetrics( 600, 0, 206, -15, 479, 425 ),
+        new CharMetrics( 600, 0, 99, -111, 480, 425 ), new CharMetrics( 600, 0, 121, 15, 612, 501 ),
+        new CharMetrics( 600, 0, 96, 118, 614, 398 ), new CharMetrics( 600, 0, 97, 15, 589, 501 ),
+        new CharMetrics( 600, 0, 183, -14, 591, 580 ), new CharMetrics( 600, 0, 66, -15, 641, 616 ),
+        new CharMetrics( 600, 0, -9, 0, 631, 562 ), new CharMetrics( 600, 0, 30, 0, 629, 562 ),
+        new CharMetrics( 600, 0, 75, -18, 674, 580 ), new CharMetrics( 600, 0, 30, 0, 664, 562 ),
+        new CharMetrics( 600, 0, 25, 0, 669, 562 ), new CharMetrics( 600, 0, 39, 0, 683, 562 ),
+        new CharMetrics( 600, 0, 75, -18, 674, 580 ), new CharMetrics( 600, 0, 20, 0, 699, 562 ),
+        new CharMetrics( 600, 0, 77, 0, 642, 562 ), new CharMetrics( 600, 0, 59, -18, 720, 562 ),
+        new CharMetrics( 600, 0, 21, 0, 691, 562 ), new CharMetrics( 600, 0, 39, 0, 635, 562 ),
+        new CharMetrics( 600, 0, -2, 0, 721, 562 ), new CharMetrics( 600, 0, 8, -12, 729, 562 ),
+        new CharMetrics( 600, 0, 74, -18, 645, 580 ), new CharMetrics( 600, 0, 48, 0, 642, 562 ),
+        new CharMetrics( 600, 0, 84, -138, 636, 580 ), new CharMetrics( 600, 0, 24, 0, 617, 562 ),
+        new CharMetrics( 600, 0, 54, -22, 672, 582 ), new CharMetrics( 600, 0, 86, 0, 678, 562 ),
+        new CharMetrics( 600, 0, 101, -18, 715, 562 ), new CharMetrics( 600, 0, 84, 0, 732, 562 ),
+        new CharMetrics( 600, 0, 84, 0, 737, 562 ), new CharMetrics( 600, 0, 12, 0, 689, 562 ),
+        new CharMetrics( 600, 0, 109, 0, 708, 562 ), new CharMetrics( 600, 0, 62, 0, 636, 562 ),
+        new CharMetrics( 600, 0, 223, -102, 606, 616 ), new CharMetrics( 600, 0, 223, -77, 496, 626 ),
+        new CharMetrics( 600, 0, 103, -102, 486, 616 ), new CharMetrics( 600, 0, 171, 250, 555, 616 ),
+        new CharMetrics( 600, 0, -27, -125, 584, -75 ), new CharMetrics( 600, 0, 297, 277, 487, 562 ),
+        new CharMetrics( 600, 0, 62, -15, 592, 454 ), new CharMetrics( 600, 0, 13, -15, 636, 626 ),
+        new CharMetrics( 600, 0, 81, -15, 631, 459 ), new CharMetrics( 600, 0, 61, -15, 644, 626 ),
+        new CharMetrics( 600, 0, 81, -15, 604, 454 ), new CharMetrics( 600, 0, 83, 0, 677, 626 ),
+        new CharMetrics( 600, 0, 41, -146, 673, 454 ), new CharMetrics( 600, 0, 18, 0, 614, 626 ),
+        new CharMetrics( 600, 0, 77, 0, 545, 658 ), new CharMetrics( 600, 0, 37, -146, 580, 658 ),
+        new CharMetrics( 600, 0, 33, 0, 642, 626 ), new CharMetrics( 600, 0, 77, 0, 545, 626 ),
+        new CharMetrics( 600, 0, -22, 0, 648, 454 ), new CharMetrics( 600, 0, 18, 0, 614, 454 ),
+        new CharMetrics( 600, 0, 71, -15, 622, 454 ), new CharMetrics( 600, 0, -31, -142, 622, 454 ),
+        new CharMetrics( 600, 0, 61, -142, 684, 454 ), new CharMetrics( 600, 0, 47, 0, 654, 454 ),
+        new CharMetrics( 600, 0, 67, -17, 607, 459 ), new CharMetrics( 600, 0, 118, -15, 566, 562 ),
+        new CharMetrics( 600, 0, 70, -15, 591, 439 ), new CharMetrics( 600, 0, 70, 0, 694, 439 ),
+        new CharMetrics( 600, 0, 53, 0, 711, 439 ), new CharMetrics( 600, 0, 6, 0, 670, 439 ),
+        new CharMetrics( 600, 0, -20, -142, 694, 439 ), new CharMetrics( 600, 0, 81, 0, 613, 439 ),
+        new CharMetrics( 600, 0, 204, -102, 595, 616 ), new CharMetrics( 600, 0, 202, -250, 504, 750 ),
+        new CharMetrics( 600, 0, 114, -102, 506, 616 ), new CharMetrics( 600, 0, 120, 153, 589, 356 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 77, 0, 545, 439 ),
+        new CharMetrics( 600, 0, 272, 508, 503, 661 ), new CharMetrics( 600, 0, 313, 508, 608, 661 ),
+        new CharMetrics( 600, 0, 212, 483, 606, 657 ), new CharMetrics( 600, 0, 200, 493, 642, 636 ),
+        new CharMetrics( 600, 0, 195, 505, 636, 585 ), new CharMetrics( 600, 0, 217, 468, 651, 631 ),
+        new CharMetrics( 600, 0, 346, 485, 490, 625 ), new CharMetrics( 600, 0, 244, 485, 592, 625 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 319, 481, 528, 678 ),
+        new CharMetrics( 600, 0, 169, -206, 367, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 172, 488, 728, 661 ), new CharMetrics( 600, 0, 144, -199, 350, 0 ),
+        new CharMetrics( 600, 0, 238, 493, 632, 667 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 197, -146, 477, 449 ), new CharMetrics( 600, 0, 121, -49, 604, 614 ),
+        new CharMetrics( 600, 0, 107, -28, 650, 611 ), new CharMetrics( 600, 0, 77, 49, 643, 517 ),
+        new CharMetrics( 600, 0, 98, 0, 709, 562 ), new CharMetrics( 600, 0, 218, -175, 488, 675 ),
+        new CharMetrics( 600, 0, 74, -70, 619, 580 ), new CharMetrics( 600, 0, 244, 485, 592, 625 ),
+        new CharMetrics( 600, 0, 53, -18, 667, 580 ), new CharMetrics( 600, 0, 189, 196, 526, 580 ),
+        new CharMetrics( 600, 0, 63, 70, 638, 446 ), new CharMetrics( 600, 0, 135, 103, 617, 413 ),
+        new CharMetrics( 600, 0, 143, 203, 567, 313 ), new CharMetrics( 600, 0, 53, -18, 667, 580 ),
+        new CharMetrics( 600, 0, 195, 505, 636, 585 ), new CharMetrics( 600, 0, 173, 243, 569, 616 ),
+        new CharMetrics( 600, 0, 76, 24, 614, 515 ), new CharMetrics( 600, 0, 192, 230, 541, 616 ),
+        new CharMetrics( 600, 0, 193, 222, 525, 616 ), new CharMetrics( 600, 0, 313, 508, 608, 661 ),
+        new CharMetrics( 600, 0, 50, -142, 591, 439 ), new CharMetrics( 600, 0, 61, -70, 699, 580 ),
+        new CharMetrics( 600, 0, 249, 165, 461, 351 ), new CharMetrics( 600, 0, 169, -206, 367, 0 ),
+        new CharMetrics( 600, 0, 213, 230, 514, 616 ), new CharMetrics( 600, 0, 189, 196, 542, 580 ),
+        new CharMetrics( 600, 0, 72, 70, 647, 446 ), new CharMetrics( 600, 0, 14, -60, 706, 661 ),
+        new CharMetrics( 600, 0, 23, -60, 715, 661 ), new CharMetrics( 600, 0, 8, -60, 698, 661 ),
+        new CharMetrics( 600, 0, 101, -146, 509, 449 ), new CharMetrics( 600, 0, -9, 0, 631, 784 ),
+        new CharMetrics( 600, 0, -9, 0, 665, 784 ), new CharMetrics( 600, 0, -9, 0, 631, 780 ),
+        new CharMetrics( 600, 0, -9, 0, 638, 759 ), new CharMetrics( 600, 0, -9, 0, 631, 748 ),
+        new CharMetrics( 600, 0, -9, 0, 631, 801 ), new CharMetrics( 600, 0, -29, 0, 707, 562 ),
+        new CharMetrics( 600, 0, 74, -206, 674, 580 ), new CharMetrics( 600, 0, 25, 0, 669, 784 ),
+        new CharMetrics( 600, 0, 25, 0, 669, 784 ), new CharMetrics( 600, 0, 25, 0, 669, 780 ),
+        new CharMetrics( 600, 0, 25, 0, 669, 748 ), new CharMetrics( 600, 0, 77, 0, 642, 784 ),
+        new CharMetrics( 600, 0, 77, 0, 642, 784 ), new CharMetrics( 600, 0, 77, 0, 642, 780 ),
+        new CharMetrics( 600, 0, 77, 0, 642, 748 ), new CharMetrics( 600, 0, 30, 0, 664, 562 ),
+        new CharMetrics( 600, 0, 8, -12, 729, 759 ), new CharMetrics( 600, 0, 74, -18, 645, 784 ),
+        new CharMetrics( 600, 0, 74, -18, 645, 784 ), new CharMetrics( 600, 0, 74, -18, 645, 780 ),
+        new CharMetrics( 600, 0, 74, -18, 668, 759 ), new CharMetrics( 600, 0, 74, -18, 645, 748 ),
+        new CharMetrics( 600, 0, 105, 39, 606, 478 ), new CharMetrics( 600, 0, 48, -22, 672, 584 ),
+        new CharMetrics( 600, 0, 101, -18, 715, 784 ), new CharMetrics( 600, 0, 101, -18, 715, 784 ),
+        new CharMetrics( 600, 0, 101, -18, 715, 780 ), new CharMetrics( 600, 0, 101, -18, 715, 748 ),
+        new CharMetrics( 600, 0, 109, 0, 708, 784 ), new CharMetrics( 600, 0, 48, 0, 619, 562 ),
+        new CharMetrics( 600, 0, 22, -15, 628, 626 ), new CharMetrics( 600, 0, 62, -15, 592, 661 ),
+        new CharMetrics( 600, 0, 62, -15, 608, 661 ), new CharMetrics( 600, 0, 62, -15, 592, 657 ),
+        new CharMetrics( 600, 0, 62, -15, 642, 636 ), new CharMetrics( 600, 0, 62, -15, 592, 625 ),
+        new CharMetrics( 600, 0, 62, -15, 592, 678 ), new CharMetrics( 600, 0, 21, -15, 651, 454 ),
+        new CharMetrics( 600, 0, 81, -206, 631, 459 ), new CharMetrics( 600, 0, 81, -15, 604, 661 ),
+        new CharMetrics( 600, 0, 81, -15, 608, 661 ), new CharMetrics( 600, 0, 81, -15, 606, 657 ),
+        new CharMetrics( 600, 0, 81, -15, 604, 625 ), new CharMetrics( 600, 0, 77, 0, 545, 661 ),
+        new CharMetrics( 600, 0, 77, 0, 608, 661 ), new CharMetrics( 600, 0, 77, 0, 566, 657 ),
+        new CharMetrics( 600, 0, 77, 0, 552, 625 ), new CharMetrics( 600, 0, 93, -27, 661, 626 ),
+        new CharMetrics( 600, 0, 18, 0, 642, 636 ), new CharMetrics( 600, 0, 71, -15, 622, 661 ),
+        new CharMetrics( 600, 0, 71, -15, 622, 661 ), new CharMetrics( 600, 0, 71, -15, 622, 657 ),
+        new CharMetrics( 600, 0, 71, -15, 642, 636 ), new CharMetrics( 600, 0, 71, -15, 622, 625 ),
+        new CharMetrics( 600, 0, 114, 16, 596, 500 ), new CharMetrics( 600, 0, 55, -24, 637, 463 ),
+        new CharMetrics( 600, 0, 70, -15, 591, 661 ), new CharMetrics( 600, 0, 70, -15, 608, 661 ),
+        new CharMetrics( 600, 0, 70, -15, 591, 657 ), new CharMetrics( 600, 0, 70, -15, 591, 625 ),
+        new CharMetrics( 600, 0, -20, -142, 694, 661 ), new CharMetrics( 600, 0, -31, -142, 622, 626 ),
+        new CharMetrics( 600, 0, -20, -142, 694, 625 )};
+
+    public MonospaceBoldItalic()
+    {
+        super( true, 626, -142, new CharMetrics( 0, 0, -56, -250, 868, 801 ), metrics );
+    }
+
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBoldItalic.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceBoldItalic.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceItalic.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceItalic.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceItalic.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceItalic.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,161 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+class MonospaceItalic
+    extends FontMetrics
+{
+
+    public static final CharMetrics[] metrics = {new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 243, -15, 464, 572 ), new CharMetrics( 600, 0, 273, 328, 532, 562 ),
+        new CharMetrics( 600, 0, 133, -32, 596, 639 ), new CharMetrics( 600, 0, 108, -126, 596, 662 ),
+        new CharMetrics( 600, 0, 134, -15, 599, 622 ), new CharMetrics( 600, 0, 87, -15, 580, 543 ),
+        new CharMetrics( 600, 0, 283, 328, 495, 562 ), new CharMetrics( 600, 0, 313, -108, 572, 622 ),
+        new CharMetrics( 600, 0, 137, -108, 396, 622 ), new CharMetrics( 600, 0, 212, 257, 580, 607 ),
+        new CharMetrics( 600, 0, 129, 44, 580, 470 ), new CharMetrics( 600, 0, 157, -112, 370, 122 ),
+        new CharMetrics( 600, 0, 152, 231, 558, 285 ), new CharMetrics( 600, 0, 238, -15, 382, 109 ),
+        new CharMetrics( 600, 0, 112, -80, 604, 629 ), new CharMetrics( 600, 0, 154, -15, 575, 622 ),
+        new CharMetrics( 600, 0, 98, 0, 515, 622 ), new CharMetrics( 600, 0, 70, 0, 568, 622 ),
+        new CharMetrics( 600, 0, 82, -15, 538, 622 ), new CharMetrics( 600, 0, 108, 0, 541, 622 ),
+        new CharMetrics( 600, 0, 99, -15, 589, 607 ), new CharMetrics( 600, 0, 155, -15, 629, 622 ),
+        new CharMetrics( 600, 0, 182, 0, 612, 607 ), new CharMetrics( 600, 0, 132, -15, 588, 622 ),
+        new CharMetrics( 600, 0, 93, -15, 574, 622 ), new CharMetrics( 600, 0, 238, -15, 441, 385 ),
+        new CharMetrics( 600, 0, 157, -112, 441, 385 ), new CharMetrics( 600, 0, 96, 42, 610, 472 ),
+        new CharMetrics( 600, 0, 109, 138, 600, 376 ), new CharMetrics( 600, 0, 85, 42, 599, 472 ),
+        new CharMetrics( 600, 0, 222, -15, 583, 572 ), new CharMetrics( 600, 0, 127, -15, 582, 622 ),
+        new CharMetrics( 600, 0, 3, 0, 607, 562 ), new CharMetrics( 600, 0, 43, 0, 616, 562 ),
+        new CharMetrics( 600, 0, 93, -18, 655, 580 ), new CharMetrics( 600, 0, 43, 0, 645, 562 ),
+        new CharMetrics( 600, 0, 53, 0, 660, 562 ), new CharMetrics( 600, 0, 53, 0, 660, 562 ),
+        new CharMetrics( 600, 0, 83, -18, 645, 580 ), new CharMetrics( 600, 0, 32, 0, 687, 562 ),
+        new CharMetrics( 600, 0, 96, 0, 623, 562 ), new CharMetrics( 600, 0, 52, -18, 685, 562 ),
+        new CharMetrics( 600, 0, 38, 0, 671, 562 ), new CharMetrics( 600, 0, 47, 0, 607, 562 ),
+        new CharMetrics( 600, 0, 4, 0, 715, 562 ), new CharMetrics( 600, 0, 7, -13, 712, 562 ),
+        new CharMetrics( 600, 0, 94, -18, 625, 580 ), new CharMetrics( 600, 0, 79, 0, 644, 562 ),
+        new CharMetrics( 600, 0, 95, -138, 625, 580 ), new CharMetrics( 600, 0, 38, 0, 598, 562 ),
+        new CharMetrics( 600, 0, 76, -20, 650, 580 ), new CharMetrics( 600, 0, 108, 0, 665, 562 ),
+        new CharMetrics( 600, 0, 125, -18, 702, 562 ), new CharMetrics( 600, 0, 105, -13, 723, 562 ),
+        new CharMetrics( 600, 0, 106, -13, 722, 562 ), new CharMetrics( 600, 0, 23, 0, 675, 562 ),
+        new CharMetrics( 600, 0, 133, 0, 695, 562 ), new CharMetrics( 600, 0, 86, 0, 610, 562 ),
+        new CharMetrics( 600, 0, 246, -108, 574, 622 ), new CharMetrics( 600, 0, 249, -80, 468, 629 ),
+        new CharMetrics( 600, 0, 135, -108, 463, 622 ), new CharMetrics( 600, 0, 175, 354, 587, 622 ),
+        new CharMetrics( 600, 0, -27, -125, 584, -75 ), new CharMetrics( 600, 0, 343, 328, 457, 562 ),
+        new CharMetrics( 600, 0, 76, -15, 569, 441 ), new CharMetrics( 600, 0, 29, -15, 625, 629 ),
+        new CharMetrics( 600, 0, 106, -15, 608, 441 ), new CharMetrics( 600, 0, 85, -15, 640, 629 ),
+        new CharMetrics( 600, 0, 106, -15, 598, 441 ), new CharMetrics( 600, 0, 114, 0, 662, 629 ),
+        new CharMetrics( 600, 0, 61, -157, 657, 441 ), new CharMetrics( 600, 0, 33, 0, 592, 629 ),
+        new CharMetrics( 600, 0, 95, 0, 515, 657 ), new CharMetrics( 600, 0, 52, -157, 550, 657 ),
+        new CharMetrics( 600, 0, 58, 0, 633, 629 ), new CharMetrics( 600, 0, 95, 0, 515, 629 ),
+        new CharMetrics( 600, 0, -5, 0, 615, 441 ), new CharMetrics( 600, 0, 26, 0, 585, 441 ),
+        new CharMetrics( 600, 0, 102, -15, 588, 441 ), new CharMetrics( 600, 0, -24, -157, 605, 441 ),
+        new CharMetrics( 600, 0, 85, -157, 682, 441 ), new CharMetrics( 600, 0, 60, 0, 636, 441 ),
+        new CharMetrics( 600, 0, 78, -15, 584, 441 ), new CharMetrics( 600, 0, 167, -15, 561, 561 ),
+        new CharMetrics( 600, 0, 101, -15, 572, 426 ), new CharMetrics( 600, 0, 90, -10, 681, 426 ),
+        new CharMetrics( 600, 0, 76, -10, 695, 426 ), new CharMetrics( 600, 0, 20, 0, 655, 426 ),
+        new CharMetrics( 600, 0, -4, -157, 683, 426 ), new CharMetrics( 600, 0, 99, 0, 593, 426 ),
+        new CharMetrics( 600, 0, 233, -108, 569, 622 ), new CharMetrics( 600, 0, 222, -250, 485, 750 ),
+        new CharMetrics( 600, 0, 140, -108, 477, 622 ), new CharMetrics( 600, 0, 116, 197, 600, 320 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 95, 0, 515, 426 ),
+        new CharMetrics( 600, 0, 294, 497, 484, 672 ), new CharMetrics( 600, 0, 348, 497, 612, 672 ),
+        new CharMetrics( 600, 0, 229, 477, 581, 654 ), new CharMetrics( 600, 0, 212, 489, 629, 606 ),
+        new CharMetrics( 600, 0, 232, 525, 600, 565 ), new CharMetrics( 600, 0, 279, 501, 576, 609 ),
+        new CharMetrics( 600, 0, 360, 477, 466, 580 ), new CharMetrics( 600, 0, 262, 492, 570, 595 ),
+        new CharMetrics( 600, 0, 0, 0, 0, 0 ), new CharMetrics( 600, 0, 332, 463, 500, 627 ),
+        new CharMetrics( 600, 0, 197, -151, 344, 10 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 239, 497, 683, 672 ), new CharMetrics( 600, 0, 207, -151, 348, 0 ),
+        new CharMetrics( 600, 0, 262, 492, 614, 669 ), new CharMetrics( 600, 0, 0, 0, 0, 0 ),
+        new CharMetrics( 600, 0, 225, -157, 445, 430 ), new CharMetrics( 600, 0, 151, -49, 588, 614 ),
+        new CharMetrics( 600, 0, 124, -21, 621, 611 ), new CharMetrics( 600, 0, 94, 58, 628, 506 ),
+        new CharMetrics( 600, 0, 120, 0, 693, 562 ), new CharMetrics( 600, 0, 238, -175, 469, 675 ),
+        new CharMetrics( 600, 0, 104, -78, 590, 580 ), new CharMetrics( 600, 0, 262, 492, 570, 595 ),
+        new CharMetrics( 600, 0, 53, -18, 667, 580 ), new CharMetrics( 600, 0, 209, 249, 512, 580 ),
+        new CharMetrics( 600, 0, 92, 70, 652, 446 ), new CharMetrics( 600, 0, 155, 108, 591, 369 ),
+        new CharMetrics( 600, 0, 152, 231, 558, 285 ), new CharMetrics( 600, 0, 53, -18, 667, 580 ),
+        new CharMetrics( 600, 0, 232, 525, 600, 565 ), new CharMetrics( 600, 0, 214, 269, 576, 622 ),
+        new CharMetrics( 600, 0, 96, 44, 594, 558 ), new CharMetrics( 600, 0, 230, 249, 535, 622 ),
+        new CharMetrics( 600, 0, 213, 240, 501, 622 ), new CharMetrics( 600, 0, 348, 497, 612, 672 ),
+        new CharMetrics( 600, 0, 72, -157, 572, 426 ), new CharMetrics( 600, 0, 100, -78, 630, 562 ),
+        new CharMetrics( 600, 0, 275, 189, 434, 327 ), new CharMetrics( 600, 0, 197, -151, 344, 10 ),
+        new CharMetrics( 600, 0, 231, 249, 491, 622 ), new CharMetrics( 600, 0, 210, 249, 535, 580 ),
+        new CharMetrics( 600, 0, 58, 70, 618, 446 ), new CharMetrics( 600, 0, 65, -57, 674, 665 ),
+        new CharMetrics( 600, 0, 65, -57, 669, 665 ), new CharMetrics( 600, 0, 73, -56, 659, 666 ),
+        new CharMetrics( 600, 0, 105, -157, 466, 430 ), new CharMetrics( 600, 0, 3, 0, 607, 793 ),
+        new CharMetrics( 600, 0, 3, 0, 658, 793 ), new CharMetrics( 600, 0, 3, 0, 607, 775 ),
+        new CharMetrics( 600, 0, 3, 0, 656, 732 ), new CharMetrics( 600, 0, 3, 0, 607, 731 ),
+        new CharMetrics( 600, 0, 3, 0, 607, 753 ), new CharMetrics( 600, 0, 3, 0, 655, 562 ),
+        new CharMetrics( 600, 0, 93, -151, 658, 580 ), new CharMetrics( 600, 0, 53, 0, 660, 793 ),
+        new CharMetrics( 600, 0, 53, 0, 668, 793 ), new CharMetrics( 600, 0, 53, 0, 660, 775 ),
+        new CharMetrics( 600, 0, 53, 0, 660, 731 ), new CharMetrics( 600, 0, 96, 0, 623, 793 ),
+        new CharMetrics( 600, 0, 96, 0, 638, 793 ), new CharMetrics( 600, 0, 96, 0, 623, 775 ),
+        new CharMetrics( 600, 0, 96, 0, 623, 731 ), new CharMetrics( 600, 0, 43, 0, 645, 562 ),
+        new CharMetrics( 600, 0, 7, -13, 712, 732 ), new CharMetrics( 600, 0, 94, -18, 625, 793 ),
+        new CharMetrics( 600, 0, 94, -18, 638, 793 ), new CharMetrics( 600, 0, 94, -18, 625, 775 ),
+        new CharMetrics( 600, 0, 94, -18, 656, 732 ), new CharMetrics( 600, 0, 94, -18, 625, 731 ),
+        new CharMetrics( 600, 0, 103, 43, 607, 470 ), new CharMetrics( 600, 0, 94, -80, 625, 629 ),
+        new CharMetrics( 600, 0, 125, -18, 702, 793 ), new CharMetrics( 600, 0, 125, -18, 702, 793 ),
+        new CharMetrics( 600, 0, 125, -18, 702, 775 ), new CharMetrics( 600, 0, 125, -18, 702, 731 ),
+        new CharMetrics( 600, 0, 133, 0, 695, 793 ), new CharMetrics( 600, 0, 79, 0, 606, 562 ),
+        new CharMetrics( 600, 0, 48, -15, 617, 629 ), new CharMetrics( 600, 0, 76, -15, 569, 672 ),
+        new CharMetrics( 600, 0, 76, -15, 612, 672 ), new CharMetrics( 600, 0, 76, -15, 581, 654 ),
+        new CharMetrics( 600, 0, 76, -15, 629, 606 ), new CharMetrics( 600, 0, 76, -15, 570, 595 ),
+        new CharMetrics( 600, 0, 76, -15, 569, 627 ), new CharMetrics( 600, 0, 41, -15, 626, 441 ),
+        new CharMetrics( 600, 0, 106, -151, 614, 441 ), new CharMetrics( 600, 0, 106, -15, 598, 672 ),
+        new CharMetrics( 600, 0, 106, -15, 612, 672 ), new CharMetrics( 600, 0, 106, -15, 598, 654 ),
+        new CharMetrics( 600, 0, 106, -15, 598, 595 ), new CharMetrics( 600, 0, 95, 0, 515, 672 ),
+        new CharMetrics( 600, 0, 95, 0, 612, 672 ), new CharMetrics( 600, 0, 95, 0, 551, 654 ),
+        new CharMetrics( 600, 0, 95, 0, 540, 595 ), new CharMetrics( 600, 0, 102, -15, 639, 629 ),
+        new CharMetrics( 600, 0, 26, 0, 629, 606 ), new CharMetrics( 600, 0, 102, -15, 588, 672 ),
+        new CharMetrics( 600, 0, 102, -15, 612, 672 ), new CharMetrics( 600, 0, 102, -15, 588, 654 ),
+        new CharMetrics( 600, 0, 102, -15, 629, 606 ), new CharMetrics( 600, 0, 102, -15, 588, 595 ),
+        new CharMetrics( 600, 0, 136, 48, 573, 467 ), new CharMetrics( 600, 0, 102, -80, 588, 506 ),
+        new CharMetrics( 600, 0, 101, -15, 572, 672 ), new CharMetrics( 600, 0, 101, -15, 602, 672 ),
+        new CharMetrics( 600, 0, 101, -15, 572, 654 ), new CharMetrics( 600, 0, 101, -15, 572, 595 ),
+        new CharMetrics( 600, 0, -4, -157, 683, 672 ), new CharMetrics( 600, 0, -24, -157, 605, 629 ),
+        new CharMetrics( 600, 0, -4, -157, 683, 595 )};
+
+    public MonospaceItalic()
+    {
+        super( true, 629, -157, new CharMetrics( 0, 0, -28, -250, 742, 805 ), metrics );
+    }
+
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceItalic.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/MonospaceItalic.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/PBMReader.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/PBMReader.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/PBMReader.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/PBMReader.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,322 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.BufferedInputStream;
+import java.io.BufferedReader;
+import java.io.EOFException;
+import java.io.FileInputStream;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.Reader;
+
+public class PBMReader
+{
+
+    public static final int TYPE_PBM = 1;
+
+    public static final int TYPE_PGM = 2;
+
+    public static final int TYPE_PPM = 3;
+
+    private static final boolean TRACE = false;
+
+    private static final String BAD_FILE_FORMAT = "bad file format";
+
+    private static final String UNSUPPORTED_TYPE = "unsupported file type";
+
+    private static final String UNSUPPORTED_FORMAT = "unsupported data format";
+
+    private static final String UNSUPPORTED_DEPTH = "unsupported color depth";
+
+    private int type;
+
+    private boolean binary;
+
+    private int width;
+
+    private int height;
+
+    private int maxValue;
+
+    private int bytesPerLine;
+
+    private InputStream stream;
+
+    public PBMReader( String fileName )
+        throws Exception
+    {
+        HeaderReader header = new HeaderReader();
+
+        int length = header.read( fileName );
+        if ( TRACE )
+        {
+            System.out.println( length );
+        }
+
+        if ( type != TYPE_PPM )
+        {
+            throw new Exception( UNSUPPORTED_TYPE );
+        }
+
+        if ( !binary )
+        {
+            throw new Exception( UNSUPPORTED_FORMAT );
+        }
+
+        if ( maxValue > 255 )
+        {
+            throw new Exception( UNSUPPORTED_DEPTH );
+        }
+
+        switch ( type )
+        {
+            case TYPE_PBM:
+                bytesPerLine = ( width + 7 ) / 8;
+                break;
+            case TYPE_PGM:
+                bytesPerLine = width;
+                break;
+            case TYPE_PPM:
+                bytesPerLine = 3 * width;
+                break;
+        }
+
+        stream = new BufferedInputStream( new FileInputStream( fileName ) );
+
+        skip( length );
+    }
+
+    public int type()
+    {
+        return type;
+    }
+
+    public int width()
+    {
+        return width;
+    }
+
+    public int height()
+    {
+        return height;
+    }
+
+    public int maxValue()
+    {
+        return maxValue;
+    }
+
+    public int bytesPerLine()
+    {
+        return bytesPerLine;
+    }
+
+    public long skip( long count )
+        throws IOException
+    {
+        long skipped = stream.skip( count );
+
+        if ( skipped < count )
+        {
+            byte[] b = new byte[512];
+            while ( skipped < count )
+            {
+                int len = (int) Math.min( b.length, ( count - skipped ) );
+                int n = stream.read( b, 0, len );
+                if ( n < 0 )
+                {
+                    break; // end of file
+                }
+                skipped += n;
+            }
+        }
+
+        return skipped;
+    }
+
+    public int read( byte[] b, int off, int len )
+        throws IOException
+    {
+        int count = 0;
+        while ( count < len )
+        {
+            int n = stream.read( b, off + count, len - count );
+            if ( n < 0 )
+            {
+                break; // end of file
+            }
+            count += n;
+        }
+        return count;
+    }
+
+    public static void main( String[] args )
+        throws Exception
+    {
+        PBMReader pbm = new PBMReader( args[0] );
+    }
+
+    // -----------------------------------------------------------------------
+
+    private class HeaderReader
+    {
+
+        private Reader reader;
+
+        private int offset;
+
+        int read( String fileName )
+            throws Exception
+        {
+            String field;
+
+            reader = new BufferedReader( new FileReader( fileName ) );
+            offset = 0;
+
+            field = getField();
+            if ( field.length() != 2 || field.charAt( 0 ) != 'P' )
+            {
+                reader.close();
+                throw new Exception( BAD_FILE_FORMAT );
+            }
+            switch ( field.charAt( 1 ) )
+            {
+                case '1':
+                case '4':
+                    type = TYPE_PBM;
+                    break;
+                case '2':
+                case '5':
+                    type = TYPE_PGM;
+                    break;
+                case '3':
+                case '6':
+                    type = TYPE_PPM;
+                    break;
+                default:
+                    reader.close();
+                    throw new Exception( BAD_FILE_FORMAT );
+            }
+            if ( field.charAt( 1 ) > '3' )
+            {
+                binary = true;
+            }
+            else
+            {
+                binary = false;
+            }
+
+            try
+            {
+                width = Integer.parseInt( getField() );
+                height = Integer.parseInt( getField() );
+                if ( type == TYPE_PBM )
+                {
+                    maxValue = 1;
+                }
+                else
+                {
+                    maxValue = Integer.parseInt( getField() );
+                }
+            }
+            catch ( NumberFormatException e )
+            {
+                reader.close();
+                throw new Exception( BAD_FILE_FORMAT );
+            }
+
+            reader.close();
+
+            return offset;
+        }
+
+        private String getField()
+            throws IOException
+        {
+            char c;
+            StringBuffer field = new StringBuffer();
+
+            try
+            {
+                do
+                {
+                    while ( ( c = getChar() ) == '#' )
+                    {
+                        skipComment();
+                    }
+                }
+                while ( Character.isWhitespace( c ) );
+
+                field.append( c );
+
+                while ( !Character.isWhitespace( c = getChar() ) )
+                {
+                    if ( c == '#' )
+                    {
+                        skipComment();
+                        break;
+                    }
+                    field.append( c );
+                }
+            }
+            catch ( EOFException ignore )
+            {
+            }
+
+            if ( TRACE )
+            {
+                System.out.println( "\"" + field + "\"" );
+            }
+
+            return field.toString();
+        }
+
+        private char getChar()
+            throws IOException, EOFException
+        {
+            int c = reader.read();
+            if ( c < 0 )
+            {
+                throw new EOFException();
+            }
+            offset += 1;
+            return (char) c;
+        }
+
+        private void skipComment()
+            throws IOException
+        {
+            try
+            {
+                while ( getChar() != '\n' )
+                {
+                    ;
+                }
+            }
+            catch ( EOFException ignore )
+            {
+            }
+        }
+
+    }
+
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/PBMReader.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/PBMReader.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RomanNumerals.java
URL: http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RomanNumerals.java?view=auto&rev=519331
==============================================================================
--- maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RomanNumerals.java (added)
+++ maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RomanNumerals.java Sat Mar 17 07:47:59 2007
@@ -0,0 +1,67 @@
+package org.apache.maven.doxia.module.rtf;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+public class RomanNumerals
+{
+    private static final int[] NUMBERS = {1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1};
+
+    private static final String[] UPPER_CASE_LETTERS =
+        {"M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I"};
+
+    private static final String[] LOWER_CASE_LETTERS =
+        {"m", "cm", "d", "cd", "c", "xc", "l", "xl", "x", "ix", "v", "iv", "i"};
+
+    // -----------------------------------------------------------------------
+
+    public static String toString( int n )
+    {
+        return toString( n, false );
+    }
+
+    public static String toString( int n, boolean lowerCase )
+    {
+        StringBuffer roman = new StringBuffer();
+        String[] letters = lowerCase ? LOWER_CASE_LETTERS : UPPER_CASE_LETTERS;
+
+        for ( int i = 0; i < NUMBERS.length; ++i )
+        {
+            while ( n >= NUMBERS[i] )
+            {
+                roman.append( letters[i] );
+                n -= NUMBERS[i];
+            }
+        }
+
+        return roman.toString();
+    }
+
+    // -----------------------------------------------------------------------
+
+    public static void main( String[] args )
+        throws NumberFormatException
+    {
+        for ( int i = 0; i < args.length; ++i )
+        {
+            String arg = args[i];
+            System.out.println( arg + " = " + RomanNumerals.toString( Integer.parseInt( arg ) ) );
+        }
+    }
+}

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RomanNumerals.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/doxia/trunk/doxia-modules/doxia-module-rtf/src/main/java/org/apache/maven/doxia/module/rtf/RomanNumerals.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"