ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.65k stars 312 forks source link

The first line indentation and hanging supports character units #1455

Closed Leroy-X closed 5 months ago

Leroy-X commented 6 months ago

This issue is unique.

Your idea.

The default now is to use centimeters for indentation. In my native language, the first line is usually indented by two characters. Expect character units to be used, or character units to be selected via the context menu.

Thank you so much

HectorB-2020 commented 6 months ago

The idea is not bad, though I doubt it's doable. Different characters have different width, unless you use monospace fonts. Also consider kerning which under certain circumstances can easily squeeze three symbols in the same space as two symbols usually take. Or one W could be as wide as whole word Is.

Leroy-X commented 5 months ago

Yes, this may not work for all languages, or use a monospace font like you said, here are some examples for Chinese. image

Rita-Bubnova commented 5 months ago

Duplicate of https://github.com/ONLYOFFICE/DocumentServer/issues/1282.

Leroy-X commented 5 months ago

I don't think this is a copy of #1282.

TatianaKirillova commented 5 months ago

Hello @Leroy-X! Thank you for your request! I assure you that we have correctly identified the problem. It may not be obvious, but w:docGrid support needs to be implemented. Both problems need this

Leroy-X commented 5 months ago

@TatianaKirillova Thank you for your patience in explaining, thank you very much

TatianaKirillova commented 5 months ago

@Leroy-X Contact us! We will be happy to help you!

Leroy-X commented 5 months ago

@TatianaKirillova I am trying to switch to ONLYOFFICE. Although I have encountered some problems, I am still full of expectations. Thank you very much and look forward to the future.