On 09/24/13 13:54, Larry Evans wrote:
> On 09/24/13 01:49, iText mailing list wrote:
>> On 9/23/2013 10:41 PM, Larry Evans wrote:
>>> Could the problem be the .jar downloaded from
>>> https://svn.code.sf.net/p/itext/code
>>> was built on a windows OS and the font files
>>> are in a different place than on my ubuntu
>>> OS, and that's causing the problem?
>> The jar is built on Linux, and we used a twist to make
>> "C:/Windows/fonts" work: we created a directory named "C:" on Linux ;-)
>>
>> The examples are created with "C:/Windows/fonts" to make it easier for
>> people working on Windows only. We assume that people working on Linux
>> are more familiar with how the file system works ;-)
>
> I tried creating C: in root file system; however, I still had to use /C:
> to get there, which wouldn't work.  However,  Judging from
> "Listing 11.1 FontTypes":
>
>    http://itextpdf.com/examples/iia.php?id=195
>
> I assumed that the search for fonts starts in the itext directory;
> hence, there I created the C: directory.  Then ran the code, but still
> got garbage output, as shown by attached.
>
[snip]
After further thought, I realized that the fonts were already on the
system since Adobe reader showed i1040.pdf just fine; hence, the
problem must be in itext not looking in the right place for the
fonts, or me not, somehow, configuring itext to look in the right
place.  OTOH, maybe the problem has nothing to do with using the
wrong font.

I've no idea :(

Anyone have some idea about what the problem is?

TIA.

-regards,
Larry



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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

Reply via email to