magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

Arabic characters are separated in PDFs generated by Magento 2.4.1 #31363

Open reshadzazai opened 3 years ago

reshadzazai commented 3 years ago

Description:

Summary of the issue: Arabic characters are separated in PDFs generated by Magento 2.4.1

Preconditions:

Information on your environment: Magento 2.4.1 Fresh Installation Also reproducible on 2.4-develop

Steps to reproduce:

While placing the order write the name and address information in Arabic and then process the order and print the invoice PDF.

Expected results:

The details have to be shown the way displayed in the admin panel while looking at the invoice. Screenshot_2

Actual results: The characters are separated from each other in the PDF generated.

Screenshot_3

Additional info from Engcom

Please see the related issue reported previously https://github.com/magento/magento2/issues/25769 Steps to reproduce 1) Place an order in Arabic store 2) Customer fill the address and name all in Arabic 3) Login to the admin panel and open orders 4) Create an invoice against the order 5) Download the invoice pdf and compare the content in the admin side with the invoice pdf

m2-assistant[bot] commented 3 years ago

Hi @reshadzazai. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

VZeroCool commented 3 years ago

This issue is there since 2.3 and most enterprise users are US based so no one cares :)

m2-assistant[bot] commented 3 years ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

magento-engcom-team commented 3 years ago

:white_check_mark: Confirmed by @engcom-Bravo Thank you for verifying the issue. Based on the provided information internal tickets MC-40062 were created

Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

sdzhepa commented 3 years ago

There is an update for this issue:

Magento team is working on this issue. Here is the result of the investigation, the quote from MC-40062

The letters in Arabic language can be written slightly different depending on their position in the word which may lead to such situations if is not implemented correctly. It is not Magento issue as Magento uses external library for PDF creation.

According to developer's investigation:

We are using the Zend_Pdf library to work with pdf files. And it doesn't fully support RTL languages. We cannot fix this problem quickly, as it is necessary to either fix the Zend_Pdf library itself or change the logic to use another library, which will take a lot of time.

When the fix will be ready and delivered, this ticket will by updated by bot with commits

adnanebrahimi commented 2 years ago

Is there any update?

AmooAti commented 2 years ago

any updates?

amebrahimi commented 2 years ago

Any fixes on this?

asma-postpay commented 1 year ago

Any fix for this ?

Abhijith-Prasad-BMS commented 1 year ago

Any updates?

Kannakiraj123 commented 1 year ago

@magento I am working on this

engcom-Bravo commented 5 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 5 months ago

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 5 months ago

Hi @engcom-Bravo, here is your Magento Instance: https://0ea68d0225b938ac589990eadb862785.instances-prod.magento-community.engineering Admin access: https://0ea68d0225b938ac589990eadb862785.instances-prod.magento-community.engineering/admin_9f03 Login: 87bfd85b Password: e9a38362c099

engcom-Bravo commented 5 months ago

Hi @reshadzazai,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.

Steps to reproduce:

Screenshot 2024-05-31 at 11 04 58 Screenshot 2024-05-31 at 11 05 08

The characters are separated from each other in the PDF generated.

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 5 months ago

:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-797

github-jira-sync-bot commented 5 months ago

:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-797

github-jira-sync-bot commented 5 months ago

:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-797