Subject: Re: [xsl] BIDI problem in XSL-FO|
From: "Tony Graham tgraham@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 May 2016 13:06:21 -0000
On 03/05/2016 13:21, Tony Graham tgraham@xxxxxxxxxxxxx wrote: ...
......----- Oorspronkelijk bericht ----- Van: "Michael MC<ller-Hillebrand mmh@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx><fo:block>Brand name (Former name)</fo:block>
This is visually rendered like this:
(Brand name (Former name
My first idea is to add <fo:bidi-override direction="ltr"> to each block or maybe only each text node that consist of solely non-Arabic characters. I guess this could be done using a regular expression like
That will 'un-mirror' the ')' but not change its position. See FO below.
Sorry, yes, 'direction' should apply only to fo:bidi-override. I'll have to look into what it was doing to fo:block. This will work:
Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tgraham@xxxxxxxxxxxxx