Skip to main content
Topic: uTextOutColorsTabbed (Read 2045 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

uTextOutColorsTabbed

My problem is that the function seems to always want to start the text at the left border of the destination DC, regardless of the 'left'-member of the item-RECT, which only clips the text away. The only way I found to move the text to the right is to set the border-parameter - but this also makes a border between the columns as i just discovered.

So is there any way to put the text where i want it or do i have to write my own function for this ?

uTextOutColorsTabbed

Reply #1
This is indeed a bug in utf8api.dll; I stumbled upon this and another related bug some time ago. You need to apply this patch to text_drawing.cpp. You will need to ship the patched version of utf8api.dll with your component, at least for the current version of foobar2000. I have already sent the patch to zZzZzZz, so it will be included in future releases.

uTextOutColorsTabbed

Reply #2
thanks a lot

 

uTextOutColorsTabbed

Reply #3
Hrmmm... I noticed this too but just figured it was the way it was intended to work. 
Oh well, turned out DrawTextEx was what I really wanted anyway.

 
SimplePortal 1.0.0 RC1 © 2008-2020