diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java index 8460a5b97..f1443ccfe 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java @@ -680,10 +680,16 @@ public final class HSLFTextParagraph implements TextParagraph paraList : sl.getTextParagraphs()) { + for (HSLFTextParagraph htp : paraList) { + for (HSLFTextRun htr : htp) { + String actFamily = htr.getFontFamily(); + assertEquals(expFamily, actFamily); + } + } + } + + ppt.close(); + } private static HSLFSlideShow open(String fileName) throws IOException { File sample = HSLFTestDataSamples.getSampleFile(fileName); diff --git a/test-data/slideshow/bug55030.ppt b/test-data/slideshow/bug55030.ppt new file mode 100644 index 000000000..1f2f22b00 Binary files /dev/null and b/test-data/slideshow/bug55030.ppt differ