DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
------- Additional Comments From [EMAIL PROTECTED] 2007-07-05 01:41 -------
(In reply to comment #2)
Thanks for your patch. However, I'm slightly reluctant to apply it as
is. I have a few questions:
- I can understand the need for an intrinsic baseline-shift for images,
especially if the image represents, say, a mathematical formula...
That said, in plain FO I think I would use the alignment-adjust
property (XSL-FO 1.1, 7.14.1). Now I easily understand that it would
be difficult to store this information separately from the image but,
still, shouldn't the image have an intrinsic alignment-adjust instead?
The description of alignment-adjust says that this property especially
applies to images which lack of a baseline-table. Whereas
baseline-shift recreates a whole baseline-table for the area. Granted,
this doesn't change many things but I think it would be more
- IIC, the intrinsic baseline-shift may only be a length? Isn't that
limiting? If the image is scaled for whatever reason, then the length
no longer makes sense. A percentage would probably be more robust.
Especially if it's expressed in terms of the image's height. And guess
what, that's exactly the case with alignment-adjust.
BTW, percentages are the reason why the other FOs return a Length
object for their baseline-shift.
> Some other comments while I am at it:
> External graphic dimensions are specified in millipoints (int), where
> as inline-graphics are specified in pts (float). I have followed the
> same pattern for this patch, but find it quite inconsitent.
I'm not sure of what you are referring to? For both ExternalGraphic and
InstreamForeignObject the intrinsic dimensions are specified in
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.