Skip to content

Regression - A redundant indent at line start if the font property changes #540

@mdykierek

Description

@mdykierek

The bug affects rendering code snippets (breaks indent), monotype text at the beginning of the lines, links at the beginning of the lines etc.

Consider following HTML:

<html><head><title>Title</title></head>
<body>
<h1>Dummy</h1>
<tt>
	<font color="#0000FF">1234</font> a<br />
	<font color="#0000FF">1234</font> b<br />
	<font color="#0000FF">1234</font> c<br />
</font></tt>
</body>

It used to render like this (ommiting the heading and colors):

1234 a
1234 b
1234 c

Now it renders:

1234 a
 1234 b
 1234 c

htmldoc -f out.pdf -t pdf14 --no-title --no-toc in.htm

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions