xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36011] - Setting word-spacing on justified blocks removes justification
Date Thu, 04 Aug 2005 09:32:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36011>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36011





------- Additional Comments From lfurini@cs.unibo.it  2005-08-04 11:32 -------
Maybe there is a case (although unlikely, I must admit!) which could make 
significant to have word-spacing="0pt" != word-spacing="normal"

Let's suppose I want some text to be justified modifying only the letter 
spaces, while I desire word-spaces to have all the same width: I would easily 
set letter-spacing.minimum, .optimum and .maximum as I wish, and word-
spacing="0pt".

But if word-spacing="0pt" is the same as "normal", to avoid word space 
adjustment I should set word-spacing.minimum="Xpt", .optimum="0pt" 
and .maximum="-Y", where X and Y are meant to "undo" the stretch and shrink of 
a word space (which are application dependent, so I could not know them).

To be more clear: I thought that a word space min-opt-max values come from the 
size of a space character, let's call it W, according to the font; if the 
property "word-spacing" is explicitly set, then the resulting min-opt-max size 
is:
  W + .minimum, W + .optimum, W + .maximum
while when word-spacing is "normal" we use some hard-coded, default values, 
obtaining:
  W + UA.min, W + UA.opt, W + UA.max

But if I don't succeed in convincing you, I won't insist :-)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message