当前位置:网站首页>Confluence的PDF导出中文文档异常显示问题解决
Confluence的PDF导出中文文档异常显示问题解决
2022-07-02 22:59:00 【是在下了】

版本:
confluence 7.4.17
问题描述:
使用Conflunece导出文件,若文件中有中文,导出后会异常显示,无法观看。如下

解决方法:
1. 下载simhei.ttf字体;字体链接如下https://download.csdn.net/download/qq_33121481/85825420
2. 移步至站点管理->PDF导出语言支持
选择文件,然后上传安装

3. 至此导出中文的DPF就显示正常了,不过还可以对PDF的样式做进一步的调整
移步至站点管理->PDF格式样式,贴入如下样式。
@page
{
size: 210mm 297mm;
margin: 15mm;
}
body, p, li, td, table, tr, br, .bodytext, .stepfield {
word-wrap: normal;
}
.wiki-content div, .wiki-content p {
word-wrap: break-word;
line-height: 1.5;
}
h1 {
font-size: 50px;
}
div h2 {
font-size: 27px;
}
div h3 {
font-size: 24px;
}
div h4 {
font-size: 21px;
}
body * {
font-size: 16px;
}
table {
font-size: 12px;
width:100%;
max-width:100%;
}
body * {
line-height: 200%;
}边栏推荐
- 67 page overall planning and construction plan for a new smart city (download attached)
- Where can I check the foreign literature of economics?
- Chapter 4 of getting started with MySQL: data types stored in data tables
- 洛谷_P2010 [NOIP2016 普及组] 回文日期_折半枚举
- Slf4j + logback logging framework
- What are the projects of metauniverse and what are the companies of metauniverse
- zhvoice
- ArrayList分析2 :Itr、ListIterator以及SubList中的坑
- Difference between NVIDIA n card and amda card
- Talk with the interviewer about the pit of MySQL sorting (including: duplicate data problem in order by limit page)
猜你喜欢

What are the projects of metauniverse and what are the companies of metauniverse

Happy Lantern Festival, how many of these technical lantern riddles can you guess correctly?

Optimization of streaming media technology

Hit the industry directly! The propeller launched the industry's first model selection tool

Is the multitasking loss in pytoch added up or backward separately?

How to apply for company email when registering in company email format?

What is the official website address of e-mail? Explanation of the login entry of the official website address of enterprise e-mail

sysdig分析容器系统调用

秒杀系统设计

Which software can translate an English paper in its entirety?
随机推荐
Slf4j + logback logging framework
Practical series - free commercial video material library
leetcode 650. 2 keys keyboard with only two keys (medium)
Implement the foreach method of array
Which software can translate an English paper in its entirety?
How do educators find foreign language references?
附加:token;(没写完,别看…)
Go自定义排序
带角度的检测框 | 校准的深度特征用于目标检测(附实现源码)
Many to one, one to many processing
顶级 DevOps 工具链大盘点
yolov5detect. Py comment
洛谷_P1149 [NOIP2008 提高组] 火柴棒等式_枚举打表
67 page overall planning and construction plan for a new smart city (download attached)
yolov5train. py
What are the projects of metauniverse and what are the companies of metauniverse
Custom throttling function six steps to deal with complex requirements
[shutter] open the third-party shutter project
JS interviewer wants to know how much you understand call, apply, bind no regrets series
Is the multitasking loss in pytoch added up or backward separately?