Skip to content

Commit 8dcdb19

Browse files
committed
Add new ignored test.
DEVSIX-1759
1 parent 939a11e commit 8dcdb19

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-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+
@Ignore("DEVSIX-1759")
249+
public void fontFamilyTest01() throws IOException, InterruptedException {
250+
runTest("fontFamilyTest01");
251+
}
252+
247253
private void runTest(String name) throws IOException, InterruptedException {
248254
String htmlPath = sourceFolder + name + ".html";
249255
String pdfPath = destinationFolder + name + ".pdf";
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<style type="text/css">
6+
@font-face {
7+
font-family: "돋움";
8+
src: url("w3c-test-fonts/valid-005.ttf") format("TrueType");
9+
}
10+
@font-face {
11+
font-family: 돋움;
12+
src: url("w3c-test-fonts/valid-005.ttf") format("TrueType");
13+
}
14+
@font-face {
15+
font-family: testFont;
16+
src: url("w3c-test-fonts/valid-005.ttf") format("TrueType");
17+
}
18+
body {
19+
font-size: 20px;
20+
}
21+
.withQuotes {
22+
font-family: "돋움";
23+
}
24+
.withoutQuotes {
25+
font-family: 돋움;
26+
} </style>
27+
</head>
28+
<body>
29+
<!--<p class="withQuotes">이 부드러운 프렌치 롤을 더 먹지만 차를 마 십니다.</p>-->
30+
<!--<p class="withoutQuotes">이 부드러운 프렌치 롤을 더 먹지만 차를 마 십니다.</p>-->
31+
<p class="testFont">이 부드러운 프렌치 롤을 더 먹지만 차를 마 십니다.</p>
32+
33+
</body>
34+
</html>

0 commit comments

Comments
 (0)