Vertical text alignment with AttributedString and embedded TTF font


#1

I use a AttributedString to show a file path while using a embbeded TTF font. I want to draw the file extension with a smaller font, so i append it to the AttributedString object with the same font but different height. On OSX it looks as expected but on Windows it doesn't. 

OSX:     https://www.dropbox.com/s/9s29lsr0mso45nf/TextBug_OSX.png?dl=0

Win:      https://www.dropbox.com/s/6cw5iltkghnom4m/TextBug_WIN.PNG?dl=0

Any suggestions to fix that in Windows?


#2

Did you ever find a solution to this? Setting a certain range of an AttributedString to a smaller font seems to cause the smaller font characters to be incorrectly aligned to the top.