From f5e7d62f90f5eb88afad45d56017c42835149d0c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 28 Dec 2025 21:37:23 +0100 Subject: Generate code block documentation using FLTK (#1353) The Doxygen-to-pdf toolchain can not easily generate pdf's with Japanese and Chinese characters. This patch generates code blocks by rendering them in FLTK. --- documentation/src/unicode.dox | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'documentation/src/unicode.dox') diff --git a/documentation/src/unicode.dox b/documentation/src/unicode.dox index b2eb7b872..b640e170e 100644 --- a/documentation/src/unicode.dox +++ b/documentation/src/unicode.dox @@ -20,6 +20,16 @@ are not yet implemented. \section unicode_quick_start Quick Start +International code test for HTML and PDF: + +\code_international{"generated/unicode_about.png"} +// This is a test +// 日本語テストテキスト +// 中文测试文本 +// Ελληνικό κείμενο δοκιμής +\endcode_international + + For most applications, you simply need to ensure your text is UTF-8 encoded: \code -- cgit v1.2.3