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

WeasyPrint crashes when there's a local() with a font name with a space in it and no quotes around in CSS #487

tulphoon opened this issue Jul 20, 2017 · 2 comments


Copy link

@tulphoon tulphoon commented Jul 20, 2017

minimum test case:
@font-face { font-family: "Test"; src: local(Test Test) }

@liZe liZe added bug crash labels Jul 20, 2017
Copy link

@liZe liZe commented Jul 20, 2017

It's also broken with local() for a slightly different reason.

liZe added a commit that referenced this issue Jul 20, 2017
@liZe liZe closed this in a9a99f6 Jul 20, 2017
Copy link

@liZe liZe commented Jul 20, 2017

The first use case was broken when WeasyPrint was ported to tinycss2. The second one was broken since the beginning. Thanks for reporting!

@liZe liZe added this to the v0.40 milestone Jul 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.