Open njhuanghua opened 5 years ago
Modify this line in your local file: https://github.com/asciidocfx/AsciidocFX/blob/master/conf/docbook-config/fo-pdf.xsl#L127
Change 'alignment' to one of you desire here http://docbook.sourceforge.net/release/xsl/current/doc/fo/alignment.html
Thanks, but it does not work. The line 127 "alignment" parameter is used to specify the horizontal alignment of body text, but what I would like to specify is the vertical alignment of the texts written in the different fonts. Can you see the snapshot in my question?
Can you ask it in the FOP email group? https://xmlgraphics.apache.org/fop/maillist.html
When I'm writing the English and Chinese fonts in the same line, the two fonts are not aligned correctly in generated PDF. You can see that the Chinese font is lower than the English font. Sometimes, there is a big space between the two English words in the PDF, but in the source .adoc file, only one space between the two English words. I cannot find any fields that can be configured in the fo-pdf.xsl file. Can you give me some advices? Thanks a lot.