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

Export single web page width/height is NaN #604

Closed
dwatow opened this issue Feb 6, 2020 · 2 comments
Closed

Export single web page width/height is NaN #604

dwatow opened this issue Feb 6, 2020 · 2 comments

Comments

@dwatow
Copy link

dwatow commented Feb 6, 2020

  • Operating system: macOS Mojave 10.14.6
  • Pencil version: 3.0.1

because width/height is NaN, every link not match the position.

export result:

image

source code:

pencil/app/pencil-core/templates/HTML/default.HTML/StyleSheet.xslt

                <img src="{@rasterized}"
                    width="{p:Properties/p:Property[@name='width']/text() * p:Properties/p:Property[@name='bitmapScale']/text()}"
                    height="{p:Properties/p:Property[@name='height']/text() * p:Properties/p:Property[@name='bitmapScale']/text()}"
                    usemap="#map_{p:Properties/p:Property[@name='fid']/text()}"/>
@dwatow dwatow changed the title Export single web page Export single web page width/height is NaN Feb 6, 2020
@swiftech
Copy link

So, any workaround for this issue?

@dwatow
Copy link
Author

dwatow commented Apr 8, 2022

#610
#713

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants