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: Suppress Font Smoothing in Quartz Composer



Thanks, Troy, your advice solved the issue.

For the record, the way to suppress the anti-aliasing required, in "Image to String:"
* setting Image Width property to non-zero value (I used 2)
* setting Image Height property to non-zero value (I used .02)
* connecting the Display Width property to Billboard's Width property
* I also have the Font Size property set to 0.1


Regards,

j

On May 5, 2008, at 1:44 PM, Troy Koelling wrote:

There's two things it could be.

First, make sure that you are displaying the string at the real size by setting the font and passing the width and height to the billboard or sprite. If QC does the scaling, it will use bilinear (although it is possible to go through CI to inhibit that behavior)

If the smoothing is on a pixel scale, it may be because the underlying system has a hard time rendering over transparent textures. You should file a bug in that case. Also, make sure that the text is rendered on pixel boundaries as it will look blurry if not.

Troy

On May 5, 2008, at 10:08 AM, Jim Nevin wrote:

Is there a way to suppress automatic anti-aliasing of fonts when rendered in Quartz Composer?

Specifically, I am using the String-to-Image and Billboard patches to render strings. In the String-to-Image patch I am setting the font to one that intentionally contains "rough edges," viewable as such inside Font Book, for example. However, when rendered by QC, the rendered string has been automatically anti-aliased, which is not what I want.

Thanks in advance for any advice.

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


This email sent to email@hidden


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

This email sent to email@hidden
References: 
 >Suppress Font Smoothing in Quartz Composer (From: Jim Nevin <email@hidden>)
 >Re: Suppress Font Smoothing in Quartz Composer (From: Troy Koelling <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.