-
Bug
-
Resolution: Timed out
-
Low
-
24
-
Severity 3 - Minor
-
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
Summary
When trying to export a Confluence page in another languague (say russian) to PDF, it will ignore all text that is using code blocks or that is preformatted.
Steps to Reproduce
- Install another language package into Confluence, e.g.: arial-atlassian.ttf (instructions)
- Create a page on Confluence with russian characters. E.g.:
<pre>adsccas</pre> <p>фывфыв</p> <pre>фывфыв</pre> <p> </p> <pre>var blabla=1; //русский комментарий.</pre> <p> </p><ac:structured-macro ac:name="code" ac:schema-version="1" ac:macro-id="6c08de39-8d94-45af-ab61-a5c5c23566c0"><ac:parameter ac:name="language">js</ac:parameter><ac:parameter ac:name="title">test block</ac:parameter><ac:parameter ac:name="linenumbers">true</ac:parameter><ac:plain-text-body><![CDATA[var blabla=1; //русский комментарий.]]></ac:plain-text-body></ac:structured-macro>
- Export this page to pdf
Expected Results
File should be exported with all the content on the page.
Actual Results
File is missing some texts (preformatted and in code blocks ones)
Workaround
Use the regular paragraph format on those texts. Or, specify the following CSS to Global PDF Stylesheet:
pre, .panel .panelContent pre { font-family: ConfluenceInstalledFont, sans-serif; } div.codeContent.panelContent pre, .code pre, .preformatted pre, tt, kbd, code, samp { font-family: ConfluenceInstalledFont, monospace !important; }
- duplicates
-
CONFCLOUD-57543 PDF Export and Code Block Issues with Non-Latin Characters
- Closed
- is duplicated by
-
CONFCLOUD-59340 Cannot export double-byte characters in pre tags to PDF
- Closed
- is related to
-
CONFSERVER-42748 Export to PDF in another language does not work with preformatted text
- Gathering Impact