Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Making Sudoku Puzzles Using PDF::API2

by talexb (Canon)
on Feb 21, 2006 at 16:35 UTC ( #531733=note: print w/replies, xml ) Need Help??

in reply to Making Sudoku Puzzles Using PDF::API2

These are all good observations, but they just follow on from PostScript, which is what the PDF is based on.

In 1987 I started working at a desktop publishing company and was assigned the job of rationalizing the printer drivers. I quickly discovered that while most laser printers had their origin at the top left corner, the Apple LaserWriter (a PostScript printer) had its origin at the bottom left corner. So for most printers, going down the page meant increasing y values, but for the LaserWriter it meant a decreasing y value.

As you describe, joining lines could be done by filling out a triangle (meaning lines meeting at a small angle left a big elbow), by chopping off the triangle (making lines meeting at 90 degrees have a 45 degree corner) or by having a rounded corner. PostScript is very flexible that way, but can also be quite CPU-intensive.

Adobe's Red Book and Blue Book were my PostScript bibles back then.

Alex / talexb / Toronto

"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

  • Comment on Re: Making Sudoku Puzzles Using PDF::API2

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://531733]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2020-10-24 03:58 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (242 votes). Check out past polls.