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?
Show differencesHistory of post edits
#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?
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?
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?
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?