Re: [xep-support] Flowing text around "curved" images

From: Robin Harvey <>
Date: Tue Mar 20 2007 - 06:06:16 PST

Hi Michael,

Thanks for your reply. I've uploaded 2 fo files (with pdf's generated)
and the images to my server, the files are:

As you may be able to tell from the file names above, I've had some
success using images which are larger than 1 pixel high, but the same
approach is still not working on the 1-pixel version. Here's a snippet
from the non-working version to demonstrate the underlying code:

<!-- Begin repeated unit -->
<fo:float float="start" clear="both">
  <fo:block margin="0" padding="0" border-width="0" space-before="0"
space-after="0" >
        margin="0" padding="0" width="200px" height="1px"
        space-before="0" space-after="0"
        src="url(img/slice_0.png)" content-width="100%"
<!-- End repeated unit -->

Many thanks,

On Tue, 2007-03-20 at 15:35 +0300, Michael Sulyaev wrote:
> Robin Harvey wrote:
> > I have a requirement to produce PDF's where the text content flows
> > around 'curved' images. To get the 'curve' effect, I am using
> > side-floats, and horizontally sliced images, such that the images stack
> > on top of each other, and the width is trimmed to the side of the curve
> > on each sub-image. This approach works OK in principle, but I'm having
> > problems with the spacing these images. I've uploaded an example to my
> > website here:
> Hello Robin,
> Your approach with chopping images and placing them in side-floats
> should work. At least I remember a test file doing something similar.
> >
> From this PDF file I did not understand what the source FO was. It
> looks more like a result of the 'table' approach. I think you should
> post a link to the source files (with images) so that the community of
> this mailing list could see them and probably help.
> > I have tried several different configurations for the images, each with
> > limited success. I've got the text flowing to work OK using larger
> > sub-images (although join-lines are still visible) and I've got the
> > sub-images to re-join OK when using a table (although the text doesn't
> > flow round the 'curve', it flows round a square of the maximum table
> > cell width).
> With the table you wont get a 'curved' left edge of the text, for the
> tables are rectangular. Side floats should work.

Robin Harvey
Research & Development
Chapter Eight Limited
Castleton Mill
Castleton Close
LS12 2DS
T: 0113 227 0800
F: 0113 227 0801
This email has been sent to you by Chapter Eight Limited ("Chapter
Eight"). Chapter Eight is registered in England and Wales with company
number 05818885 and has it's registered office at Castleton Mill, 
Castleton Close, Leeds, LS12 2DS. Chapter Eight is VAT registered
with VAT number 882 879 848. Chapter Eight is registered as a 
data controller under the Data Protection Act 1998 with registration 
number Z9562928.
This e-mail, including attachments, is intended for the person(s)
or company named and may contain confidential and/or legally
privileged information. Unauthorised disclosure, copying or use
of this information may be unlawful and is prohibited. If you are
not the intended recipient or you have received this message in
error, please delete this message and notify the sender.
If you are not the intended recipient, or the employee or agent
responsible for delivering such materials to the intended recipient,
you are hereby notified that any use, any form of reproduction,
dissemination, copying, disclosure, modification, distribution
and/or publication of this email message or its attachments other
than by its intended recipient is strictly prohibited by the sender.
On the basis that you are the intended recipient then receipt of
this email by you represents your confirmation that you agree,
or continue to agree, to be bound by our standard Terms of Business
applicable to the transaction to which this email relates.
If you require a copy (or a replacement copy) of the applicable
standard Terms and Conditions of Business please email your request
by return.
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Tue Mar 20 06:15:52 2007

This archive was generated by hypermail 2.1.8 : Tue Mar 20 2007 - 06:15:53 PST