Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add usePageCss option, add toCanvasList and toImage method for large html #473

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Aug 16, 2024

  1. feat: add option to resolve problems which caused by html that has la…

    …rge amount of sub nodes
    hzsrc committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    d5c17e1 View commit details
    Browse the repository at this point in the history
  2. fix: if ratio=2 and style.border='1px', in html it is actually render…

    …ed to 1px, but in <img src="svg"> it is rendered to 2px. Then height is different and the bottom 1px is lost, 10 nodes will lost 10px.
    hzsrc committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    f5afad4 View commit details
    Browse the repository at this point in the history
  3. fix: use getPixelRatio()

    hzsrc committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    5b7cfe2 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. feat: add toCanvasList and toImage method to get rid of the limit…

    …ation of canvas size, so this can export a very large htm.
    
    And use a ``getMaxCanvasHeight` method to raise the canvas size limit from 16384 to 65535(Chrome) or 32767(Firefox)
    hzsrc committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    8ea57e6 View commit details
    Browse the repository at this point in the history
  2. fix: img missing alt

    hzsrc committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    56b099e View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. fix: url(...) in css file lose efficacy

    hzsrc committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    fc79106 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Support image in html or image/font in <style>

    hzsrc committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    2ea87c3 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. innerText

    hzsrc committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    31a2400 View commit details
    Browse the repository at this point in the history
  2. fix: html encode

    hzsrc committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    93b5841 View commit details
    Browse the repository at this point in the history
  3. 避免图像底部不完整的问题

    hzsrc committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    4b37fe0 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. fix: add checkTail to whether the svg tail is integrated.

    This will fix some problems that the last page of exported pdf is truncated.
    hzsrc committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    a538140 View commit details
    Browse the repository at this point in the history
  2. alt

    hzsrc committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    7cba196 View commit details
    Browse the repository at this point in the history