fonts - Text rendering control in GDI+ -
I am struggling for text rendering in GDI + for a while, we dynamically generate images of headlines But it seems to a large extent in the library. I can set the font, font size and some other things but I can not control the height or letter difference of the line
I have created my own classroom, which takes a generated text image, Individual rows of text (the settings of each font are manually encoded in settings files) and combines them with the row height that I want. I have not been able to resolve the same problem though for letter differences.
Do anyone have a solution for this or recommend the library (OS or commercial) which resolves it?
I do not know that it will apply to your solution, but in the past when I have to present something more The sophisticated text and I wanted to do this in a fair amount of flexibility in how it would be provided, I used this library:
This is not an open source, but it It is free ...
Alternatively, in the game space I use Bitmap fonts on a large scale that Or - if you store such information such as character spacing, etc., it may look exactly like TTF, but you lose the ability to scale it without starting some decent artifacts. To feel better about this approach, here's a tool to create fonts:
Hopefully one of them gives you some help - either you Linear height will give control over character differences, but they also have their limitations.
Comments
Post a Comment