unidoc / unipdf

Golang PDF library for creating and processing PDF files (pure go)
https://unidoc.io
Other
2.54k stars 250 forks source link

Fix table right-aligned content #348

Closed adrg closed 4 years ago

adrg commented 4 years ago

Addresses https://github.com/unidoc/unipdf/issues/347.


This change is Reviewable

codecov[bot] commented 4 years ago

Codecov Report

Merging #348 into development will increase coverage by 3.83%. The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development     #348      +/-   ##
===============================================
+ Coverage        52.64%   56.48%   +3.83%     
===============================================
  Files              236      236              
  Lines            45715    45715              
===============================================
+ Hits             24067    25822    +1755     
+ Misses           18545    16563    -1982     
- Partials          3103     3330     +227     
Impacted Files Coverage Δ
creator/table.go 87.52% <100.00%> (ø)
internal/jbig2/document/segments/text-region.go 41.05% <0.00%> (+0.22%) :arrow_up:
...ernal/jbig2/document/segments/symbol-dictionary.go 38.49% <0.00%> (+0.23%) :arrow_up:
internal/jbig2/bitmap/bitmap.go 76.76% <0.00%> (+0.28%) :arrow_up:
model/writer.go 75.63% <0.00%> (+0.42%) :arrow_up:
internal/jbig2/document/segments/generic-region.go 47.75% <0.00%> (+1.18%) :arrow_up:
fdf/parser.go 40.27% <0.00%> (+1.38%) :arrow_up:
internal/jbig2/document/segments/kind.go 11.59% <0.00%> (+1.44%) :arrow_up:
model/reader.go 46.60% <0.00%> (+1.63%) :arrow_up:
contentstream/contentstream.go 76.36% <0.00%> (+1.81%) :arrow_up:
... and 47 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ad2a1e9...64561af. Read the comment docs.