Bug Report Text (GDI+) source alignment doesn't seem to work

Vetoed

New Member
Hello. I used to have outdated text (FreeType ?) sources back from when TwitchAlerts was still a thing, and last night I decided to remake them since I got the new StreamLabs app and figured it would be a good time. I used the text (GDI+) source and remade them. All of them show up without an issue, but the alignment feature doesn't seem to work no matter what I do. I tried different text files, text NOT from files, all the different alignment options, and it keeps aligning from the left.

This makes it frustrating for text sources that are supposed to update on their own like donations or subs as it misaligns them.

It also seems like a bug since the feature used to work fine. I doubt the log file will help much, but it's in there just in case.

https://gist.github.com/43807cc6e09dd44a52ae90cefe211c98
 

Suslik V

Active Member
I see it like this (Arial font):
HTML:
Left
===========================
AlignmentAlignmentAlignment
AlignmentAlignment
Alignment

Center
===========================
AlignmentAlignmentAlignment
    AlignmentAlignment
         Alignment

Right
===========================
AlignmentAlignmentAlignment
         AlignmentAlignment
                  Alignment
Do you have same view?
 

Vetoed

New Member
In the post I see it fine. Within OBS, it keeps aligning on the left no matter what the setting is (middle, right, top, bottom, etc.).

I'm not sure if I'm answering the question right.
 

Xaymar

Active Member
I can't confirm this bug, it works fine here. Please provide your Text Source (GDI+) settings.
 

Suslik V

Active Member
RtoL writing is different thing.

Use Transform>Edit Transform...>Bounding Box Type: Scale to inner bounds; and Alignment in Bounding Box: Center Right.
Adjust Bounding Box Size (by mouse) to the maximum size you wish (move its left side to the left until your screen ends). All text appear inside Bounding Box aligned to its right side.

Just in case, OBS Studio Help Guide: https://obsproject.com/forum/resour...ware-studio-multiplatform-help-guide-pdf.365/
 

Vetoed

New Member
Thanks for your help Suslik, although it's a different method, that one worked. Using the Transform method never even crossed my mind. I got confused because the method I suggested used to work before the update to text sources (and to be honest, there's no real reason for it not to; that's what the feature is for right?)

However, is it still a bug or am I missing something?
 

Suslik V

Active Member
For multi strings - you want it all on the right - choose Right alignment in Text (GDI+) properties.

Bug? Maybe...
 

Xaymar

Active Member
I don't think GDI+ really supports multi-line Right-To-Left text properly, however I'd need actual right to left text to test if I can't figure out a fix for it.
 

Boldegg

Member
Thanks for your help Suslik, although it's a different method, that one worked. Using the Transform method never even crossed my mind. I got confused because the method I suggested used to work before the update to text sources (and to be honest, there's no real reason for it not to; that's what the feature is for right?)

However, is it still a bug or am I missing something?

This bug is still happening. The method you gave is only great in case you have a bounding box with size limitation. When you want the text size to not change you would need to use the right align option in Text GDI but it's broken.

Simple fix without using Text transform: In Text GDI, enable "Custom Text Extent" and check "Warp", et voilà!
 
Last edited:
Top