Hi
   i have a customer find, but i am unsure how to make AlivePDF pick uo this 
fine


public  function genPDF ():void{

var myPDF:PDF= new PDF(Orientation.PORTRAIT, Unit.MM , Size.A4);

var _bold:Boolean = false;

var _normal:Boolean = false ;

// readding page

myPDF.addPage();

var uf:IFont = new CoreFont ( FontFamily.TIMES );

myPDF.setFont( uf , 20 , _bold );

myPDF.addText("Spelling",15,26);


work find, i get times font, but i do not know what this is all about  IFont = 
new CoreFont ( FontFamily.TIMES );


i have a style sheet with an embed font, that work well in Flex



@font-face {

src: url("FS-Albert.otf");

fontFamily: FS;

}


/* Register fonts as styleNames for further use */

.FS

{

fontFamily: FS;

}



how doi i make the report pickup the FS-Albert font


________________________________

Disclaimer: This electronic mail and any attachments are confidential and may 
be privileged. If you are not the intended recipient, please notify the sender 
immediately by replying to this email, and destroy all copies of this email and 
any attachments. Thank you.

Reply via email to