"Fit To Line" in Writer - Character - Position - Scale Width

In Writer menu/dialogue for Character - Position - Scale Width there is a tick box marked ‘Fit To Line’ which seems always greyed out. I’m using a very common font ‘Georgia’ and formatting for an 8.5" s 5.5" page size book, so micro editing the fully justified text spacing to get the best appearance. An old hand at this and use the Character Spacing in combination with Scale Width to (now!) quite quick and good effect. But always wondered what result the greyed out tick box might give me too? Anyone know about this, I can’t find any mention of it in the online help pages?

Apologies to all, should have included version info and that it’s running on W11

Version: 7.4.5.1 (x64) / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 4; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

What LibreOffice Version do you use?
It is’nt with me.


Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded

It is probably an addition in the 7.5.x series. My 7.4.5.2 has no such option.

Sorry, have added version info to original post

Apologies

Version: 7.4.5.1 (x64) / LibreOffice Community
Build ID: 9c0871452b3918c1019dde9bfac75448afc4b57f
CPU threads: 4; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded

Have you installed extensions as it appears neither @Hrbrgr nor I have this option?

I tried Help for English-USA and there isn’t an information for Fit to line. But there is for English-UK Font Position

Ah! Thanks for that, I didn’t think to look specifically in the GB locale help - getting there but as it’s greyed out I can’t test/use it yet - will try a few test docs with other common fonts as maybe Georgia doesn’t support the function…

Fit to line is there in en-US as well:

image

Also for v.6.0:

It is only active when 90 degrees or 270 degrees are selected. Its effect is that the vertical text, no matter how long, is stretched/shrinked to fit one line height.

Yes indeed, many thanks Mike and all. I had just got there by trial and error - been so fixated on line/character spacing that when I saw ‘Fit to Line’ I thought… but it does mean indeed that if you rotate by 90 or 270 you can fit selected text to the vertical space of the line - so not relevant to what I’m doing at the moment - thanks again.

@mikekaganski
This options never appears in styles (where I was looking for it). It looks like it pops to life when you direct format some selection. Is this what is intended?

That’s it exactly :+1:

@ajlittoz I am unsure about it.
First, a bit of history.
In StarOffice 5.2 (2000), the rotation options didn’t yet exist (in fact, the related character property tab didn’t exist at all, and the positioning options were partially on the Font Effects tab):

In OOo 1.0.3 (2002), it appeared, already with the option absent in style properties:

image

Now let’s look at its function. In my testing, setting this property for a text run behaves as a one-time calculation, giving a specific scale matching the selected text and current line height, but after that, not changing the scale dynamically to fit the line in changing environment: adding more characters in the middle of rotated run makes it higher (increases line height); changing the line height e.g. by modifying paragraph properties, or by setting some non-rotated characters height to a large value does not change the rotated run’s scale to fit the updated height.

Initially, that made me suspect that the feature is just a convenience “calculator” function, helping one to calculate the correct scale in a given situation, and not applicable to a style, because it is not dynamic.

However, it is saved in ODF as style:text-rotation-scale attribute. This makes it confusing. Possibly this is not behaving as it is intended to? Maybe it even regressed?

The regression guess looks to be wrong, because it behaved the same even in OOo 1.0.3. But I don’t know about the “intended behavior” part.

The code hiding the element was introduced in commits 1d6b8abf and f373b788 in 2001. They seem to not talk about “style vs. DF” case, but rather about some bug. There was one case where the fit to line control was hidden, but not the rest of the rotation controls, with some cryptic “is this value set?” comment.

Anyway, at least while the dynamic behavior is not implemented for this property, it makes no sense in the style. And IMO, it is unlikely to have much of a demand…

@mikekaganski Thanks for the explanation.
The intent is effectively not clear. As such, I agree it won’t have much demand.

Agreed, it’s quite an odd function - I can see its use in maybe poster creation perhaps and other flyers etc where you might want to use text in a rather graphic way, for example within a large font banner using the ‘vertical’ rotated text in a smaller font, that kind of thing - but it could do with being a bit clearer in the dialogue box as to the intent/use - but heh, you never know, as ever I am amazed at the creative power of LibreOffice and have used it very successfully to publish 8 or 9 books now. Thanks again to you and all for the contributions, much appreciated.