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

  • SEARCH
  • Home
  • 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
  • 1 View
  • 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'm generating a PDF using Apache FOP and a XSL-FO stylesheet. In the PDF,
I am writing some XML -> PDF generating templates in Apache FOP for an
I have a program that is manually generating a PDF using PDFsharp in C#.
I am generating a PDF Document through XSL-FO. I have a simple xhtml structure
I am using com.lowagie.text.FontFactory in generating a PDF file and am trying to use
I'm generating pdf using ReportLab. But when i'm trying to attach image in it,
I am generating PDF/HTML report from a BIRT template. I am using visibility property
I'm dynamically generating some charts using mod_python, in .png and .pdf formats. When a
I'm generating a PDF using Prince. I'm using the below stylesheet (part of a
I'm generating a table in a pdf document using xml-fo. The number of columns

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.