PipePipe icon indicating copy to clipboard operation
PipePipe copied to clipboard

[bug] bullet comment will always use first weight in a font family

Open rhjdvsgsgks opened this issue 2 years ago • 1 comments

as the title said. fonts in bullet comment will alway trying to use first weight in a font family. that will cause font too thin. it not observed in screenshot on fdroid is because android default font for cjk doesnt support multi weight (it only have 2 weight: bold and regular). you may noticed that the bold flag you setted to bullet comment not works.

and it even worse on fonts that have multi weight support. such as alphabet/number in sans-serif (you are using serif in your screenshot, and it not support multi weight). or cjk in sans-serif/serif with extra font weight module . in this case, font in bullet comment will use first weight (serif-thin), and make it completely unreadable.

i think maybe thats why someone requesting LXGW WenKai Screen . because it using bold as regular (and seems only have one weight), that make it exempt from the bug. maybe we can remove this font after fixing this bug? as it already not needed

rhjdvsgsgks avatar Jun 03 '23 18:06 rhjdvsgsgks

Thanks for your feedback. You may want to make a pr as I am not familiar with fonts. Lxgw wenkai is more attractive than the "boring" system font so it is and will still be set as the default.

InfinityLoop1308 avatar Jun 04 '23 00:06 InfinityLoop1308