Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualAcharis

Posted 29 April 2012 - 03:23 AM

1,2,3 and 4 - yes, it renders as arial, it changes the size when I change the parameter, other fonts render as well, no errors at all.

In short everything is allright except that the final text looks ugly. Example:
http://i46.tinypic.com/1f8w7a.png (TTF_Init(); TTF_OpenFont(file, 16); TTF_RenderText_Solid(font, string, color); )
It should look, more or less, like this: http://i46.tinypic.com/5xqxb5.png
[ignore the black outline in the first image, it was done by rendering the same font 8 times with 1 pixel moved to make a simple outline, it is not related to TTF]

All I need is some normal font (like arial) that is not too big and does not look as if it was badly resized when rendered. Any clue how to achieve this?

#3Acharis

Posted 29 April 2012 - 03:23 AM

1,2,3 and 4 - yes, it renders as arial, it changes the size when I change the parameter, other fonts render as well, no errors at all.

In short everything is allright except that the final text looks ugly. Example:
http://i46.tinypic.com/1f8w7a.png (TTF_Init(); TTF_OpenFont(file, 16); TTF_RenderText_Solid(font, string, color); )
It should look, more or less, like this: http://i46.tinypic.com/5xqxb5.png
[ignore the black outline in the first image, it was done by rendering the same font 8 times with 1 pixel moved so make a simple outline, it is not realeted to TTF]

All I need is some normal font (like arial) that is not too big and does not look as if it was badly resized when rendered. Any clue how to achieve this?

#2Acharis

Posted 29 April 2012 - 03:22 AM

1,2,3 and 4 - yes, it renders as arial, it changes the size when I change the parameter, other fonts render as well, no errors at all.

In short everything is allright except that the final text looks ugly. Example:
http://i46.tinypic.com/1f8w7a.png (TTF_Init(); TTF_OpenFont(file, 16); TTF_RenderText_Solid(font, string, color); )
It should look, more or less, like this: http://i46.tinypic.com/5xqxb5.png
[ignore the black outline in the first image, it was done by rendering the same font 8 times with 1 pixel moved so make a simple outline, it is not realeted to TTF]

All I need is some normal font (like arial) that is not too big and does not look as if it was badly resized when rendered. Any clue how to achieve this?

#1Acharis

Posted 29 April 2012 - 03:20 AM

1,2,3 and 4 - yes, it renders as arial, it changes the size when I change the parameter, other fonts render as well, no errors at all.

In short everything is allright except that the final text looks ugly. Example:
http://i46.tinypic.com/1f8w7a.png (TTF_Init(); TTF_OpenFont(file, 16); TTF_RenderText_Solid(font, string, color); )
It should look, more or less, like this: http://i46.tinypic.com/5xqxb5.png

All I need is some normal font (like arial) that is not too big and does not look as if it was badly resized when rendered. Any clue how to achieve this?

PARTNERS