Skip to content

Commit 759200f

Browse files
committed
Fix for #81
1 parent eeff74c commit 759200f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
1212
LabelNumerals = "2e475f56-4567-5c41-94ff-3f69a29378f9"
1313
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
1414
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
15+
OpenSSL_jll = "458c3c95-2e84-50aa-8efc-19380b2a3a95"
1516
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1617
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1718
Rectangle = "9a9db56c-8f71-5460-add5-cb450131785e"
1819
RomanNumerals = "37834d88-8936-577c-80c9-1066ecf66832"
20+
Zlib_jll = "83775a58-1f1d-513f-b197-d71354ab007a"
1921

2022
[compat]
2123
AbstractTrees = "0.2.1"

src/PDPageElement.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,8 +615,7 @@ function show_text_layout!(io::IO, state::GState)
615615
xw = xwr*ht
616616
nc = length(tlayout.text)
617617
w = width(tlayout)/nc
618-
@assert w > 0.1f0
619-
@assert h > 0.1f0
618+
(w > 0.1f0 && h > 0.1f0) || continue
620619
if (ht > h)
621620
while (y > tlayout.lty)
622621
print(io, '\n')

0 commit comments

Comments
 (0)