Re: [xep-support] xep behaviour clarification

From: Dan Ochs <dan.ochs@gmail.com>
Date: Tue Dec 16 2008 - 09:42:20 PST

thanks! I just wanted to get that clarification for a colleague. He
didn't like seeing this behavior in the output and I was just telling
him "that is how it is," but I didn't know the reason why. Could you
provide a link to the actual spec for this by any chance? Knowing I
can explicitly set letter-spacing.minimum="0pt" works as well, which I
didn't realize I could do.

thanks!
dan

On Tue, Dec 16, 2008 at 12:01 PM, Michael Sulyaev <msulyaev@renderx.com> wrote:
> Dan Ochs wrote:
>>
>> hi everyone, I am wondering if someone can explain to me why, when xep
>> decides a line cannot break, that it "squashes" the text to fit within
>> that line? I do not have hyphenation turned on and I believe this is
>> how xep works by design? Is there a way to change the behavior so
>> that xep does not do this or throws an exception instead?
>
> Hello Dan,
>
> Without a chance to break the line, XEP must fit it into a short area, and
> is allowed to change word spacing and letter spacing. There are now spaces
> between words in your case (just one word), thus letter spacing becomes a
> large negative, producing the effect of "squashed" text. This is all in
> accordance with the spec.
>
> You may set letter-spacing.mininum="0pt". Text will not be squashed, it will
> just protrude the right border and go further to the right. It is not
> possible to get an exception thrown, not even a warning message logged in
> this case.
>
> Specifying overflow="error-if-overflow" would be of some help if it were
> implemented on table cells, but it is not.
>
> What exactly are you trying to achieve?
>
> Regards,
> Michael Sulyaev
> RenderX
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service
> http://www.renderx.com/terms-of-service.html
>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Tue Dec 16 10:05:24 2008

This archive was generated by hypermail 2.1.8 : Tue Dec 16 2008 - 10:05:25 PST