ZaStoGram_desktop/Telegram
Repository files (latest commit first)
Filename Latest commit message Latest commit date
loop-uh ac377b904a Stop breaking ordinary words apart in article text
Article paragraphs wrapped in the middle of words. The logs from the
previous dev build named the cause outright: the per-grapheme breaking
in Ui::Text kicks in once a word is wider than the string's minimum
resize width, and for article body text that width was 93px — while
"сожжённых" measures 98px, "стабильную" 100px and "контринтуитивное"
98px. Every word from nine letters up crossed it, so almost every line
broke mid-word. Chat text was fine because its threshold is 195px and
only long URLs reach it.

The number comes from ReadableTextMinWidth(), four line heights. Raise
it to thirteen, about 300px. The two meanings of the value stay
consistent that way: a word that would now overflow the block is still
narrower than the narrowest the block can get, so nothing sticks out.

Tables and code blocks compute their own minimums and are untouched.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-26 22:37:48 +03:00
..
build Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
cmake Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
codegen@1996c7c61e Updated submodules for shared svg icon mask data. 2026-07-20 14:50:30 +03:00
lib_base@82d182a275 Remove no longer used xcb-screensaver library from snap 2026-07-14 12:27:38 +04:00
lib_crl@7a165302fe Update lib_crl and TooManyCooks 2026-07-06 00:37:30 +04:00
lib_lottie@f508c5facc Fork lib_ui and lib_lottie for full frame rate emoji animations 2026-07-11 19:25:37 +03:00
lib_qr@6fdf604614
lib_rpl@c57cccffb0
lib_spellcheck@1f18c1e35b Make InputField menu extension with hooks. 2026-06-23 11:40:19 +04:00
lib_storage@ccdc72548a
lib_tl@aa7791326d Validate that we have enough data in MTPvector. 2026-07-10 15:34:04 +04:00
lib_translate@09c1072622
lib_ui@76505371db Pull in the wordbreak diagnostics from lib_ui 2026-07-26 20:52:16 +03:00
lib_webrtc@52636e86ea
lib_webview@c061402a16 Update submodules. 2026-07-19 12:39:46 +04:00
Resources Name the camouflage answer instead of blaming the digest 2026-07-26 00:15:27 +03:00
shaders Fixed invisible small group call videos. 2026-06-22 11:51:49 +03:00
SourceFiles Stop breaking ordinary words apart in article text 2026-07-26 22:37:48 +03:00
Telegram Unify macOS icon in Icon name. 2026-05-25 14:07:23 +04:00
ThirdParty Fix possible crash in formula parsing. 2026-07-21 13:47:26 +04:00
CMakeLists.txt Merge remote-tracking branch 'upstream/dev' into dev 2026-07-25 17:07:59 +03:00
configure.bat
configure.py
configure.sh
create.bat
Telegram.plist