aboutsummaryrefslogtreecommitdiffstats
path: root/fop-core/src/test
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2022-01-21 09:55:14 +0000
committerSimon Steiner <ssteiner@apache.org>2022-01-21 09:55:14 +0000
commit99601efc607d50f491d8f08c56d14f01d9a5fb82 (patch)
treeb4a612357b93c3888e9c0eb2bc3c9056a6951b25 /fop-core/src/test
parent83dbac3d289da375d43ae22976f20e4eaba22f1b (diff)
downloadxmlgraphics-fop-99601efc607d50f491d8f08c56d14f01d9a5fb82.tar.gz
xmlgraphics-fop-99601efc607d50f491d8f08c56d14f01d9a5fb82.zip
FOP-3023: Simulated bold error in Adobe Reader thanks to Nicholas Moser
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1897288 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop-core/src/test')
-rw-r--r--fop-core/src/test/java/org/apache/fop/render/pdf/PDFPainterTestCase.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/fop-core/src/test/java/org/apache/fop/render/pdf/PDFPainterTestCase.java b/fop-core/src/test/java/org/apache/fop/render/pdf/PDFPainterTestCase.java
index 59766c985..f72e227db 100644
--- a/fop-core/src/test/java/org/apache/fop/render/pdf/PDFPainterTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/render/pdf/PDFPainterTestCase.java
@@ -167,9 +167,8 @@ public class PDFPainterTestCase {
pdfPainter.drawText(0, 0, 0, 0, null, "test");
assertEquals(sb.toString(), "BT\n/f1 0.012 Tf\n1 0 0.3333 -1 0 0 Tm [<0000000000000000>] TJ\n");
- verify(pdfContentGenerator).add("q\n");
verify(pdfContentGenerator).add("2 Tr 0.31543 w\n");
- verify(pdfContentGenerator).add("Q\n");
+ verify(pdfContentGenerator).add("0 Tr\n");
}
@Test