Auto fit / manual fit text to Text box

 

where I can find the option to fit text size to box/rectangle?

Also how to do that in LThird_text compound?


   ahmed ahmed

 
Profile Image
Aximmetry
  -  

In LThird you can use the Auto Condense option:

Note that it only adjusts the text if it is too long.

To do this with other than LThird is dependend on how do you want to use that text.  On a 3D object?

 
Profile Image
ahmed ahmed
  -  

Are there any module to use can help on this case?

for example if we need to multi line texts to fixed size rectangle and have option to warp or cut the text also maybe change the size of fitted texts? 

This can help when creating general to use lower thirds for operators .

 
Profile Image
Aximmetry
  -  

We recommend watching this tutorial segment: 

https://youtu.be/EepHWs7PcSY?t=278 

 
Profile Image
ahmed ahmed
  -  

thank you but I didn't see anything regarding text fitting and justifying for example fit to custom boundary box.

something like this video

https://youtu.be/LsyIbTf4xAw?t=471

From 8:00 to 13:00

How to do that in aximmetry?

 
Profile Image
Aximmetry
  -  

To justify long text make sure to set Text Alignment to Justified (3) and Word Wrapping to Wrap (0) in the Text Format module’s Pin Values. Furthermore, switch Fixed Width to On in the Text Image module’s Pin Values.
It will look something like this:


 
Profile Image
ahmed ahmed
  -  

What about fit to custom boundary box case?

 
Profile Image
Aximmetry
  -  

Set Fixed Width and Fixed Height to On in Text Image. After that the Image Size will be the bounding box.

Additionally you can create a margin with Adjust Auto Size. (Despite the name it works in fixed and not fixed mode as well)

You can move the text inside the box with AdjustPosition which makes sense usually if you have a margin. 

 
Profile Image
ahmed ahmed
  -  

Can we do that using LTHIRD Text tool?


 
Profile Image
ahmed ahmed
  -  

Also How we can get these result using 3D text Tool?

 
Profile Image
Aximmetry
  -  

Not all parameters are exposed on LThird_Text, since it is for special purpose.
But feel free to open the compound up, and customize to your needs. Inside you'll find the Text Image module along its all possible parameters.

Regarding 3D, the Text Extrusion module has Bounds and Auto Bounds properties which has the same functionality.

 
Profile Image
ahmed ahmed
  -  

How to use Text Extrusion module Bounds and Auto Bounds properties?

 
Profile Image
Aximmetry
  -  

If you turn off Auto Bounds then Bound will specify a rectangle relative to the position of the Text Extrusion object. The four numbers in order: left offset, right offset, width, height, all in meters.

After that you'll be able to format the text within the rectangle in the same manner you did in the case of Text Image.
Picture it as if the image area of the Text Image were replaced by an imaginary rectangle in the 3D space.

For e.g.