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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.