The behavior will not be exactly the same as you are changing the font in B4i.
If it is good for you then use it. There is nothing bad with using conditional compilation in your code.
CSBuilder is not identical as there are differences in the underlying platforms. You can use BCTextEngine which is more powerful and is cross platform.
Thanks for the answer.
I'll try BCTextEngine.
The advantage I found in CsBuilder is that when adding to a CustomListView it calculates the height of each item automatically
.