Op 27/01/2011 11:53, Tommy Stenberg schreef:
> Hi!
> How can I do the below from a stream NOT from a path to harddrive
> BaseFont bf;
> bf = BaseFont.createFont("c:/windows/fonts/msgothic.ttc,0",
> BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
>
> this is what I want to do
>
> bf = BaseFont.createFont(STREAM HERE, BaseFont.IDENTITY_H,
> BaseFont.EMBEDDED);
>
> I have a feeling I am missing something here.
Maybe another createFont method:
http://api.itextpdf.com/com/itextpdf/text/pdf/BaseFont.html#createFont%28java.lang.String,%20java.lang.String,%20boolean,%20boolean,%20byte[],%20byte[]%29
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php