用可變字體從 HTML/XML 生成 PDF

8月 14, 2025
BFO Publisher v1.4 添加對將 OpenType 可變字型內嵌到 PDF 檔中的支援,從而提供更精細的排版控制並減小檔大小。

繼續用英語閱讀:

BFO Publisher is a Java-based CSS layout engine developed by Big Faceless Organization (BFO) that converts HTML or XML styled with CSS into PDF documents. Built on top of the Big Faceless PDF Library, it supports advanced layout features, including modern CSS constructs like flexbox-1, SVG2, and MathML4, and it delivers archival quality outputs compliant with PDF/A, PDF/X and PDF/UA. Designed with a streaming architecture, it can generate very large documents efficiently while keeping memory usage low, and it is flexible for deployment both via its API and as a web‑service in local or cloud environments.

The BFO Publisher v1.4 update adds support for OpenType variable fonts, enabling developers to embed and render fonts with adjustable weight, width, and other typographic axes from a single font file. These fonts are not supported in PDF format, so are converted into a static instance which gets embedded into the PDF. This reduces the need to manage multiple static font files, lowers output file sizes, and allows finer control over typography directly through CSS, leading to more precise and efficient design workflows when creating PDFs with BFO Publisher.

To see a full list of what's new in v1.4, see our release notes.

BFO Publisher is licensed per server/machine and is available as an annual or a perpetual license depending on the use case. Technical support is available. See our BFO Publisher licensing page for full details.

For more information, see our BFO Publisher product page.