Skip to content

Releases: waka/sghtmltopdf

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 06:20
3312c8f

What's Changed

  • Update README and docs, add badges in README by @waka in #63
  • Keep floats with non-round percentage widths on one row (#64) by @cmer in #67
  • Keep an image's aspect ratio under min-*/max-* (#68) by @dai199 in #69
  • Support display: inline-flex (#73) by @cmer in #83
  • Parse ::backdrop, ::file-selector-button, ::placeholder, ::selection and ::marker as never-matching by @cmer in #78
  • Resolve percentage heights against a containing block with a definite height (#74) by @cmer in #81
  • Keep auto-layout table columns at or above their min-content width (#70) by @cmer in #79
  • Grow nowrap tables and shrink-to-fit boxes to their min-content width (#71) by @cmer in #85
  • Measure a block image at its used width, not its natural width, for intrinsic sizes (#77) by @cmer in #80
  • Resolve custom properties through the cascade and inheritance (#75) by @cmer in #82
  • Fix vertical-align: middle and top/bottom on inline images and inline-block boxes by @dai199 in #92
  • Ignore the trailer /ID when comparing PDFs in the Color Level 4 test by @waka in #93
  • Draw inline elements (#76) by @cmer in #84
  • Allow rounding slack when checking whether a word fits on the line by @dai199 in #94
  • Start the next line below a tall inline-block when the line wraps or breaks by @dai199 in #95
  • Support the CSS-wide keywords inherit, initial and unset by @waka in #98
  • Parse :host and :host() as never-matching (#102) by @cmer in #104
  • Clip an outer box-shadow to outside the border box (#105) by @cmer in #107
  • Paint thead, tbody and tfoot backgrounds (#106) by @cmer in #108
  • Register custom properties with @Property (#88) by @cmer in #109
  • Update rustls by @waka in #114
  • Honour break-after: avoid and break-before: avoid between block siblings by @radwo in #112
  • link anchors that generate their own box by @waka in #115
  • Centre table cells vertically by default by @dai199 in #99
  • Stop adding an empty line after a trailing
    by @dai199 in #100
  • Slice rounded, grid and table borders at page breaks (#101) by @cmer in #103
  • Keep changelog entries in changelog.d/ to stop CHANGELOG.md conflicts by @Faq in #111
  • Go to v0.6.0 by @waka in #120

New Contributors

Full Changelog: v0.5.1...v0.6.0

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 23 Sep 08:04
57f5d33

What's Changed

  • Translate all code comments to English by @cmer in #46
  • Accept header and footer HTML content directly by @ehutzelman in #60
  • Prepare to publish for crates.io by @waka in #61
  • Go to v0.5.1 by @waka in #62

Full Changelog: v0.5.0...v0.5.1

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 11:04
9d40fda

What's Changed

  • Support colour emoji: bitmap (CBDT/CBLC, sbix) and COLR/CPAL v0 by @cmer in #47
  • Restore encoding-phase performance by @waka in #52
  • Support embedded images in HTML headers and footers by @ehutzelman in #54
  • Add x86_64-darwin in the build matrix by @ThomasSevestre in #55
  • Update rustls by @waka in #57
  • Fix total page counts in HTML headers and footers by @ehutzelman in #56
  • Add a benchmark suite with a deterministic regression gate by @cmer in #53
  • Go to v0.5.0 by @waka in #58

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 05 Sep 12:58
7b748ca

What's Changed

  • Make text-align move inline images and inline-block boxes by @cmer in #22
  • Flatten @layer blocks instead of dropping them by @cmer in #23
  • Split tall flex containers and paint later grid fragments by @cmer in #26
  • Move the content of a position: relative box together with its background and border by @cmer in #35
  • Fix three pagination bugs that put content in the wrong place by @waka in #48
  • Fix sghtmltopdf_image_tag to be able to load asset_path by @waka in #49
  • Fixed url() bug in sghtmltopdf_stylesheet_link_tag by @waka in #50
  • Go to v0.4.0 by @waka in #51

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Aug 11:19
277da62

What's Changed

  • Go to 0.2.0 by @waka in #13
  • Disabled default behavior where Taffy rounds the final layout result by @waka in #16
  • Accept calc() nested inside calc() by @cmer in #24
  • Parse nested style rules (CSS Nesting) instead of silently dropping them by @cmer in #27
  • Map logical box properties to physical sides under horizontal-tb LTR by @cmer in #30
  • Render SVG as vector graphics (img src / background-image) via svg2pdf by @julik in #14
  • &:hoverを索引から引けるように・SVGのメモリ改善・trailerに/ID書き出し by @waka in #38
  • Emit /CMapName and /CIDSystemInfo in ToUnicode CMap stream dictionary by @julik in #36
  • Fix to missing outside ::marker on the first li of an ol by @waka in #39
  • Count table columns from the rowspan-aware grid walk instead of per-row colspan sums by @waka in #40
  • Derive line-height: normal from the font's own metrics instead of a fixed 1.2em by @waka in #41
  • Generate anonymous table boxes so table content is not dropped without an explicit row by @waka in #42
  • Go to 0.3.0 by @waka in #43

New Contributors

  • @cmer made their first contribution in #24

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 16 Aug 12:01

What's Changed

  • Wrote about rendering engine to README by @waka in #1
  • docs: correct wkhtmltopdf's default margins and the bare-number unit by @jjb in #2
  • Fix whitespace handling between inline elements, classify Unicode spaces per CSS/UAX #14, support by @julik in #6
  • Fixed text-align: justify, whitespace: pre by @waka in #7
  • Fix nested grid width, absolute item in flex item, @font-face url by @waka in #8
  • Check whether has_glyph has glyf/CFF/CFF2, then output tofu string and warning if do not have by @waka in #9
  • Support :has() / :is() / :where() by @waka in #10
  • Support :color-mix() by @waka in #11

New Contributors

  • @jjb made their first contribution in #2
  • @julik made their first contribution in #6

Full Changelog: v0.1.1...v0.2.0

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 08 Aug 15:40

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Aug 14:58