Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 503295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:22:46+00:00 2026-05-13T06:22:46+00:00

We are generating pdf using apache’s xsl fo engine, namely fop 0.95. We have

  • 0

We are generating pdf using apache’s xsl fo engine, namely fop 0.95. We have been successful in displaying arabic text from xml to pdf. But there is some problem in the direction of the displayed words.

If we have ‘sangam’ (please assume that ‘sangam’ is in arabic) in xml, it gets displayed as ‘magnas’. Has anyone encountered this before? What could be the solution?

For example, I have one node in xml file like this:

<empltmoblab>موبایل</empltmoblab>

Now when displayed in pdf, this is displayed like this:

لیابوم

This means I am getting just the reverse. I want it as it is in xml node.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:22:47+00:00Added an answer on May 13, 2026 at 6:22 am

    I think it is interesting problem.It could be solved using bidi (bidirectional attribute ) to rtl (Right to Left ) but unfortunately its still not supported by fop.
    If any one has solution It would be very nice.

    I found out that in fop we can not render the arabic text at it should.

    The only work around found was to generate RTF document in place of PDF documents. In the RTF document, the arabic text displays as it is in the XML file.could you try using RTF in place of PDF? that has worked for me.

    Thanks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a program that is manually generating a PDF using PDFsharp in C#.
I have a app that uses Prawn to do some PDF generating, it works
I'm dynamically generating some charts using mod_python, in .png and .pdf formats. When a
I am generating PDF dynamically using html2ps PHP library. I want to decrease time
I'm dynamically generating a PDF using ABCpdf which contains a table of contents that
I'm generating a PDF using Prince. I'm using the below stylesheet (part of a
I am using the FPDF library for generating PDF files by PHP. This library
I'm generating a PDF from HTML using Pisa. The pisa documentation (section 11.3) says
Using ABCPDF, currently generating pdf's with 1mb files. When we alter the pdf in
While generating charts using RS 2008 betas, RC0 and such., I never specified any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.