Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


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