[HarfBuzz] Could I create a new font or subset a font using HarfBuzz?

ZHUO QL (KDr2) zhuoql at yahoo.com
Sun Jan 20 13:48:09 UTC 2019


Hi all,
I am now doing a job about PDF file processing; I have two tasks about the fonts:
1. embedding a font into a PDF file. To reduce the size of the outcome PDF file, I must first generate a subset of the font with a given text(character set). Someone told me that I use HarfBuzz to generate the subset, is it true and is there an example for doing this?
2. extracting a font from a PDF file. The font is a CIDFontType2 whose glyphs data is compatible with TrueType. I can get the cmap and the glyph data of the font from the PDF file, can I create a TrueType font file with these data by using HarfBuzz?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/harfbuzz/attachments/20190120/1ec7c8bd/attachment.html>


More information about the HarfBuzz mailing list