Hi Imerion,
Imerion wrote:Is it possible to decrease the distance between each character, even when not using a monospace font?
Unfortunately there's no support for proportional fonts built-in ( i've requested this on May 7th, 2008 .. still waiting ). Personally i never use the RenderText component anymore ( for this reason among others ) .. but attached is a example that imports the FontData.dat file you can export from CBFG and uses it with the RenderText component ( Align = Center won't work properly though ).
Here are the steps you need to follow ..
- Export your font as BMP + Binary Font Data (DAT) from CBFG.
- Import the ExportedFont.bmp file to the BitmapFromFile component in FontBitmap.
- Configure the Font component to match your CBFG configuration.
- Import the FontData.dat file to the FontDataFile component.
- Trigger the FileAction ( Read FontDataFile ) component once*
*You can do this by selecting it and pressing F5.
The example should look like this after processing FontData.dat ..
Once you're done importing & processing FontData.dat, you can remove the CBFG group ( and rename the other components if you want ). And in case you're going to use many RenderText components, you might want to wrap the RenderCharExpression in a function.
If you have any questions, let me know.
K