Project:Textimage
Version:6.x-2.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi, if found this module worked far better than alternatives, so thank you.
I'm just having trouble aligning text.
I want to generate a block of text with the words aligned to the right, I had set what a presumed are the correct settings but the preview still aligns to the left, I have attached a screen grab of my text-image settings page, pls help, thanks.
drupal 6x textimage 2.x-dev

AttachmentSize
TI_AR.png197.81 KB

Comments

#1

Title:Align Right» Proper text alingment.
Category:bug report» feature request
Status:active» postponed

Hi,

Unfortunately the module is working as expected, it is aligning the generated text box inside the bounding box and as the bounding box is the same size as the text box by default you would see no difference. If you where to assign a maximum width larger than the generated text box while using the fixed width option then you would notice a difference.
The only true benefit of this functionality is for lesser amounts of text, preferably one line.

I will mark this as a feature request. It is something that I definitely intend to implement but it is likely to be a complex change and not likely to be introduced too soon due to other obligations.

Cheers,
Deciphered.

#2

ok thanks for the explanation, would love to see it implemented in the future ;)

#3

I also need the text-align right feature. I've entered a maximum width (350px) which is larger than the generated text box and have selected the option 'fixed width' as suggested above (see attached screen grab).

The output is ALWAYS aligned left even with only one line of text as suggested above.

Any ideas.

AttachmentSize
textimage_screen.jpg 154.77 KB

#4

This issue seems to revolve around line 764 (textimage.module').

      $x = 0; //init $x pos to zero for each new line.

Setting the $x pos to zero effectively left aligns every single line.

#5

Category:feature request» bug report
Status:postponed» active
nobody click here