Font supported by AssemblerService in AEM Forms
While generating the Table of Contents (TOC) we would like to know on following concerns, sample DDX file at [1].
- how many OOTB fonts are supported by - com.adobe.fd.assembler.service.AssemblerService
- how to supply custom font parameter to com.adobe.fd.assembler.service.AssemblerService
DDX Source [1]
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns=http://ns.adobe.com/DDX/1.0/>
<PDF result="out.pdf">
<PDF source="pdf1" pages="1"/>
<PageMargins left="1in" top="0.75in" right="0.75in" bottom="1in"/>
<TableOfContents createLiveLinks="false">
<Header styleReference="HeaderStyle"/>
<Footer styleReference="FooterStyle"/>
<TableOfContentsEntryPattern applicableLevel="1" >
<StyledText>
<p font-family="serif" font-size="12pt">
<_BookmarkTitle/><leader leader-pattern="dotted"/>
<_BookmarkPageCitation/>
</p>
<p></p>
</StyledText>
</TableOfContentsEntryPattern>
</TableOfContents>
<PDF source="pdf1" pages="3-5"/>
<PDF source="pdf2"/>
<PDF source="pdf1" pages="6"/>
</PDF>
<StyleProfile name="HeaderStyle">
<Header padding="0.4in">
<Left>
<StyledText>
<p font-size="32pt" font-weight="900" color="steelblue"
font="roboto-bold">TABLE</p>
<p font-size="32pt" font-weight="900" color="black"
font-family="roboto-bold">OF CONTENTS</p>
</StyledText>
</Left>
</Header>
</StyleProfile>
<StyleProfile name="FooterStyle">
<Footer padding=".25in">
<Center>
<StyledText>
<p font-size="10pt"><i>Coforge Demo for Insurance Domain</i></p>
</StyledText>
</Center>
<Right>
<StyledText>
<p font-size="9pt"> <_PageNumber/> </p>
</StyledText>
</Right>
</Footer>
</StyleProfile>
</DDX>