Unfortunately i'm finding that out the hard way.. printing on and on screen display are different beasts... i ultimately just want my display objects i'm sending to the printer to print exactly as they appear on screen...
I actually just posted antoher thread on this topic, wasn't sure i was clear in the first. When i embedded the "Verdana" font, all button labels and text labels that used the Verdana font became very fuzzy... not as clear when i didn't embed the font. Also the more i tested with printing when I embeded the font, it still didn't resolve my issue. So not i'm at my wits end... i just want to send a display object/Text control to the printer and it print in exactly the same format as seen on screen. Seems odd as why this is SO difficult. I assumed when I send display object to my PrintJob instance it wouldn't try to get smart and reformat my text, just send it as a vector image and scale based on my ScaleType I've set. Thanks very much for you replies! --Scott --- In [email protected], John Mark Hawley <[EMAIL PROTECTED]> wrote: > > Printing and screen display are just different beasts. I'm not sure what you mean by "shadowing", though it sounds like you want to set antiAliasType to the ADVANCED setting. > > > > > From: "scott_flex" <[EMAIL PROTECTED]> > > Date: 2007/05/01 Tue PM 12:27:38 CDT > > To: [email protected] > > Subject: [flexcoders] Re: FlexPrintJob not printing multiple formatted lines successf > > > > > > Thanks for the reply... however, why would fonts display correctly on > > screen and size the text box correctly but not print the same way it > > was rendered on screen? Must be luck of the draw on other fonts, > > because they do not produce the same bahavior when printing. > > > > Embeding Verdana using > > [Embed(systemFont='Verdana', fontName='Verdana', > > mimeType='application/x-font')] > > > > Does fix the problem of the last line not printined correctly but > > then anywhere else in my app this embeded font "shadows" the system > > font and print outs are very poor quality and all other > > labels/buttons using Verdana are very fuzzy... > > > > I'll keep digging into my font issues, there must be a correct way of > > handling this. > > > > --Scott > > > > > > --- In [email protected], John Mark Hawley <mark@> wrote: > > > > > > In order for Flash to know how much room it needs to print an > > autosized text field, the font must be embedded. There's no > > way 'round it. The _height of an autosized text field without > > embedded fonts will not be correct (for printing). > > > > > > > > > > > > > > From: "scott_flex" <skrause@> > > > > Date: 2007/05/01 Tue AM 08:19:08 CDT > > > > To: [email protected] > > > > Subject: [flexcoders] Re: FlexPrintJob not printing multiple > > formatted lines successfully > > > > > > > > > > > > Geneva, Tahoma and Verdana are 3 problematic fonts i have > > isolated to > > > > not print correctly. I never get the last line of text to print. > > > > > > > > These 3 fonts are installed on my pc. > > > > > > > > The height of my text area is not set, it grows with the amount > > of > > > > html text and this has worked very well. Always showing all text > > on > > > > screen but these 3 fonts never want to print the last line. > > > > > > > > However, for these 3 fonts if I set the height of my text control > > to > > > > 2 pixels larger that what it would normally grow to when the > > height > > > > is not set, everything prints out ok... but I can't set the > > height of > > > > my text controls because I don't know ahead of time how much text > > > > they will contain. > > > > > > > > At this time i plan to remove these 3 fonts from my selection > > list. > > > > It's odd since these are pretty common fonts. > > > > > > > > Maybe i need to embed the fonts in the app itself, probably the > > > > safest since other users may not have the same font list as I.... > > but > > > > that's why i was sticking with common fonts. > > > > > > > > Any other insight would be helpful.... > > > > > > > > --Scott > > > > > > > > > > > > > > > > > > > > --- In [email protected], "scott_flex" <skrause@> wrote: > > > > > > > > > > > > > > > Well.... i have determined that it really doesn't matter what > > font > > > > > family or size it is.... it just won't print the last line even > > > > > though all lines appear on screen with no scroll bars. > > > > > > > > > > The html text of my mx:text object is: > > > > > <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" > > > > > SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">When i > > try > > > > to > > > > > print this text from a mx:text control and the text wraps to > > more > > > > > than one line, the last line will not print. It just prints a > > > > white > > > > > blank line intstead. My mx:text component is set to 400 width > > > > which > > > > > is inside a grid item which inside a grid row which is inside > > > > mx:gid > > > > > object.</FONT></P></TEXTFORMAT> > > > > > > > > > > The width of my mx:text object is set to 400... and even though > > the > > > > > first few lines print they don't line break exactly as they do > > on > > > > > screen... just thought that was odd but probably has something > > to > > > > do > > > > > with the scaling when it prints. I just want it to print the > > last > > > > > line. > > > > > > > > > > > > > > > Any help would be greatly appreciated... i'm desperate for > > ideas of > > > > > what might be the issue. > > > > > > > > > > --Scott > > > > > > > > > > > > > > > --- In [email protected], "scott_flex" <skrause@> > > wrote: > > > > > > > > > > > > > > > > > > I have a text control displayed with multiple lines of > > wrapped > > > > > text , > > > > > > no scroll bars, all text is completely displayed on screen. > > When > > > > i > > > > > > send this text to the printer only the first line is printed. > > > > > > > > > > > > The text control is displaying html formatted text. This > > only > > > > > happens > > > > > > to certain font/size combinations. Verdana 11 prints first > > line > > > > > only, > > > > > > second and 3rd lines don't print, even though they are on > > screen > > > > > ok. > > > > > > Verdana 12 prints just fine, 2nd and following lines print ok. > > > > > > > > > > > > I've set the print object to NOT print as bitmap > > > > > (printAsBitmap=false) > > > > > > and the scale type for each object added to the print job is > > set > > > > to > > > > > > show all. > > > > > > > > > > > > Haven't figured out why this happens for some font/size > > > > > combonations... > > > > > > any ideas? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > John Mark Hawley > > > The Nilbog Group > > > 773.968.4980 (cell) > > > > > > > > > > > > > -- > John Mark Hawley > The Nilbog Group > 773.968.4980 (cell) >

