Hi. I am a developer working on a component web service for a client's web
application. The component that I am working on uses iText to generate pdf
documents. The problem I have is that there are specific fonts which need to
appear in the documents but due to the nature of the client's application I
cannot rely on there being an actual font file on a hard disk with a path
that I can give to iText to produce a BaseFont. Instead I have to get the
font files from a stream. I have looked through the iText API but I cannot
find any method in any class that will allow me to create a BaseFont from an
InputStream. They all seem to take Strings which (based on examples from
around the web - the api doc isn't clear here) refer to path to a file.
Is there any way to create a BaseFont using data from a stream? If not, why
is that?
Michael
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/