-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Font size supports relative settings #14231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
TCOTC
added a commit
to TCOTC/Whisper
that referenced
this issue
Mar 18, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
字体大小支持相对设置
In what scenarios do you need this feature?
部分用户会使用快速调整字号这个功能,时不时放大缩小页面字号,以快速浏览文档中的大量内容或聚焦少部分内容
但当他设置了外观-字号后,再使用这个功能时就会影响其排版效果
比如我这里调大了“视觉干扰”,来表示强调(有时候也会设置部分文本字号更小来表明其是另外内容的补充说明,阅读优先级次一级)

但当我放大编辑器字号后,这种字号区别就消失了

这对于习惯了WORD类富文本编辑的用户而言非常不适,而思源相对某些笔记软件的优势就是开箱即有好上手的排版功能。对于老用户来讲有时候也会影响其笔记的阅读效果。
比如我笔记这里,我手动设置字号小的部分是对上面的补充说明,解释细节。

而我调小编辑器字号后,想快速浏览全局时,这里的排版设计效果就会变得混乱

我认为需要不管怎么缩放,这种字号大小的对比,都应该是不变的
Describe the optimal solution
用户设置字号是想和同文档的其他部分的文本形成区别和对比,所以设置字号最好使用百分比这种相对单位
这里提供几个预设的百分比数值选项,再加上个滑块让用户拖动调节百分比数值,拖动的过程中可实时看到效果
如果想功能全面一点,这里也可以手动设置px这种绝对单位的数值
Describe the candidate solution
No response
Other information
No response
The text was updated successfully, but these errors were encountered: