Re[2]: [xep-support] how do i make writing mode property work?

From: Alexander Peshkov (
Date: Sun Nov 10 2002 - 00:14:34 PST

Hello Rajat,

RV> But still I don't see Hebrew text.
RV> It's not coming garbled but it's coming empty, i.e., any text I write as
RV> Hebrew it just doesn't come.
RV> I am using the Times/serif font. I've attached the FO file.

The Times font has no glyphs for Hebrew. Please use another font, such
as MS Gothic (it has an appropriate glyph-set).

RV> There is yet another problem that has come up once I changed the writing
RV> mode.
RV> One of the tables in the static contents is not being drawn.
RV> I tried rendering the same document through FOP and it shows me the table.
RV> The table I'm referring to is the headings of the columns drawn in the body.

I haven't noticed such a problem. Which table you are referring to?
Everything renders just fine (at least for the first glance).
By the way, as it was mentioned before you should not specify
writing-mode on fo:flow directly, better wrap the whole content of the
flow in fo:block-container with desired writing-mode set.

RV> I've a trial version of XEP. Could any of my problems be because of that?

No, XEP trial version has the same rendering capabilities as a
commercial one.

Best regards,
Alexander Peshkov

RV> Thanks,
RV> Rajat Vig
RV> E-mail:
RV> Phone (off): +357-25-845779
RV> Phone (mobile): +357-99-822460

RV> In the construction of Immortal Fame you need first of all a cosmic
RV> shamelessness.
RV> -- "Travels in Hyperreality" (1975) from Travels in Hyperreality

RV> -----Original Message-----
RV> From: Alexander Peshkov []
RV> Sent: Wednesday, November 06, 2002 4:18 PM
RV> To: Rajat Vig
RV> Subject: Re: [xep-support] how do i make writing mode property work?

RV> Hello Rajat,

RV>> Hi All,

RV>> I've set the writing-mode to "rl-tb" in the simple page master but it
RV> has
RV>> absolutely no effect on the layout of the page.
RV>> I typed some Hebrew text in the FO document and it comes up garbled in
RV> the
RV>> output PDF.
RV>> I've attached the FO file I'm using.

RV> You should specify writing-mode on fo:block-container to make it work.
RV> If you want to apply writing-mode to the whole flow, you should wrap it in
RV> block-container.
RV> What do you mean by "garbled" then talking about Hebrew text? Do you
RV> have appropriate font-family specified? (the one which contains Hebrew
RV> glyphs).

RV>> There are some more issues I have with XEP with regards to XML/XSL
RV>> transformations...
RV>> If I pass the XML and XSL separately to XEP, it complains of errors in
RV> my
RV>> style sheet but FOP processes it.
RV>> The XSL is valid as Xalan correctly transforms the XML to FO using the
RV> same

RV> May I ask you in which way you pass XSL FO and stylesheet to XEP?
RV> The right way to do it from command-line is to use JAXPDriver.

RV>> Any ideas why should it be so? Also, can I change the Transformer XEP
RV> uses?
RV>> Why does XEP require Saxon and XT both if I'm passing it only the FO
RV>> document?

RV> JAXPDriver can use any JAXP-compatible transformer available in your
RV> system. It could be explicitly specified via
RV> javax.xml.transform.TransformerFactory system property.

RV> As for XT - XEP uses it for internal processing.

RV> Best regards,
RV> Alexander Peshkov
RV> RenderX

RV>> Thanks,
RV>> Rajat Vig
RV>> E-mail:
RV>> Phone (off): +357-25-845779
RV>> Phone (mobile): +357-99-822460

RV>> And yet, and yet . . . Denying temporal succession, denying the self,
RV>> denying the astronomical universe, are apparent desperations and secret
RV>> consolations. Our destiny is not frightful by being unreal; it is
RV> frightful
RV>> because it is irreversible and iron-clad. Time is the substance I am
RV> made
RV>> of. Time is a river which sweeps me along, but I am the river; it is a
RV> tiger
RV>> which destroys me, but I am the tiger; it is a fire which consumes me,
RV> but I
RV>> am the fire. The world, unfortunately, is real; I, unfortunately, am
RV> Borges.
RV>> -- Essay: "A New Refutation of Time," 1946

RV> -------------------
RV> By using the Service, you expressly agree to these Terms of Service

By using the Service, you expressly agree to these Terms of Service

This archive was generated by hypermail 2.1.5 : Wed Dec 18 2002 - 08:41:28 PST