I am working on a stylesheet and I noticed that my HTML output has very narrow columns for the tables, when I checked them I noticed that the value for width is set to px. In the source it was set to picas.
Arbortext Editor XML
<colspec colname="col1" colwidth="12.80pi"/>
<colspec colname="col2" colwidth="12.00pi"/>
<colspec colname="col3" colwidth="13.00pi"/>
Styler HTML Output
|<col style="width: 12.8px; ">|
|<col style="width: 12px; ">|
|<col style="width: 13px; ">|
Obviously, this conversion of units is way off. I am hoping there is a fix for this issue in Styler. Any ideas?
Solved! Go to Solution.
Column widths are converted to pixels in HTML type output, but as you note picas are being viewed as a 1 to 1 conversion. This is incorrect.
1pi should be 16px
Correct conversions for points is 1pt=1.3px
for inches is 1in = 96px
for mm is 1mm = 3.8px