Hi,
I have a control that renders custom text, and I also implemented a word break algorithm. It works fine, but then of course I found that languages like Chinese and Japanese have more complex word break rules so I am looking for a way to make use of existing word break algorithms while still rendering my own text.
Basically, I have a long string of text, and a maximum pixel width that the text can occupy. I need to call into a method that returns the number of characters that would fit, given the font, etc.
Does anyone know of a way to do that using what is available in .Net 2.0?