pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: How to implement OTF-fonts into a PDF with Apache PDFBox 2.x?
Date Mon, 16 Jan 2017 19:14:08 GMT
Am 16.01.2017 um 08:45 schrieb Lina Larsson:
> I would like to use a OFT-font in AcroForm fields, is that possible by now?

No, and no work has been done. Set yourself as a watcher on
https://issues.apache.org/jira/browse/PDFBOX-2482


Tilman

>
>
> Tanks,
>
> Lina
>
>
> On 2016-08-17 00:55 (+0100), John Hewson <j...@jahewson.com> wrote:
>
>>> On 16 Aug 2016, at 13:48, Tilman Hausherr <TH...@t-online.de> wrote:>
>>> Am 16.08.2016 um 21:25 schrieb hamena314:>
>>>> |PDType0Font font = PDType0Font.load(doc, new File("MyFont.otf")); | >
>>> I wonder if this would work:>
>>> OTFParser otfp = new OTFParser(true);>
>>> TrueTypeFont ttf = otfp.parse(new File("MyFont.otf"));>
>>> PDType0Font font = PDType0Font.load(doc, ttf, true);>
>> No, it won%u2019t. Unfortunately we don%u2019t support embedding OTFs.
> One reason for this is that we don%u2019t have an OTF subsetter.>
>
>> %u2014 John>
>>> --------------------------------------------------------------------->
>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org>
>>> For additional commands, e-mail: users-help@pdfbox.apache.org>
>> --------------------------------------------------------------------->
>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org>
>> For additional commands, e-mail: users-help@pdfbox.apache.org>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message