The paps command leaves gaps between Arabic characters in RHEL

Solution Verified - Updated -

Issue

When I use the below command the result will be clear Arabic characters, but the columns don't line up properly:

cat /tmp/arabic-text.txt | /usr/bin/paps --landscape --lpi=5 --stretch-chars  > /tmp/arabic-text.ps 

When I add the "--cpi" option to the paps command, the columns line up properly, but the Arabic charters have gaps between them:

cat /tmp/arabic-text.txt | /usr/bin/paps --landscape --lpi=5 --cpi=19 --stretch-chars > /tmp/arabic-text.ps

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content