RE: Arabic printing in Solaris - a2ps support for iso-8859-6 {PUBLIC} {INTERNAL}

Senthilvelan Manickam <[email protected]> Wed, 31 Dec 2014 20:44:53 +0300
Newsgroups gmane.comp.printing.a2ps.bugs
Message-ID <2E4F2B6400DA8F48866D6E54965F47BB07E20CFD38@CMZEXMBCL01.corp.samba.com>
Dear James,

Thanks for your response.

Please share me the iso-8859-6.edf file. I shall have a look at the below f=
or having the corresponding font.

Regards,
Senthil.

-----Original Message-----
From: James Cloos [mailto:[email protected]]
Sent: Wednesday, December 31, 2014 8:26 AM
To: [email protected]
Cc: Senthilvelan Manickam
Subject: Re: Arabic printing in Solaris - a2ps support for iso-8859-6 {PUBL=
IC}

>>>>> "SM" =3D=3D Senthilvelan Manickam <[email protected]> w=
rites:

SM> We are trying to print Arabic text to one of the dot matrix printers
SM> that supports Arabic from Solaris 10. ...

SM> When we print, English then it prints fine but when we print Arabic
SM> it prints junk. On investigation found out that a2ps can be called
SM> with -encoding and we don't find iso6(ISO-8859-6) as one of the
SM> supported encoding format.

Adding support for iso-8859-6 will be easy, but beyond that one requires a =
suitable font and suitable shaping.  (Looking at 8859-6,

For complex scripts like arabic, harfbuzz would be a better solution.
Harfbuzz can be found at:

http://freedesktop.org/wiki/Software/HarfBuzz
https://github.com/behdad/harfbuzz

Its hb-view program can output pdf or postscript, in addition to svg svg an=
d images.

HB has the advantage that, when used with a quality font, the output will b=
e on par with written Arabic, using all of the initial, medial and final fo=
rms as expected.  Printing 8859-6 directly would only show the isolated gly=
phs.

-JimC
--
James Cloos <[email protected]>         OpenPGP: 0x997A9F17ED7DAEA6

This message has been marked as INTERNAL by  Senthilvelan Manickam on Wedne=
sday, December 31, 2014,8:44:53 PM.
The above classification labels were added to the message by
SAMBA Message Classification

This electronic communication is intended by the sender only for the access=
 and use by the addressee and may contain confidential information. If you =
are not the addressee, you are notified that any transmission, disclosure, =
use, access to, storage or photocopying of this e-mail and any attachments =
is strictly prohibited. The confidentiality attached to this e-mail and any=
 attachments is not waived, lost or destroyed by reason of a mistaken deliv=
ery to you. If you have received this e-mail and any attachments in error p=
lease immediately delete it and all copies from your system and notify the =
sender by e-mail. Nothing in this communication is intended to operate as a=
n electronic signature under any applicable law.

E-mails are not encrypted and cannot be guaranteed to be secure or error fr=
ee as information could be intercepted, corrupted, lost, destroyed, arrive =
late or incomplete, or contain viruses and as such the sender therefore doe=
s not accept any liability which may arise as a result of this e-mail trans=
mission.

This message is provided for informational purpose and should not be constr=
ued as a solicitation or offer to buy or sell any securities or related fin=
ancial instruments in any jurisdiction. No warranty is given as to the accu=
racy or completeness of any information and any views and opinions, whilst =
given in good faith, are subject to change without notice.