Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Dec 5, 2020
1 parent f82bdc7 commit f65664d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ You will need the Java Development Kit (JDK) version 8, Update 241 (8u241) or hi

[source,sh]
----
java -Xss5m -Xmx1024m -jar target/mn2pdf-1.24.jar --xml-file <XML-FileName> --xsl-file <XSLT-FileName> --pdf-file <Output-PDF-FileName>
java -Xss5m -Xmx1024m -jar target/mn2pdf-1.25.jar --xml-file <XML-FileName> --xsl-file <XSLT-FileName> --pdf-file <Output-PDF-FileName>
----

e.g.

[source,sh]
----
java -Xss5m -Xmx1024m -jar target/mn2pdf-1.24.jar --xml-file tests/G.191.xml --xsl-file tests/itu.recommendation.xsl --pdf-file tests/G.191.pdf
java -Xss5m -Xmx1024m -jar target/mn2pdf-1.25.jar --xml-file tests/G.191.xml --xsl-file tests/itu.recommendation.xsl --pdf-file tests/G.191.pdf
----


Expand All @@ -46,7 +46,7 @@ Update version in `pom.xml`, e.g.:
----
<groupId>com.metanorma.fop</groupId>
<artifactId>mn2pdf</artifactId>
<version>1.24</version>
<version>1.25</version>
<name>Metanorma XML to PDF converter</name>
----

Expand All @@ -57,8 +57,8 @@ Tag the same version in Git:

[source,xml]
----
git tag v1.24
git push origin v1.24
git tag v1.25
git push origin v1.25
----

Then the corresponding GitHub release will be automatically created at:
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/metanorma/fop/fontConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ private List<FOPFont> getFOPfonts() {
public List<FOPFont> getUsedFonts ()
{
List<FOPFont> fonts = fopFonts.stream()
.filter(fopFont -> fopFont.isUsing())
.filter(fopFont -> fopFont.isUsing() || fopFont.getSource().equals("manifest"))
.collect(Collectors.toList());

return fonts;
Expand Down

0 comments on commit f65664d

Please sign in to comment.