I am generating FO files from RTF files with a handy utility called
RTF2FO.  I set the character encoding to ISO-8859-1 for linux.

I have several character references in the FO file. For instance,
• is embedded as the bullet. However, the resultant SVG from the
FO Processor does not include those references, just ?'s.

Is anyone familiar with this kind of problem? Does anyone have any ideas?

I included the FOP input and output. 

Thanks,
Dave
<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root line-stacking-strategy="font-height" xmlns:fo="http://www.w3.org/1999/XSL/Format";><fo:layout-master-set><fo:simple-page-master margin-bottom="36pt" margin-left="85.05pt" margin-right="42.5pt" margin-top="36pt" master-name="pm0" page-height="792pt" page-width="612pt"><fo:region-body margin-bottom="20.7pt" margin-top="20.7pt" overflow="visible" region-name="body"/><fo:region-before extent="720pt" overflow="visible" region-name="header"/><fo:region-after display-align="after" extent="20.7pt" overflow="hidden" region-name="footer"/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence master-reference="pm0" orphans="2" white-space-collapse="false" widows="2"><fo:flow flow-name="body"><fo:block keep-with-next.within-column="always" line-height="0pt"><fo:leader line-height="0pt"/></fo:block><fo:block end-indent="0pt" keep-with-next.within-column="always" line-height="19.7pt" space-after="3pt" space-before="12pt" start-indent="0pt" text-align="center" text-indent="0pt"><fo:inline font-family="Arial, sans-serif" font-size="16pt" font-weight="bold">My Shopping List</fo:inline></fo:block><fo:block line-height="14.75pt"><fo:leader line-height="14.75pt"/></fo:block><fo:block line-height="14.75pt"><fo:leader line-height="14.75pt"/></fo:block><fo:list-block><fo:list-item><fo:list-item-label end-indent="0pt" start-indent="18pt"><fo:block line-height="22.15pt" text-align="start" text-indent="0pt"><fo:inline font-family="Symbol" font-size="18pt">&#8226;</fo:inline></fo:block></fo:list-item-label><fo:list-item-body end-indent="0pt" start-indent="36pt"><fo:block line-height="22.15pt" text-align="start" text-indent="0pt"><fo:inline font-family="Times Roman, serif" font-size="18pt">Milk</fo:inline></fo:block></fo:list-item-body></fo:list-item><fo:list-item><fo:list-item-label end-indent="0pt" start-indent="18pt"><fo:block line-height="22.15pt" text-align="start" text-indent="0pt"><fo:inline font-family="Symbol" font-size="18pt">&#8226;</fo:inline></fo:block></fo:list-item-label><fo:list-item-body end-indent="0pt" start-indent="36pt"><fo:block line-height="22.15pt" text-align="start" text-indent="0pt"><fo:inline font-family="Times Roman, serif" font-size="18pt">Eggs</fo:inline></fo:block></fo:list-item-body></fo:list-item><fo:list-item><fo:list-item-label end-indent="0pt" start-indent="18pt"><fo:block line-height="22.15pt" text-align="start" text-indent="0pt"><fo:inline font-family="Symbol" font-size="18pt">&#8226;</fo:inline></fo:block></fo:list-item-label><fo:list-item-body end-indent="0pt" start-indent="36pt"><fo:block line-height="22.15pt" text-align="start" text-indent="0pt"><fo:inline font-family="Times Roman, serif" font-size="18pt">Bread</fo:inline></fo:block></fo:list-item-body></fo:list-item><fo:list-item><fo:list-item-label end-indent="0pt" start-indent="18pt"><fo:block line-height="22.15pt" text-align="start" text-indent="0pt"><fo:inline font-family="Symbol" font-size="18pt">&#8226;</fo:inline></fo:block></fo:list-item-label><fo:list-item-body end-indent="0pt" start-indent="36pt"><fo:block line-height="22.15pt" text-align="start" text-indent="0pt"><fo:inline font-family="Times Roman, serif" font-size="18pt">Snacks</fo:inline></fo:block></fo:list-item-body></fo:list-item></fo:list-block></fo:flow></fo:page-sequence></fo:root>
<?xml version="1.0" encoding="ISO-8859-1"?>
<svg contentScriptType="text/ecmascript" width="612.0"
     xmlns:xlink="http://www.w3.org/1999/xlink"; zoomAndPan="magnify"
     contentStyleType="text/css" height="792.0"
     preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg";
     version="1.0">
    <g id="Page-1" style="font-family:sanserif;font-size:12"
       transform="translate(0,0.0)">
        <rect width="612.0" x="0.0" height="792.0" y="0.0"
              style="fill:none;stroke:black"/>
        <text x="258.84" y="83.54999" style="font-size:16.0;font-weight:bold">
            My
        </text>
        <text x="287.289" y="83.54999" style="font-size:16.0;font-weight:bold">
            Shopping
        </text>
        <text x="367.266" y="83.54999" style="font-size:16.0;font-weight:bold">
            List
        </text>
        <text x="103.05" y="139.97498" style="font-family:Symbol;font-size:18.0">
            ?
        </text>
        <text x="121.05" y="139.97498"
              style="font-family:Times Roman;font-size:18.0">
            Milk
        </text>
        <text x="103.05" y="163.125" style="font-family:Symbol;font-size:18.0">
            ?
        </text>
        <text x="121.05" y="163.125"
              style="font-family:Times Roman;font-size:18.0">
            Eggs
        </text>
        <text x="103.05" y="186.27502" style="font-family:Symbol;font-size:18.0">
            ?
        </text>
        <text x="121.05" y="186.27502"
              style="font-family:Times Roman;font-size:18.0">
            Bread
        </text>
        <text x="103.05" y="209.42499" style="font-family:Symbol;font-size:18.0">
            ?
        </text>
        <text x="121.05" y="209.42499"
              style="font-family:Times Roman;font-size:18.0">
            Snacks
        </text>
        <a xlink:href="#svgView(viewBox(0, 0.0, 612, 792))" xlink:type="simple"
           xlink:actuate="onRequest" xlink:show="replace"
           xmlns:xlink="http://www.w3.org/1999/xlink";>
            <rect width="306.0" x="0.0" height="792.0" y="0.0"
                  style="fill:blue;visibility:hidden"/>
        </a>
    </g>
</svg>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to