xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oskar Berggren <oskar.bergg...@gmail.com>
Subject Re: Issue with title page
Date Thu, 21 Nov 2019 00:16:55 GMT
Here is some documentation about intentional changes to the title
formatting:
http://www.sagehill.net/docbookxsl/TitleFontSizes.html

Is there a possibility that your local default stylesheet file have been
modified somehow?

Or is the profiling thing breaking something? What happens if you remove
that?



Den ons 20 nov. 2019 kl 23:04 skrev Thomas Trepl <
thomas@linuxfromscratch.org>:

> Hi,
>
> I'm unable to change the font size of title page element. What ever I
> try to do, title/subtitle gets formatted with 12pt font size.
>
> I run the build by using (the attached) Makefile which calls xsltproc,
> xmllint and finally fop to produce the PDF (and RTF) output.
>
> Here is what the FO file looks like:
> ...
>     <fo:flow flow-name="xsl-region-body">
>       <fo:block id="idm45517912259648">
>         <fo:block>
>           <fo:block>
>
>             <!-- HERE IS THE TITLE -->
>             <fo:block text-align="center" font-size="12pt" space-
> before="18.6624pt" font-weight="bold" font-family="sans-
> serif,Symbol,ZapfDingbats">
>               <fo:block xmlns:axf="
> http://www.antennahouse.com/names/XSL/Extensions" keep-with-
> next.within-column="always" hyphenate="false">MyBook</fo:block>
>             </fo:block>
>
>             <!-- HERE IS THE SUBTITLE -->
>             <fo:block text-align="center" font-size="12pt" space-
> before="15.552pt" font-family="sans-serif,Symbol,ZapfDingbats" font-
> weight="bold">Subtitle</fo:block>
>             <fo:block space-before="2in" font-family="sans-
> serif,Symbol,ZapfDingbats" font-weight="bold" font-size="12pt" text-
> align="center">
>               <fo:block>
>                 <fo:block>Thomas Trepl</fo:block>
>               </fo:block>
>             </fo:block>
>           </fo:block>
> ...
>
> I have no idea where the "12pt" for title and subtitle come from.
> Shouldn't it be something like 24.8832pt or such by default?
>
> Any ideas what else i can check?  And sorry for bugging you since this
> isn't really a fop-issue but more a docbook-stylesheet thing but i
> don't know where to go so i hope you might have seen that already and
> know a solution.
>
> System:         ArchLinux
> Docbook-XSL:    1.79.2
>
> Thanks,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

Mime
View raw message