Closed Demosteneus closed 3 years ago
This is - if I understand you layout correctly - the expected behaviour.
Take the first table for example. It has a height of 12 pt and uses two grid rows.
If you set the grid height to 12pt (the leading of the default font), everything is fine.
Put <Trace grid="yes" gridallocation="yes"/>
for more info.
Does this help?
Changing the grid at this point is not really an option.
If I would change the leading of the font used, shouldn't that also work?
I have tried with a font like below, but this didn't improve.
<LoadFontfile name="R" filename="arial.ttf"/>
<DefineFontfamily name="default" fontsize="10" leading="10">
<Regular fontface="R"/>
</DefineFontfamily>
Did you select the font family?
You should either name it "text" to be the default or you need to tell the table to use the font family.
<Table fontfamily="default" >
I had the fontfamily="default" set for the paragraph, that didn't work. But setting fontfamily="default" to the table worked.
Thanks
Hi,
I noticed a strange behavior when printing some tables in a specific way. See below an explanation of the bug on a printed example:
The files needed to reproduce the issue: data.xml
layout.xml
If you delete the
<SetGrid height="10pt" nx="20"/>
the distance will be even more random and strange.