Bug 1386217 - [ALL LANG] Localized text rendering as string of '?' in .pdf with 'Download summary in PDF format' feature
Summary: [ALL LANG] Localized text rendering as string of '?' in .pdf with 'Download s...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Internationalization
Version: 5.7.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: GA
: 5.8.0
Assignee: Milan Zázrivec
QA Contact: Krishna Babu K
URL:
Whiteboard:
Depends On:
Blocks: 1388994
TreeView+ depends on / blocked
 
Reported: 2016-10-18 12:28 UTC by Krishna Babu K
Modified: 2017-06-12 17:21 UTC (History)
5 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1388994 (view as bug list)
Environment:
Last Closed: 2017-06-12 17:21:15 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:


Attachments (Terms of Use)
Screen shot references for the reported issue. (96.77 KB, application/pdf)
2016-10-18 12:28 UTC, Krishna Babu K
no flags Details
Screen shot reference for the reported issue. (69.60 KB, application/pdf)
2016-10-18 12:36 UTC, Krishna Babu K
no flags Details

Description Krishna Babu K 2016-10-18 12:28:09 UTC
Created attachment 1211706 [details]
Screen shot references for the reported issue.

Description of problem:
While generating .pdf with 'Download summary in PDF format' option, the localized content rendering as string of '?'.

Version-Release number of selected component (if applicable):
5.7.0.5-alpha2.20161014143521_cd366b6

How reproducible:
Always

Steps to Reproduce:
1. Login cfme with non US locale.
2. Navigate to 'Networks' - 'Providers' and click on any provider, click on PDF icon with 'Download summary in PDF format' tool-tip.
3. Observe the localized content rendering in string of '?' in generated .pdf

Actual results:
Localized content rendering failed in downloaded pdf summary page.

Expected results:
Localized content should render correctly.

Additional info:
This is reproducible for all the occurrences of 'Download summary in PDF format' across CFME.

Comment 2 Krishna Babu K 2016-10-18 12:36:12 UTC
Created attachment 1211707 [details]
Screen shot reference for the reported issue.

Comment 5 Nick Carboni 2016-10-25 19:13:16 UTC
Adding 5.7? as PR is marked euwe/yes

Comment 6 CFME Bot 2016-10-25 22:07:13 UTC
New commit detected on ManageIQ/manageiq-appliance-build/master:
https://github.com/ManageIQ/manageiq-appliance-build/commit/bdd1e1ca96e249e287d945bbe74027c3060f92cd

commit bdd1e1ca96e249e287d945bbe74027c3060f92cd
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Thu Oct 20 12:48:33 2016 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Thu Oct 20 12:48:33 2016 +0200

    Add Chinese and Japanese fonts for PDF reports
    
    These fonts are then used by prince to create PDF reports
    in Chinese and Japanese locales.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1386217

 kickstarts/partials/packages/includes.ks.erb | 6 ++++++
 1 file changed, 6 insertions(+)

Comment 8 Krishna Babu K 2016-11-07 11:27:04 UTC
Tested on 5.7.0.9-beta2.1.20161101182054_eb0afaa
PDF rendering is fine now with locale text.

Comment 9 Krishna Babu K 2017-02-07 15:46:22 UTC
Tested on 5.8.0.0.20170201144150_848e68b 
Could not reproduce the issue. Rendering is fine.


Note You need to log in before you can comment on or make changes to this bug.