Skip to content

Commit a1f66d2

Browse files
committed
Add a test related to font-family processing.
DEVSIX-1760
1 parent 16ea81e commit a1f66d2

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

src/test/java/com/itextpdf/html2pdf/css/FontFaceTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ public void incorrectFontNameTest04() throws IOException, InterruptedException {
244244
runTest("incorrectFontNameTest04");
245245
}
246246

247+
@Test
248+
// TODO DEVSIX-1760
249+
public void cannotProcessSpecifiedFontTest01() throws IOException, InterruptedException {
250+
runTest("cannotProcessSpecifiedFontTest01");
251+
}
252+
247253
@Test
248254
@Ignore("DEVSIX-1759")
249255
public void fontFamilyTest01() throws IOException, InterruptedException {
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<html>
2+
<head>
3+
<style>
4+
p {
5+
font-family: 돋움;
6+
font-weight: bold;
7+
}
8+
</style>
9+
</head>
10+
<body>
11+
<p>
12+
In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since.
13+
'Whenever you feel like criticizing anyone,' he told me, 'just remember that all the people in this world haven't had the advantages that you've had.'
14+
In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since.
15+
'Whenever you feel like criticizing anyone,' he told me, 'just remember that all the people in this world haven't had the advantages that you've had.'
16+
</p>
17+
</body>
18+
</html>

0 commit comments

Comments
 (0)