question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The loop at lib/line_wrapper.coffee line 77 might become an endless loop. In the example I have, this happens because @lineWidth was set to a negative value (columnGap is 18 and columns is 1, so I supposed this happened because options.width was negative.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:7

github_iconTop GitHub Comments

2reactions
shimaorecommented, Jul 4, 2018

Looks like we have one ticket with two issues. The original issue is still present in master, here’s a snippet to test:

PDF = require 'pdfkit'
doc = new PDF
doc.text 'hello world', 2078, 10 # loops
doc.text 'hello world', doc.page.width-12, 10 # loops
doc.text 'hello world', doc.page.width-120, 10 # OK
doc.end()
0reactions
alafrcommented, Jul 4, 2018

@shimaore I confirm your issue is still there. I don’t have time to fix it, but I will accept a pull request

Read more comments on GitHub >

github_iconTop Results From Across the Web

FP Loop Showing Stalls
FP Loop Showing Stalls. 9 clocks: Rewrite code to minimize stalls? Instruction Instruction Latency in producing result using result clock cycles.
Read more >
Sturdy Built Free Stall Loops - USAgNet
The Conventional Free Stall Loop Divider is most often used in barns for younger herds, although it is suited for any herd size....
Read more >
Dairy Cow Loop Stalls - Daritech Inc
Loop Stalls · Built with bolt together features to reduce rusting ​and weld fatigue · Designed with flexible joint in concrete to eliminate...
Read more >
Negative-g stall loop - The Roller Coaster and Flat Ride Wiki
A negative-g stall loop is an inversion that is similar to a norwegian loop. Unlike a norwegian loop, riders enter a twisted drop, ......
Read more >
We know that a wing stalls at high angle of attack yet ... - Quora
Originally answered “We know that a wing stalls at high angle of attack yet there are aircraft that can perform maneuvers (for example,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found