1
我是Visual Force的新手。这里的任何人谁有一个想法如何使用Arial的字体家族从表格中的数据作为BOLD的想法?我已经使用VFPage中的可用字体,但是当我将其声明为BOLD时。它不工作。上述问题出现在“SPAN”部分,并且呈现为PDF格式。希望你的帮助。Visual Force页面呈现为PDF格式:表格格式
这里是我做了VFPage:
<apex:page renderAs="pdf" showHeader="false" sidebar="false" applyBodyTag="false" >
<!--CSS and HTML-->
<head>
<style type="text/css" media="print" >
@page {
size: 8.5in 13in;
margin-bottom: 20%;
margin-right: 5%;
margin-left: 5%;
margin-top: 10%;
}
.page-break {
display:block;
page-break-after:always;
}
span{
font-weight: bold;
font-family: Arial Unicode MS;
}
</style>
</head>
<div class="page-break">
<apex:image url="{!$Resource.Logo}" width="130px" height="80px" style="padding-bottom: 30px"/>
<table width= "100%" style="border-spacing: 15px;">
<tr><td>This is made:</td></tr>
<tr><td>in <span>June 2017</span> of the Schedule.</td></tr>
</table>
</div>
</apex:page>