glegris / pulpcore

Automatically exported from code.google.com/p/pulpcore
0 stars 1 forks source link

Font rendering - Gradient #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to generate a gradient font and i am using this

family = Fusi.ttf
size = 32
color = #99ccff
gradient.color=#0033cc

stroke.color=#003399
stroke.size=0.5

shadow.y = 3
shadow.x = 3
shadow.color = #7f000000

But it doesn't work good, it just fill's all image with the second color,
also would be nice to have some more options, like more gradient stops, or
blured drop shadow

Also, would it be possible to make PulpCore able to load Angelcode font
like the ones generated by this tool
http://slick.cokeandcode.com/demos/hiero.jnlp

They look almost like PulpCore generated fonts

Original issue reported on code.google.com by porfirio...@gmail.com on 15 Mar 2008 at 1:08

GoogleCodeExporter commented 9 years ago
Hi, thanks for submitting a bug!

The gradient issue is fixed in SVN, and will be in 0.11.2. Also I added 
gradient y offsets, and shadow blurring.

Gradient stops might be a bit complicated to define in a properties file; it 
might be better to allow a texture 
fill (which could be an SVG gradient). I'll put some thought into this, but 
it's low priority.

Angelcode import is also low priority because it wouldn't add compelling 
features over the existing font 
creator, but if someone wants to create a tool that converts Angelcode's 
BMFonts to PulpCore's, I make sure it 
gets integrated with the asset pipeline.

Original comment by brack...@gmail.com on 18 Mar 2008 at 6:58

GoogleCodeExporter commented 9 years ago
Thank you :)

Original comment by porfirio...@gmail.com on 18 Mar 2008 at 12:23