racket / racket/scribble

Printing SVGs

Open
#158 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
250
Forks
102
Avg merge
11d 11h
Merged PRs (30d)
1

Description

Prompted by a problem printing a html document containing SVGs in Chrome (the scaling is wrong) I decided to check whether the svgs on

http://docs.racket-lang.org/teachpack/2htdpimage-guide.html?q=htdp

print correctly. They do -- but it seems they are using objects and not img elements?
Is there are reason for this? Given the recent change in Scribble I was expecting to see imgs.

https://github.com/racket/scribble/commit/1d8221a321708ab5475dd02168a7099838a57c08

/Jens Axel

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the generated HTML at the linked 2htdpimage-guide page and compare its SVG embedding with the Scribble change in commit 1d8221a321708ab5475dd02168a7099838a57c08. Determine whether using object elements instead of img elements is intentional and whether it causes incorrect Chrome printing; done means the behavior and any required correction are clearly established.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.