<html><head></head><body><div>Hi all,</div><div><br></div><div>I am now doing a job about PDF file processing; I have two tasks about the fonts:</div><div><br></div><div>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?</div><div><br></div><div>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?</div><div><br></div><div>Thanks.</div><div class="ydpb16c7fcdyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"></div></body></html>