From 287ba210de908296665b6cc8e6673c04222153d7 Mon Sep 17 00:00:00 2001 From: Wei Lin Date: Mon, 21 Sep 2026 13:56:25 +0800 Subject: [PATCH] fix(java): avoid javadoc doclint errors in cloud font loader comment The loadSystemFontByFamily javadoc contained Windows paths with backslash-escaped angle brackets (\\, \\), which the release profile's javadoc step parses as unknown inline tags and fails the build with two errors. --- .../minipdf/internal/SimplePdfTextRenderer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/minipdf-java/minipdf/src/main/java/io/github/minisoftware/minipdf/internal/SimplePdfTextRenderer.java b/minipdf-java/minipdf/src/main/java/io/github/minisoftware/minipdf/internal/SimplePdfTextRenderer.java index 218cdbec..6ffa3093 100644 --- a/minipdf-java/minipdf/src/main/java/io/github/minisoftware/minipdf/internal/SimplePdfTextRenderer.java +++ b/minipdf-java/minipdf/src/main/java/io/github/minisoftware/minipdf/internal/SimplePdfTextRenderer.java @@ -227,10 +227,10 @@ public static PDFont loadSystemFont( /** * Loads a font by family name instead of file name, mirroring MiniPdf for * .NET's FindOfficeCloudFontByPreferredName: searches the Microsoft 365 - * cloud font cache (%LOCALAPPDATA%\Microsoft\FontCache\\CloudFonts - * \\*.ttf) and a small Windows\Fonts file-name map. The requested - * name may carry a weight suffix ("Source Sans Pro Bold") to prefer the - * matching sub-family face. + * cloud font cache (under %LOCALAPPDATA%/Microsoft/FontCache, in the + * per-version CloudFonts family subfolder) and a small Windows/Fonts + * file-name map. The requested name may carry a weight suffix ("Source + * Sans Pro Bold") to prefer the matching sub-family face. */ public static PDFont loadSystemFontByFamily( PDDocument document,