[squeak-dev] Q: Why do TTCFont Glyphs need an alpha channel?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Q: Why do TTCFont Glyphs need an alpha channel?

Jerome Peace
Q: Why do TTCFont Glyphs need an alpha channel? [squeak-dev] Q: Why are TTCFont Glyphs forms of depth 32? Hi Bert, Thank you for your quick answer. So the next question is: Q: Why do TTCFont Glyphs need an alpha channel? Why wouldn't just having transparent pixels suffice? When/where is this extra ability used? Can you point me to a good case? Bert Freudenberg bert at freudenbergs.de Fri Jul 25 04:22:53 UTC 2008 *** >Am 25.07.2008 um 00:16 schrieb Jerome Peace: > >> Hi all, >><...> >> >> Q: Why are TTCFont Glyphs forms of depth 32? >> > >A 32 bpp form is TSTTCPW if you want an alpha channel. An 8 bpp form >would suffice, but require more exotic bitblt rules to be interpreted >as an alpha channel. > >- Bert - > ***



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Q: Why do TTCFont Glyphs need an alpha channel?

Bert Freudenberg

Am 25.07.2008 um 11:17 schrieb Jerome Peace:

> Q: Why do TTCFont Glyphs need an alpha channel? [squeak-dev] Q: Why  
> are TTCFont Glyphs forms of depth 32? Hi Bert, Thank you for your  
> quick answer. So the next question is: Q: Why do TTCFont Glyphs need  
> an alpha channel? Why wouldn't just having transparent pixels  
> suffice? When/where is this extra ability used? Can you point me to  
> a good case? Bert Freudenberg bert at freudenbergs.de Fri Jul 25  
> 04:22:53 UTC 2008 *** >Am 25.07.2008 um 00:16 schrieb Jerome Peace:  
> > >> Hi all, >><...> >> >> Q: Why are TTCFont Glyphs forms of depth  
> 32? >> > >A 32 bpp form is TSTTCPW if you want an alpha channel. An  
> 8 bpp form >would suffice, but require more exotic bitblt rules to  
> be interpreted >as an alpha channel. > >- Bert - > ***


You need alpha for the anti-aliased rendering. Look at a TT-rendered  
string with a magnifier morph, its edges are not made of only black  
pixels.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Q: Why do TTCFont Glyphs need an alpha channel?

timrowledge
In reply to this post by Jerome Peace

On 25-Jul-08, at 8:17 AM, Jerome Peace wrote:

> Q: Why do TTCFont Glyphs need an alpha channel?
Anti-aliasing


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful Latin Phrases:- Magister Mundi sum! = I am the Master of the  
Universe!