Hi,

I found something I don't know if its allowed.  Consider this snippet:

  PdfStreamedDocument document( "a.pdf" );
  PdfPainter painter;
  PdfPage* page = document.CreatePage( PdfPage::CreateStandardPageSize( 
ePdfPageSize_A4 ) );
  painter.SetPage( page );
  PdfFont* font = document.CreateFont( "Arial" );
  painter.SetFont( font );
  painter.DrawText( 30, 30, "Hello" );
  painter.FinishPage();
  document.Close();

This creates a working PDF.  But when I switch the SetPage and CreateFont lines 
Acrobat Reader
can't find the embedded font.  Is this like its supposed to be?

   Jörg
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to