Hey, thank you for your awesome tool.
I got a simple HTML which use @font-face looks like this:
"zao zi gong fang fang hei" is normal, however "zao zi gong fang fang hei" has a warning, which is : "prince: https://f2e-asset.huo365.cn/uploads/fonts/fang_zheng_lv_jian_de_zi_ti_jian_ti_1508307216.ttf: warning: font has no family name"
And the PDF I got, the text in the second div is question mark.
I got a simple HTML which use @font-face looks like this:
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
@page {
prince-shrink-to-fit: auto
}
@font-face {
font-family: 'zao zi gong fang fang hei';
src: url('https://f2e-asset.huo365.cn/uploads/fonts/MF_FangHei__Noncommercial_.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'fang zheng lv jian';
src: url('https://f2e-asset.huo365.cn/uploads/fonts/fang_zheng_lv_jian_de_zi_ti_jian_ti_1508307216.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
</style>
</head>
<body>
<div style="font-family: 'fang zheng lv jian';">
你好
</div>
<div style="font-family: 'zao zi gong fang fang hei';">
八哥
</div>
</body>
</html>
"zao zi gong fang fang hei" is normal, however "zao zi gong fang fang hei" has a warning, which is : "prince: https://f2e-asset.huo365.cn/uploads/fonts/fang_zheng_lv_jian_de_zi_ti_jian_ti_1508307216.ttf: warning: font has no family name"
And the PDF I got, the text in the second div is question mark.