mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-11-16 01:21:16 +01:00
fix the renderTextWithPerLetterVariations invocation after Copilot's commit
This commit is contained in:
parent
a5efaf3009
commit
72022c41ec
@ -492,7 +492,6 @@ public class WatermarkController {
|
||||
if (perLetterFont || perLetterColor || perLetterSize || perLetterOrientation) {
|
||||
renderTextWithPerLetterVariations(
|
||||
contentStream,
|
||||
document,
|
||||
textLines,
|
||||
wmFont,
|
||||
wmFontSize,
|
||||
@ -652,8 +651,6 @@ public class WatermarkController {
|
||||
boundsHeight = Float.parseFloat(boundsParts[3].trim());
|
||||
} catch (NumberFormatException e) {
|
||||
log.warn("Invalid bounds format: {}", request.getBounds(), e);
|
||||
return ResponseEntity.badRequest()
|
||||
.body(WebResponseUtils.error("Invalid bounds format. Expected four comma-separated numbers."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user