rio icon indicating copy to clipboard operation
rio copied to clipboard

Sarasa fonts from .ttc container not working

Open ei-grad opened this issue 3 months ago • 2 comments

Under ArchLinux with installed ttf-sarasa-gothic package, the following config:

[fonts]
size = 11
family = "Sarasa Term Slab CL"

Results in following font rendering:

Image

If I extract Sarasa Term Slab CL font variants into separate ".ttf" files and remove ttf-sarasa-gothic package, then it renders normally:

Image

Files of ttf-sarasa-gothic:

→ pacman -Ql ttf-sarasa-gothic | grep ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-Bold.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-BoldItalic.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-ExtraLight.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-ExtraLightItalic.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-Italic.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-Light.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-LightItalic.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-Regular.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-SemiBold.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-SemiBoldItalic.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-Bold.ttc
ttf-sarasa-gothic /usr/share/fonts/sarasa-gothic/Sarasa-BoldItalic.ttc

ei-grad avatar Sep 17 '25 06:09 ei-grad

hmmm, very interesting. I am surprised even the second worked because sarasa isn't monospaced right?

raphamorim avatar Sep 20 '25 11:09 raphamorim

Sarasa Term is monospaced

ei-grad avatar Sep 20 '25 11:09 ei-grad