Mailing Lists: Apple Mailing Lists

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

Monaco 9



When drawing with HIThemeDrawTextBox into a CGContextRef that has CGContextSetShouldAntialias set to false, if the font is set to Monaco 9, I only see the bottom row of pixels that result in drawing strings like "100", "200", etc. The context I'm drawing to was created like so:

CGColorSpaceRef            space = CGColorSpaceCreateDeviceRGB();

CGBitmapContextCreate(iBaseData.data(), RectWidth(frame), RectHeight (frame), 8, RectWidth(frame) * 4, space, kCGImageAlphaNoneSkipLast);

If I leave antialiasing on, it fully draws the glyphs. What's up with that?

_________________________________________________________
Steve Mills                              Me: 952-401-6255
Senior Software Architect                         MultiAd
email@hidden                       www.multi-ad.com


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

This email sent to 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.