Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


exextatic

Member Since 14 Sep 2011
Offline Last Active Sep 20 2014 07:31 PM

#5177352 Font Rendering Woes (FreeType)

Posted by exextatic on 31 August 2014 - 10:49 PM

I think

byte intensity = ftBitmap->buffer[y * ftBitmap->pitch + x];

should be something like

float intensity = ftBitmap->buffer[y * ftBitmap->pitch + x] / 255.0f;

instead

Perfect, this fixed it, many thanks :)

 

Are you sure this is not .jpg artifact? I'm not sure how good quality is on those.

I feel that part of the horrible quality it was producing was due to it being a JPG (tried PNG, looks better), but it turns out the actual issue was the data type that the intensity was using. Many thanks for the help though :)




#4917623 [D3D9] 'Drawing' into window

Posted by exextatic on 28 February 2012 - 10:32 PM

Bump again :/


#4917274 [D3D9] 'Drawing' into window

Posted by exextatic on 27 February 2012 - 09:03 PM

Bump again :/


#4916887 [D3D9] 'Drawing' into window

Posted by exextatic on 26 February 2012 - 10:01 PM

Bump


#4916763 [D3D9] 'Drawing' into window

Posted by exextatic on 26 February 2012 - 12:48 PM

Bump


PARTNERS