Menu

Strange bullet glyph and whitespace in RTF

2003-03-17
2003-12-12
  • Nobody/Anonymous

    I downloaded xfc from xmlmind.com and used the rtf_proc in the Makefile to convert RTF-formatted text out of the formatting objects. It all works, except there's two things wrong with the resulting RTF :

    1.   The bullet glyph is very odd; it looks like a stylized "R" rather than a solid circle.

    2.   There is one space in front of each line that has an "inline" command in fo.xsl.

    The PDF has none of these problems! So what's up with the conversion to RTF?

     
    • Nobody/Anonymous

      Has anyone found a solution for this?

      I looked at the xslt file, but really didn't know what to look for. The bullet glyph appears to be a unicode for a round dot.
      Could this be a bug in one of the java class libraries?

      I would like to use xmlresume, but fixing these bullets in rtf or doc is a pain in the [censored]

      -Kelly

       
    • James Shimada

      James Shimada - 2003-04-18

      The best way I was able to work around this RTF problem was to change the bullet character in params.xsl to something a little simpler:

      <!-- Bullet Symbol -->
      <xsl:param name="bullet.glyph">*</xsl:param>

       
    • Nobody/Anonymous

      I'm quite new to xmlresume and while testing with RTF I also had the same problem.  The issue is actually that the input and output documents are using a different encoding.  For me it was solved by using xmlmind RTF converter and using the commandline parameter -outputEncoding="ISO8859_1".  Then you can continue to use bullet glyph &amp;#x2210; and it will show up correctly in word.

       
      • James Shimada

        James Shimada - 2003-12-12

        THANK YOU! There's one thing to note, however. I was using XMLmind FO Converter (XFC) 1.0, and even after adding the outputEncoding argument I was still getting the bad bullet glyph. But, when I upgraded to XFC 1.2 and I used -outputEncoding="ISO8859_1" I get the bullet symbol that I expect.

        I still get undesirable whitespace in the RTF doc that I don't get in the PDF. Some lines have a space as the first character.

         

Log in to post a comment.