Hi all!
I uploaded a patch into the patch tracker with my work from the second half of Summer of Code: Patch #1778026 https://sourceforge.net/tracker/index.php?func=detail&aid=1778026&group_id=93438&atid=604308.
I did this instead of checking it in because although I have done a lot of testing, I think it would be prudent if you all give it a try as well. It should be non-obtrusive for you to try; the only real visual difference should be that the text and style dialog shows only those fonts that Pango can actually work with (so no more duplicates, and no more styles that aren't selectable). Everything else is under the hood so to speak.
This work allows for us to separate font families and styles better in the text and style dialog. I held off implementing this for now as Miklos has some code he thinks will work well for this purpose in svgbuilder.cpp. I was hoping we could all have a look at his code and decide whether that's what we want to use for this purpose. I also wanted to make sure the framework I laid down for this is solid before going on to the next stage.
I have also laid the foundation for being able to support fonts that CSS can't. At the moment this isn't possible given the fact that Pango only supports CSS fonts. However, I will be doing some more research in the near future into either getting that changed, or seeing if there is any way around using the PangoFontDescription structure that we rely on so heavily at the moment (which is the one that specifically does not support anything outside of CSS).
Please let me know if you find any issues or annoyances!
I am getting married this week, have a week off next week, and am travelling the week after. So communication could be sporadic - but don't worry, I have not abandoned you! ;)
Gail