Issue 58341

Summary: Indic rendering and exporting: Some diacritics not displayed
Product: gsl Reporter: hdu <hdu>
Component: codeAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: issues, mike42, shreeshrii, stefan.baltzer
Version: OOo 2.0   
Target Milestone: AOO PleaseHelp   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on: 58077    
Issue Blocks:    
Attachments:
Description Flags
Open Test Writer Test file in Hindi
none
Generated pdf file for Hindi ttest file none

Description hdu@apache.org 2005-11-23 11:37:46 UTC
Cloned task for *** Issue 58077 *** with target milestone: OOo Later
Comment 1 hdu@apache.org 2005-11-23 11:45:05 UTC
This is the remainder of issue 58077. The first part of that issue (invalid PDF
being exported) is solved there. The second part with the glyph fallback feature
depending on that a fallback font must be able to resolve all components of a
combined character will be addressed here.

The document that shows the problem nicely is in the other issue 58077.
Comment 2 Unknown 2010-10-22 19:40:10 UTC
Created attachment 72261
Comment 3 Marcus 2017-05-20 11:31:21 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 4 shreeshrii 2018-01-18 05:33:52 UTC
Problem description: 

Steps to reproduce:
1. In a OPenoffice writer document, put several copies of the lines (Article 1 of the UDHR)
सभी मनुष्यों को गौरव और अधिकारों के मामले में जन्मजात स्वतन्त्रता और समानता प्राप्त है । उन्हें बुद्धि और अन्तरात्मा की देन प्राप्त है और परस्पर उन्हें भाईचारे के भाव से बर्ताव करना चाहिए ।
Format with a different font supporting Hindi. 

2. Export as PDF
3. Open the resulting file with Adobe Reader.
Select and copy the text from the PDF file,
and paste it into a text editor such as notepad++.

Current behavior:

The exported text does not match the original. It also differs for each font. The best rendering seems to be with the font Annapurna SIL.

सभभी मननुषषष कष गगौरव और अधधिककारषष कके मकामलके ममें जन्मजकात स्वतन्त्रतका और समकानतका पकाप्त हहै । उनमें बनुदद्धि और अन्तरकातका ककी दकेन पकाप्त हहै और परस्पर उनमें भकाईचकारके कके भकाव सके बतकार्ताव करनका चकाहहए ।

सभभी मननुषषष्यों कको गगौरव और अधधिककारष्यों कक मकामलक ममें जनमजकात सवतनन्त्रतका और समकानतका पकाप्त हहै । उनहमें बनुधद्धि और अनतरकातमका ककी दकन पकाप्त हहै और परसपर उनहमें भकाईचकारक कक भकाव सक बतकार्ताव करनका चकाधहए ।

सभभी मननषषष्यों कको गगौरव और अधधिककारष्यों कक मकामलक मम जनमजकात सवतनन्त्रतका और समकानतका पकाप्त हह । उनहम बनदद्धि और अनतरकातमका कभी दकन पकाप्त हह और परसपर उनहम भकाईचकारक कक भकाव सक बतकार्ताव करनका चकाधहए ।

सभी मनुष्यों को गौरव और अधधिकारों के मामले में जन्मजात स्वतन्त्रता और समानता प्राप्त है । उन्हें बुदद्धि और अन्तरात्मा की देन प्राप्त है और परस्पर उन्हें भाईचारे के भाव से बतार्ताव करना चादहए ।

सभभी मननुषषषषष कषष गषगौरव औषगौर औधधिकषरषषष कष मषमलष मषष जनन्मजषत सवतन्त्रतष औषगौर समषनतष पषप्त हगौ । उनहषष बनुदद्धि औषगौर औनतरषतन्मष ककी दषन पषप्त हगौ औषगौर परसपर उनहषष भषईचषरष कष भषव सष बतषर्ताव करनष चषहहए ।

सभभी मननषषष्यों कको गगौरव और अधधिककारष्यों कके मकामलके मम जनमजकात सवतनन्त्रतका और समकानतका पकापत हहै । उनहम बनदधधि और अनतरकातमका ककी दकेन पकापत हहै और परसपर उनहम भकाईचकारके कके भकाव सके बतकार्ताव करनका चकाहहए ।

सभभी मनषन ष्यों कको गगौरव और अधधिककारष्यों कक मकामलक ममें जन्मजकात स्वतन्त्रतका और समकानतका पकाप्त हहै । उनमें बधनद्धि और अन्तरकातका कभी दनक पकाप्त हहै और परस्पर उनमें भकाईचकारक कक भकाव सक बतकारव करनका चकाधहए ।

Expected behavior:
Should get something more like the original text back.

Test Environment:

Operating System: Windows 10

Version: Apache Office 4.1.5

AOO415m1(Build:9789)  -  Rev. 1817496
2017-12-11 17:25
Comment 5 shreeshrii 2018-01-18 05:35:32 UTC
Created attachment 86323 [details]
Open Test Writer Test file in Hindi
Comment 6 shreeshrii 2018-01-18 05:36:14 UTC
Created attachment 86324 [details]
Generated pdf file for Hindi ttest file
Comment 7 shreeshrii 2018-01-18 05:39:43 UTC
this problem has been solved in Xetex (in 2016) with the new \XeTeXgenerateactualtext feature - please see http://tug.org/pipermail/xetex/2016-February/026452.html


Here is a link to the actualtext branch for xetex on sourceforge.

https://sourceforge.net/p/xetex/code/ci/actualtext/tree/

Does Openoffice have support for actualtext? 

How should it be activated while exporting to pdf?