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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.