Hi All,
I am just compiled the library and build the hello world example.I am having a 
problem that I could not figure out how to solve it.When searching on the 
mailing list, I got too many pages.  
The binary compiled from the library distribution works fine.It produced a PDF 
file with the visible Hello World.I can build and link the same source code in 
my own linking space.
g++ -g -I/usr/local/include    -c -o txt2pdf.o txt2pdf.cppg++ -g 
-I/usr/local/include  -o txt2pdf txt2pdf.o -L/usr/lib64 -lpodofo -lpthread 
-lfreetype -ljpeg -lcrypto -lfontconfig -lz install txt2pdf /da/bing++ -g 
-I/usr/local/include    -c -o helloworld.o helloworld.cppg++ -g 
-I/usr/local/include  -o helloworld helloworld.o -L/usr/lib64 -lpodofo 
-lpthread -lfreetype -ljpeg -lcrypto -lfontconfig -lz install helloworld 
/da/bing++ -g -I/usr/local/include    -c -o helloworld_base14.o 
helloworld_base14.cppg++ -g -I/usr/local/include  -o helloworld_base14 
helloworld_base14.o -L/usr/lib64 -lpodofo -lpthread -lfreetype -ljpeg -lcrypto 
-lfontconfig -lz install helloworld_base14 /da/bin
However, the binary created by the compiler created Blank PDF files.
The message is not visible in the page.  When you open the file you see nothing.
This could be due to the font issue.  When I run another program I got zero 
size fonts:

helloworld_base14 aa.pdfCourier Width = 0 Height = 0Courier-Bold Width = 0 
Height = 0Courier-Oblique Width = 0 Height = 0Courier-BoldOblique Width = 0 
Height = 0Helvetica Width = 0 Height = 0Helvetica-Bold Width = 0 Height = 
0Helvetica-Oblique Width = 0 Height = 0Helvetica-BoldOblique Width = 0 Height = 
0Times-Roman Width = 0 Height = 0Times-Bold Width = 0 Height = 0Times-Italic 
Width = 0 Height = 0Times-BoldItalic Width = 0 Height = 0Symbol Width = 0 
Height = 0ZapfDingbats Width = 0 Height = 0Arial Width = 0 Height = 0Times New 
Roman Width = 0 Height = 0Verdana Width = 0 Height = 0
Created a PDF file containing the line "Hello World!": aa.pdf
Would really appreciate some could get me on track with PDF.I spend the whole 
day just to get an blank PDF file. 
Kemin Zhou 858 771-3269
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to