flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Matheson <smathe...@intralinks.com>
Subject AlivePDF Fonts
Date Tue, 11 Nov 2014 19:21:33 GMT
   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


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

myPDF.setFont( uf , 20 , _bold );


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 */



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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message