[jira] [Created] (FOP-2495) Missing migration documentation from FOP 1.x
MH created FOP-2495: --- Summary: Missing migration documentation from FOP 1.x Key: FOP-2495 URL: https://issues.apache.org/jira/browse/FOP-2495 Project: FOP Issue Type: Bug Components: documentation Affects Versions: 2.0 Environment: WIndows, Java 8, FOP 1.0 Reporter: MH Priority: Blocker Because of bug FOP-2177 wie couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - now deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FOP-2495) Missing migration documentation from FOP 1.x
[ https://issues.apache.org/jira/browse/FOP-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] MH updated FOP-2495: Description: Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - now deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! was: Because of bug FOP-2177 wie couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - now deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! Missing migration documentation from FOP 1.x Key: FOP-2495 URL: https://issues.apache.org/jira/browse/FOP-2495 Project: FOP Issue Type: Bug Components: documentation Affects Versions: 2.0 Environment: WIndows, Java 8, FOP 1.0 Reporter: MH Priority: Blocker Labels: documentation Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - now deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I
[jira] [Updated] (FOP-2495) Missing migration documentation from FOP 1.x
[ https://issues.apache.org/jira/browse/FOP-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] MH updated FOP-2495: Description: Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade our Java code from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - no deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! was: Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - no deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! Missing migration documentation from FOP 1.x Key: FOP-2495 URL: https://issues.apache.org/jira/browse/FOP-2495 Project: FOP Issue Type: Bug Components: documentation Affects Versions: 2.0 Environment: WIndows, Java 8, FOP 1.0 Reporter: MH Priority: Blocker Labels: documentation Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade our Java code from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - no deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java
[jira] [Updated] (FOP-2495) Embedding: missing migration documentation from FOP 1.x
[ https://issues.apache.org/jira/browse/FOP-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] MH updated FOP-2495: Summary: Embedding: missing migration documentation from FOP 1.x (was: Missing migration documentation from FOP 1.x) Embedding: missing migration documentation from FOP 1.x --- Key: FOP-2495 URL: https://issues.apache.org/jira/browse/FOP-2495 Project: FOP Issue Type: Bug Components: documentation Affects Versions: 2.0 Environment: WIndows, Java 8, FOP 1.0 Reporter: MH Priority: Blocker Labels: documentation Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade our Java code from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - no deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FOP-2495) Missing migration documentation from FOP 1.x
[ https://issues.apache.org/jira/browse/FOP-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] MH updated FOP-2495: Description: Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - no deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! was: Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - now deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! Missing migration documentation from FOP 1.x Key: FOP-2495 URL: https://issues.apache.org/jira/browse/FOP-2495 Project: FOP Issue Type: Bug Components: documentation Affects Versions: 2.0 Environment: WIndows, Java 8, FOP 1.0 Reporter: MH Priority: Blocker Labels: documentation Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - no deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just
[jira] [Commented] (FOP-2495) Embedding: missing migration documentation from FOP 1.x
[ https://issues.apache.org/jira/browse/FOP-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14612020#comment-14612020 ] Jess Holle commented on FOP-2495: - I have to concur with the original complaint here -- the level of API change from 1.1 to 2.0 without any form of migration guidance whatsoever makes migrating calling code quite challenging -- and needlessly so. I've got all my calling code compiling and apparently working, but I'm still not actually clear that the new code is doing the equivalent things to the old code. I'm sure I missed some test cases and there's no high-level guidance as to how to safely replace calls to xx.yy() that no longer exists, etc. Embedding: missing migration documentation from FOP 1.x --- Key: FOP-2495 URL: https://issues.apache.org/jira/browse/FOP-2495 Project: FOP Issue Type: Bug Components: documentation Affects Versions: 2.0 Environment: WIndows, Java 8, FOP 1.0 Reporter: MH Priority: Blocker Labels: documentation Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade our Java code from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - no deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2495) Embedding: missing migration documentation from FOP 1.x
[ https://issues.apache.org/jira/browse/FOP-2495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14612047#comment-14612047 ] MH commented on FOP-2495: - E.g. URIResolver: FOP 1.0: FoUserAgent.setURIResolver(javax.xml.transform.URIResolver) In FOP 2.0 (https://xmlgraphics.apache.org/fop/2.0/embedding.html): - Set a URIResolver for custom URI resolution. By supplying a JAXP URIResolver you can add custom URI resolution functionality to FOP. For example: // myResourceResolver is a org.apache.xmlgraphics.io.ResourceResolver FopFactoryBuilder builder = new FopFactoryBuilder(baseURI, myResourceResolver); ... but FopFactoryBuilder does not accept javax.xml.transform.URIResolver but requires a org.apache.xmlgraphics.io.ResourceResolver that is an interface ... probably org.apache.fop.apps.io.InternalResourceResolver that has no API to use a javax.xml.transform.URIResolver Oh boy ... Embedding: missing migration documentation from FOP 1.x --- Key: FOP-2495 URL: https://issues.apache.org/jira/browse/FOP-2495 Project: FOP Issue Type: Bug Components: documentation Affects Versions: 2.0 Environment: WIndows, Java 8, FOP 1.0 Reporter: MH Priority: Blocker Labels: documentation Because of bug FOP-2177 we couldn't upgrade form FOP 1.0 to FOP 1.1. FOP 2.0 has solved this bug (tested with standalone FOP scripts). Now we would like to upgrade our Java code from FOP 1.0 to FOP 2.0. The Upgrading page (https://xmlgraphics.apache.org/fop/2.0/upgrading.html) says You should encounter very few issues in upgrading from FOP 1.0, except as noted in the following: The truth is completely different: starting by replacing fop.jar, our code gets dozens of compiler errors! Many methods are simply gone: FopFactory.newInstance() FoUserAgent.setBaseURL(String); FopFactory.getFontManager().setFontBaseURL(String) FopFactory.setURIResolver(URIResolver); etc. The javadocs from 1.1 to 2.0 simple changed - no deprecated methods, no hints how to replace old methods. The FOP 2.0 embedding page (https://xmlgraphics.apache.org/fop/2.0/embedding.html) just shows simple examples to start from the ground. I can't find any migration help how to replace old code. E.g. how can I set the font base? FopFactory.getFontManager().setFontBaseURL(String) is gone and I can't find any equivalent code for FOP 2.0! This is a major bug in FOP 2.0 as API changes are not documented to upgrade from FOP 1.x Java API to FOP 2.0! Now I just can search and try and experiment if I get our old code somehow running with all those undocumented API changes. Can you please state a migration documentation for all methods (method signatures) that don't exist anymore? We can't start coding all over again from scratch. Thank you very much! -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FOP-2491) FOP 2.0 cannot support open-type font
[ https://issues.apache.org/jira/browse/FOP-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14612099#comment-14612099 ] Thanasis Giannimaras commented on FOP-2491: --- Using embedding-mode=subset i am getting a blank page pdf. For embedding-mode=full the output is correct. You may want to use that option until the issue is fixed. FOP 2.0 cannot support open-type font - Key: FOP-2491 URL: https://issues.apache.org/jira/browse/FOP-2491 Project: FOP Issue Type: Bug Affects Versions: 2.0 Environment: FOP: 2.0 Open Font: Noto-Sans Cjk (https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip) Reporter: Leo Yang Symptom: Based on FOP 2.0 release, the open-type font can be embedded into PDF document, however, based on the testing with FOP 2.0, the google-noto-sans-Cjk font cannot be embedded into PDF document. How to repeat: 1. Get FOP 2.0 library. 2. Get Google-Noto-Sans from https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKTC-hinted.zip. 3. Set the fop.xconf as following: font embed-url=file:///C:/Font/NotoSans.otf embedding-mode=subset font-triplet name=Noto Sans CJK TC Regular style=normal weight=normal/ /font 4. Set the FOP as following: ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master margin=2cm page-width=21.0cm page-height=29.7cm master-name=A4-portrait fo:region-body/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=A4-portrait fo:flow flow-name=xsl-region-body fo:block font-family=Noto Sans CJK TC RegularHello Noto-OTF!/fo:block /fo:flow /fo:page-sequence /fo:root 5. Generate the PDF, there is no error reported. 6. Open the PDF file in Acro-Reader, it will report the cannot extract the embedded font error. -- This message was sent by Atlassian JIRA (v6.3.4#6332)