Re: Visual Debugging using borders or background colors

Chris Bowditch <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <AM0PR04MB654838B7B80D3DF71EDACE15FBAB0@AM0PR04MB6548.eurprd04.prod.outlook.com>
Hi,

Background colours are a more effective way of identifying which part of 
a document comes from which Formatting object. As you already mentioned 
using border is less effective as it alters the layout of the objects as 
borders themselves require space in the document

Thanks,

Chris

On 02/01/2021 21:53, Kirkilis, John (Nokia - US/Austin) wrote:
> Hello,
>
> I made a feeble attempt to put borders on fo:blocks with different 
> colors to help identify which blocks were contributing to adjacent 
> vertical white space areas, but the border itself would take up 
> vertical space and shift the content below it down. If several blocks 
> had borders, then the cumulative displacement was pronounced.
>
> Are there any border attribute settings that would mitigate this effect?
>
> Are background colors a better way to go?
>
> Ideally, it would be great of FOP had such an option to show various 
> kinds of object boundaries without disturbing the placement of objects.
>
> Best Regards,
>
> John
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.