Skip to content

Commit 5b62446

Browse files
committed
Improve Warnings
1 parent 09c48d5 commit 5b62446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SwiftDraw/LayerTree.CommandGenerator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,13 +444,13 @@ extension LayerTree.CommandGenerator {
444444

445445
func logUnsupportedGradient() {
446446
guard !hasLoggedGradientWarning else { return }
447-
print("Warning:", "Gradients including transparency are unsupported", to: &.standardError)
447+
print("Warning:", "PDF does not support gradients with stop-opacity", to: &.standardError)
448448
hasLoggedGradientWarning = true
449449
}
450450

451451
func logUnsupportedMask() {
452452
guard !hasLoggedMaskWarning else { return }
453-
print("Warning:", "Masks are unsupported", to: &.standardError)
453+
print("Warning:", "PDF does not support transparency masks", to: &.standardError)
454454
hasLoggedMaskWarning = true
455455
}
456456
}

0 commit comments

Comments
 (0)