Hi @马先生 ,
To make use of an installed font in your PDF Export style sheet (CSS) refer to it by the font-family ConfluenceInstalledFont.
https://confluence.atlassian.com/doc/create-a-pdf-in-another-language-175473.html
在样式表中更改后全局导出pdf仍然会出现代码块中的中文注释无法显示,注:代码块外的中文没有问题
@font-face { src: url(file:///usr/share/fonts/Consolas.ttf); -fs-pdf-font-embed: embed; } .code pre, .preformatted pre, tt, kbd, code, samp { font-family: Consolas, monospace; font-size: 9pt; }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Start watching this issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.