Hello Guest

Author Topic: Font as Premultiplied Alpha ?  (Read 4713 times)

MetalGreg

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Font as Premultiplied Alpha ?
« on: June 01, 2012, 03:21:14 pm »
Hello ! Is that possible ?
I also tried throught a SpriteCollection but without succ?s.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Font as Premultiplied Alpha ?
« Reply #1 on: June 02, 2012, 07:20:20 pm »
I would have expected it to work through the sprite collection. I will investigate this as soon as possible.

MetalGreg

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Font as Premultiplied Alpha ?
« Reply #2 on: June 03, 2012, 03:42:14 am »
Ok finally made it work !
Quote
This is a bug in the current version. It only happens when you create a sprite collection with no sprites (and just a font). An easy fix for now is to drag in a really small sprite into the collection, and then add the font.

Premultiplied Alpha works as expected.

And surprise, this allow me to put multiple fonts together !

Thanks !

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Font as Premultiplied Alpha ?
« Reply #3 on: June 04, 2012, 01:20:48 am »
Glad it works. One thing I can cross out of my todo :)