Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing slowness with AppleSymbols font



On 30 May 2006, at 6:04 pm, email@hidden wrote:

Greetings Carbon life forms,

I've been working on printing in my app and I have encountered a few problems. First I'm finding an extreme slowness when printing (via Print dialog -> Preview button) any space, tab or U+2588 (FULL BLOCK) characters in the AppleSymbols font. Every page that contains these glyphs prints slowly. In my tests on each full page of styled text (plus some small graphics) there are an average of 20 occurrences of these glyphs. If I change the font to Arial or the characters to Xs, for instance, printing is 10 x as fast (but, of course, it doesn't look right).

I'm calling ATSUDrawText and using the CGContextRef returned by PMSessionGetGraphicsContext(... kPMGraphicsContextCoreGraphics ...). However, I don't think that this is a problem with my code FLW. (Famous Last Words)
....

This looks closely related to something I've encountered, too. I filed a bug against this in January 2005 (#3966046, title "ATSUDrawText rendering to PDF context is inefficient"), but Radar still shows the status as "open", and nothing seems to have changed. This isn't really a Carbon issue; it's inefficiency in the font embedding code used by CoreGraphics when rendering to PDF.

You can even demonstrate the issue with something as simple as TextEdit: create a document using AppleSymbols, and see how long it takes to bring up a PDF preview (via the Print dialog); then change the font to Arial, and see how much faster it appears.

I guess a fresh Radar bug report won't hurt.

JK

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Printing slowness with AppleSymbols font (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.