字体已经正常设置为宋体,pdf导出时代码块里面的中文注释内容无法显示,请问如何解决这个问题
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
不懂css,所用想请问具体的代码如何实现呢
在样式表中更改后全局导出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; }
Start watching this issue
https://jira.atlassian.com/browse/CONFSERVER-77137
It looks like you're new here. Sign in or register to get started.