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.

Bold or Italic incorrect adds new line in pdf

See original GitHub issue

Version: v.1.0.6

It seems that using mutiple tags translates poorly to pdfmake.

eg. if this data sent to html-to-pdfmake:

<ul><li> Excepturi quos <strong>accusantium</strong> autem impedit. </li></ul>

It gets printed in the pdf as three lines:

  • Excepturi quos accusantium autem impedit.

It should be:

  • Excepturi quos accusantium autem impedit.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

Aymkdncommented, Oct 19, 2021

It should be resolved with v2.3.5

Aymkdncommented, Sep 14, 2019

That should be resolved with v1.0.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing or garbled text when converting or combining PDF ...
Follow these steps if text does not display or print correctly after you convert or combine documents in Adobe Acrobat 9.
Read more >
Random charater spacing | Adobe Acrobat
I have just realised there is a problem with the font spacing when I edit a word using the touchup text tool, this...
Read more >
PDF Font Mapping | 5 Reasons Fonts Don't Display Right
Why are PDF Fonts Not Displaying Correctly? · The 14 standard PDF fonts are Courier (Regular, Oblique, Bold, Bold Oblique), Helvetica (Regular, ...
Read more >
Publisher 2016 character spacing wrong if bold or italic on ...
The problem is that if the font style changes between regular, bold, italic or both anywhere within the line, the character spacing seems...
Read more >
How to copy text out of a PDF without losing formatting?
Formatting like bold and italics are lost; soft line breaks within a paragraph of text are converted to hard line breaks; dashes to...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found