I’m not very familiar with the code, but I can give some pointers that might help.
- You can find the functions for VSE’s side of text rendering in source/blender/sequencer/intern/effects.cc
- Text is drawn with BLF. Here Harley mentioned unifying 3D and 2D text code. If your plans involve implementing more complex text layouts, it might be a good idea to talk with him about it. More than that I don’t know.
- Here’s an example of the font size property. The update function used for it can be found in the same file. You can also read this page, though I personally find it easier to look at examples in the code.
There was an issue about improving the VSE text here. Is it part of your project?
Before you start working on features that might take time to implement, it’s a good idea to talk about your plans with the other developers: as an issue on the projects page or in the #vse channel. That way you can ensure that the plans align with those of the other developers, and the feature gets included.
If you haven’t already, to learn more about Blender’s code you can read the Developer Wiki, especially the New Developer Introduction, Code & Design Documentation, and File Structure pages. VSE code is explained here.
The main VSE developer Richard Antalik (iss) might be quite busy with other work so I’m not sure how much he’s able to help. I may (or may not) be able to help if it’s part of some code I know about.