Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodePDF produces blank page #358

Open
GoogleCodeExporter opened this issue Oct 22, 2015 · 0 comments
Open

UnicodePDF produces blank page #358

GoogleCodeExporter opened this issue Oct 22, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. successful pdf creation will fail in producing UnicodePDF
2.
3.

What is the expected output? What do you see instead?
PDF document is blank.

What version of the product are you using? On what operating system?
0.1.5

Please provide any additional information below.
Whenever I switch new PDF to new UnicodePDF resulting page will be blank. Is 
there any simple tutorial on how to correctly use unicodePDF? I need a Czech 
alphabet in particular.

here is my code:

    import org.alivepdf.pdf.PDF;
    import org.alivepdf.pdf.UnicodePDF;
    import org.alivepdf.saving.*
    import org.alivepdf.layout.*;
    import org.alivepdf.images.*;
    import org.alivepdf.fonts.*;


    import org.alivepdf.fonts.unicodefonts.ArialUnicodeMS;

    private function createPdf():void{
myPdf=new UnicodePDF( Orientation.PORTRAIT, Unit.MM, Size.LEGAL );
myPdf.addPage();
myPdf.writeText( 12, "SOME TEXT");
myPdf.save(Method.REMOTE, "http://www.myweb.com/php/createpdf.php", 
Download.ATTACHMENT, "myfile.pdf");


Doesn't work....
What am I doing wrong. Or, what am I missing???

Thank you


Original issue reported on code.google.com by [email protected] on 10 Aug 2012 at 1:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants