[ https://issues.apache.org/jira/browse/FOP-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825842#comment-13825842 ]
Christopher Lowdon edited comment on FOP-2260 at 11/18/13 10:16 PM: -------------------------------------------------------------------- Sorry for the delay. The following is a block of fo that when converted to rtf results in the RTF string: \rdblquote Hello World!\rdblquote <?xml version="1.0" encoding="UTF-8"?><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:HTMLPicture="java:com.cerner.markup.conversion.impl.HTMLPicture" writing-mode="lr-tb" hyphenate="false" text-align="start" role="html:html" xml:lang="en"><fo:layout-master-set><fo:simple-page-master page-width="auto" page-height="auto" margin-top="1in" margin-bottom="1in" margin-left="1in" margin-right="1in" master-name="all-pages"><fo:region-body margin-top="1in" margin-right="1in" margin-bottom="1in" margin-left="1in" column-count="1" column-gap="12pt"/><fo:region-before region-name="page-header" extent="1in" display-align="before"/><fo:region-after region-name="page-footer" extent="1in" display-align="after"/><fo:region-start extent="1in"/><fo:region-end extent="1in"/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence master-reference="all-pages"><fo:title>test</fo:title><fo:static-content flow-name="page-header"><fo:block font-size="small" text-align="center" space-before.conditionality="retain" space-before="0.5in"/></fo:static-content><fo:static-content flow-name="page-footer"><fo:block font-size="small" text-align="center" space-after.conditionality="retain" space-after="0.5in"/></fo:static-content><fo:flow flow-name="xsl-region-body"><fo:block role="html:body"><fo:block role="html:div">"Hello World!"</fo:block></fo:block></fo:flow></fo:page-sequence></fo:root> Looking at the RTF that is output, it appears that the font is sans-serif. Is this along the lines of what you were looking for? was (Author: clowdon): Sorry for the delay. The following is a block of fo that when converted to rtf results in the RTF string: \rdblquote Hello World!\rdblquote <?xml version="1.0" encoding="UTF-8"?><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:HTMLPicture="java:com.cerner.markup.conversion.impl.HTMLPicture" writing-mode="lr-tb" hyphenate="false" text-align="start" role="html:html" xml:lang="en"><fo:layout-master-set><fo:simple-page-master page-width="auto" page-height="auto" margin-top="1in" margin-bottom="1in" margin-left="1in" margin-right="1in" master-name="all-pages"><fo:region-body margin-top="1in" margin-right="1in" margin-bottom="1in" margin-left="1in" column-count="1" column-gap="12pt"/><fo:region-before region-name="page-header" extent="1in" display-align="before"/><fo:region-after region-name="page-footer" extent="1in" display-align="after"/><fo:region-start extent="1in"/><fo:region-end extent="1in"/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence master-reference="all-pages"><fo:title>test</fo:title><fo:static-content flow-name="page-header"><fo:block font-size="small" text-align="center" space-before.conditionality="retain" space-before="0.5in"/></fo:static-content><fo:static-content flow-name="page-footer"><fo:block font-size="small" text-align="center" space-after.conditionality="retain" space-after="0.5in"/></fo:static-content><fo:flow flow-name="xsl-region-body"><fo:block role="html:body"><fo:block role="html:div">"Hello World!"</fo:block></fo:block></fo:flow></fo:page-sequence></fo:root> > [PATCH] Smart quotes broken in RTF if at start of text > ------------------------------------------------------ > > Key: FOP-2260 > URL: https://issues.apache.org/jira/browse/FOP-2260 > Project: Fop > Issue Type: Bug > Components: rtf > Affects Versions: 1.1 > Reporter: Christopher Lowdon > Priority: Minor > Labels: patch > Attachments: mypatch.diff > > > When you have a quote at the start of your string, it is transformed into a > smart quote incorrectly. -- This message was sent by Atlassian JIRA (v6.1#6144)