DO NOT REPLY [Bug 25881] - [PATCH] relative font-size gets calculated twice.

2004-01-04 Thread bugzilla
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.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25881

[PATCH] relative font-size gets calculated twice.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-01-04 21:36 ---
Glen, you are absolutely right, Simon's patch fixes this problem too.

I'm sorry about the inconvenience.


DO NOT REPLY [Bug 25881] - [PATCH] relative font-size gets calculated twice.

2004-01-03 Thread bugzilla
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.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25881

[PATCH] relative font-size gets calculated twice.





--- Additional Comments From [EMAIL PROTECTED]  2004-01-04 05:35 ---
Finn,

I ran this with your sample .FO before and after applying the patch, and saw no 
difference in the output.

Two days ago, however, I added in Simon's patch preventing the duplication of 
processing base-only attributes (including "font-size") in 
ConvertAttributeToProperty():

if (subPropertyName == null) { // base attribute only found
/* Do nothing if the base property has already been created.
 * This is e.g. the case when a compound attribute was
 * specified before the base attribute; in these cases
 * the base attribute was already created in 
 * findBaseProperty()
 */
if (getExplicitBaseProp(basePropertyName) != null) {
return;
}

I think Simon's change already fixes the problem you're mentioning here--so 
your patch may not be needed.  Certainly, at least on my side, it appears the 
second processing of font-size is being ignored now.  

Comments?

Thanks,
Glen


DO NOT REPLY [Bug 25881] - [PATCH] relative font-size gets calculated twice.

2004-01-03 Thread bugzilla
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.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25881

[PATCH] relative font-size gets calculated twice.





--- Additional Comments From [EMAIL PROTECTED]  2004-01-03 21:04 ---
Created an attachment (id=9788)
A testcase .fo


DO NOT REPLY [Bug 25881] - [PATCH] relative font-size gets calculated twice.

2004-01-03 Thread bugzilla
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.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25881

[PATCH] relative font-size gets calculated twice.





--- Additional Comments From [EMAIL PROTECTED]  2004-01-03 21:04 ---
Created an attachment (id=9787)
A unified diff against HEAD.