epub-font-subsetter

Creates font subsets for embedded fonts

Repository
Git URL https://github.com/transpect/epub-font-subsetter.git
SVN URL https://github.com/transpect/epub-font-subsetter
Base URI

Source ⬇

tr:create-font-subset

This pipeline can be used to create fontsubsets. The characters used in each font will be displayed in a character set. The subset is created using the pyftsubset phython script from fonttools https://github.com/fonttools

Dependencies

Synopsis

<tr:create-font-subset xmlns:tr="http://transpect.io">
  <p:input port="source" primary="true"/>
  <p:output port="result" sequence="true" primary="true"/>
  <p:option name="debug" required="false" select="'yes'"/>
  <p:option name="debug-dir-uri" select="resolve-uri('debug')"/>
</tr:create-font-subset>

tr:unzip-epub

Step to unzip epub and create filelist

Dependencies

Synopsis

<tr:unzip-epub xmlns:tr="http://transpect.io">
  <p:input port="params" primary="true"/>
  <p:output port="result" sequence="true" primary="false"/>
  <p:output port="zip-manifest" sequence="true" primary="true"/>
  <p:option name="debug" required="false" select="'yes'"/>
  <p:option name="debug-dir-uri" select="resolve-uri('debug')"/>
  <p:option name="epubfile" required="true"/>
</tr:unzip-epub>

tr:epub-fontsubset

This pipeline can be used to create fontsubsets from an epub.

Dependencies

Synopsis

<tr:epub-fontsubset xmlns:tr="http://transpect.io">
  <p:output port="result" sequence="true" primary="false"/>
  <p:option name="debug" required="false" select="'yes'"/>
  <p:option name="debug-dir-uri" select="resolve-uri('debug')"/>
  <p:option name="epubfile" required="true"/>
  <p:option name="font-name" required="false"/>
  <p:option name="font-style" required="false" select="'normal'"/>
  <p:option name="font-weight" required="false" select="'normal'"/>
  <p:option name="delete-not-used-font" required="false" select="'true'"/>
</tr:epub-fontsubset>

GitHub sync date: 2024-04-23+02:00