Due to requirements for our application regarding stretching text to fit a given area (more complicated than that) i'm using the approach of drawing the text to a path instead, calculating the x,y scaling to fit the target area and then drawing it on the bitmap.
This is working well except that i noticed that the letters i marked as bold using the formatting tags do not appear bold/thicker. However if i create the font as bold (or italic) it does affect the path that is drawn.
Is it by design that drawing text to a path ignores the formatting tags or is this a bug?
I'm hesitant to try to hack this feature together myself using multiple paths and fonts as i dont want to have to deal with the character spacing etc. properties that i'm also relying on.
Thanks
This is working well except that i noticed that the letters i marked as bold using the formatting tags do not appear bold/thicker. However if i create the font as bold (or italic) it does affect the path that is drawn.
Is it by design that drawing text to a path ignores the formatting tags or is this a bug?
I'm hesitant to try to hack this feature together myself using multiple paths and fonts as i dont want to have to deal with the character spacing etc. properties that i'm also relying on.
Thanks