[SOLVED] Re: [docbook-apps] Re: Hebrew Characters in PDFs

From
Shlomi Fish <>
Date
2003-09-28T10:00:07+00:00
ID
Thread
[SOLVED] Re: [docbook-apps] Re: Hebrew Characters in PDFs
On Saturday 27 September 2003 22:50, Norman Walsh wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>	
> / Shlomi Fish <> was heard to say:
> | Is there anything I'm doing wrong?
>
> You need to get a font that contains the Unicode characters and configure
> your print tool to use that font. I don't recall what support FOP has for
> selecting fonts, but I presume it has some. Likewise, TeX has some, but
> I'm not sure how to get JadeTeX or PassiveTeX to use it.
>

Thanks, you are right, of course.

What I did was create a font metric for a Hebrew font (MS Tahoma), and then
add it to the userconfig.xml of fop. Afterwards I added the options:

--stringparam body.font.family tahoma

to the xsltproc command line, and that made it able to display the Hebrew 
characters. However, they are reversed. (Hebrew is written from right to left 
and they are left to right). I assume it is a FOP problem as there isn't yet 
support for RTL in FOP.

Regards,

	Shlomi Fish

>                                           norm
>
> - --
> Norman Walsh <>      | Mankind are always happy for
> http://www.oasis-open.org/docbook/ | having been happy; so that if you
> Chair, DocBook Technical Committee | make them happy now, you make them
>
>                                    | happy twenty years hence by the
>                                    | memory of it.--Sydney Smith
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
>
> iD8DBQE/deoDOyltUcwYWjsRAvExAKCqb9es88Chl5j6smvd5RCHadl4RwCfSKEL
> up1dGUG/3H1YzFtdUEoejhE=
> =XJEy
> -----END PGP SIGNATURE-----
>
> To unsubscribe from this list, send a post to
> .

-- 

---------------------------------------------------------------------
Shlomi Fish      
Homepage: http://t2.technion.ac.il/~shlomif/

I don't believe in fairies. Oops! A fairy died.
I don't believe in fairies. Oops! Another fairy died.