Skip to content

Enable OPS.setHScale in the SVG backend #5843

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

Merged
merged 1 commit into from
Mar 16, 2015

Conversation

timvandermeij
Copy link
Contributor

The necessary code had already been implemented, but the operation had not yet been added to the switch statement. This resulted in a console message about an unimplemented operator. This patch makes http://kennemerlyceum.nl/attachments/article/4/Lessentabel%202014-2015.pdf render better since we now respect the horizontal text scale.

To verify:

This patch is the result of an effort to find out what we are missing in the SVG backend. I have tested many different PDF files and observed the console output to determine essential missing operations. This was one of them. From what I have found shading/gradients/SMask are the biggest missing features. We will benefit from running the tests with the SVG backend to catch differences with the canvas rendering.

@CodingFabian
Copy link
Contributor

great! +1 for merging.

Snuffleupagus added a commit that referenced this pull request Mar 16, 2015
Enable OPS.setHScale in the SVG backend
@Snuffleupagus Snuffleupagus merged commit f7b3852 into mozilla:master Mar 16, 2015
@Snuffleupagus
Copy link
Collaborator

Seems fine; thank you!

@timvandermeij timvandermeij deleted the svg-commands branch March 16, 2015 23:06
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 this pull request may close these issues.

3 participants